Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28958 pyspark.ml function parity
  3. SPARK-29093

Remove automatically generated param setters in _shared_params_code_gen.py

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ML, PySpark
    • Hide
      In Spark 3.0, {{pyspark.ml.param.shared.Has*}} mixins do not provide any {{set*(self, value)}} setter methods anymore, use the respective {{self.set(self.*, value)}} instead. See SPARK-29093 for details.
      Show
      In Spark 3.0, {{pyspark.ml.param.shared.Has*}} mixins do not provide any {{set*(self, value)}} setter methods anymore, use the respective {{self.set(self.*, value)}} instead. See SPARK-29093 for details.

    Description

      The main difference between scala and py sides come from the automatically generated param setter in _shared_params_code_gen.py.

      To make them in sync, we should remove those setters in shared.py, and add the corresponding setters manually.

      Attachments

        Issue Links

          Activity

            People

              huaxingao Huaxin Gao
              podongfeng Ruifeng Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: