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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: ML, PySpark
    • Labels:
    • Docs Text:
      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

              • Assignee:
                huaxingao Huaxin Gao
                Reporter:
                podongfeng zhengruifeng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: