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

PySpark Cleanup of _setDefault with seed=None

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML, PySpark
    • None

    Description

      Several places in PySpark ML have Params._setDefault with a seed param equal to None. This is unnecessary as it will translate to a 0 even though the param has a fixed value based by on the hashed classname by default. Currently, the ALS doc test output depends on this happening and would be more clear and stable if it was explicitly set to 0. These should be cleaned up for stability and consistency.

      Attachments

        Issue Links

          Activity

            People

              bryanc Bryan Cutler
              bryanc Bryan Cutler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: