When using pyspark node to build custom models, how can I push the metrics and any other information I want to print and display on screen to the UI.
Hey Chris, It can be done as shown below in the pyspark node. The code pushes the R2 metric to the Sparkflows UI
r2 = 95.2
workflowContext.outStr(3,"R2:"+str(r2),"names")