[
https://issues.apache.org/jira/browse/SPARK-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-7329:
-----------------------------------
Assignee: Apache Spark (was: Xiangrui Meng)
> Use itertools.product in ParamGridBuilder
> -----------------------------------------
>
> Key: SPARK-7329
> URL: https://issues.apache.org/jira/browse/SPARK-7329
> Project: Spark
> Issue Type: Improvement
> Components: ML, PySpark
> Affects Versions: 1.4.0
> Reporter: Xiangrui Meng
> Assignee: Apache Spark
> Priority: Minor
>
> justinuang suggested the following on
> https://github.com/apache/spark/pull/5601:
> {code}
> [dict(zip(self._param_grid.keys(), prod)) for prod in
> itertools.product(*self._param_grid.values())]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]