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”)
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”)