PySpark - mean function -
i have problem mean function in pyspark. tried applying mean function follow
*mse = rdd.map(lambda x : (x[2]-predictedrating(x,p,q))**2).mean()* where preditecrating function declared before, never ends , tells me stuck @ mean(). don't understand why doesn't work?
thank help!
Comments
Post a Comment