You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2015/05/04 03:08:05 UTC

[jira] [Resolved] (SPARK-7329) Use itertools.product in ParamGridBuilder

     [ https://issues.apache.org/jira/browse/SPARK-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiangrui Meng resolved SPARK-7329.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Issue resolved by pull request 5873
[https://github.com/apache/spark/pull/5873]

> 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: Xiangrui Meng
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org