Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34740

can class pyspark.mllib.evaluation.RegressionMetrics() accept DataFrame as the parameter?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 2.4.6
    • None
    • MLlib
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dennisli xifeng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: