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

Use itertools.product in ParamGridBuilder

    XMLWordPrintableJSON

Details

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

    Description

      justinuang suggested the following on https://github.com/apache/spark/pull/5601:

      [dict(zip(self._param_grid.keys(), prod)) for prod in itertools.product(*self._param_grid.values())]
      

      Attachments

        Activity

          People

            mengxr Xiangrui Meng
            mengxr Xiangrui Meng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: