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

make CrossValidator/TrainValidateSplit/OneVsRest Reader/Writer support Python backend estimator/evaluator

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: ML, PySpark
    • Labels:
      None

      Description

      Currently, pyspark support third-party library to define python backend estimator/evaluator, i.e., estimator that inherit `Estimator` instead of `JavaEstimator`, and only can be used in pyspark.

      CrossValidator and TrainValidateSplit support tuning these python backend estimator,
      but cannot support saving/load, becase CrossValidator and TrainValidateSplit writer implementation is use JavaMLWriter, which require to convert nested estimator and evaluator into java instance.

      OneVsRest saving/load now only support java backend classifier due to similar issue.

        Attachments

          Activity

            People

            • Assignee:
              weichenxu123 Weichen Xu
              Reporter:
              weichenxu123 Weichen Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: