xifeng created SPARK-34740:
------------------------------

             Summary: can class pyspark.mllib.evaluation.RegressionMetrics() 
accept DataFrame as the parameter?
                 Key: SPARK-34740
                 URL: https://issues.apache.org/jira/browse/SPARK-34740
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
    Affects Versions: 2.4.6
            Reporter: xifeng


class pyspark.mllib.evaluation.RegressionMetrics(predictionAndObservations) can 
only accept  an RDD of (prediction, observation) pairs as the parameter.

Can it also accept the DataFrame as the parameter? Which would be much more 
convenient.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to