Skip to content

Conversation

@MrBago
Copy link
Contributor

@MrBago MrBago commented May 23, 2017

Changes:

pyspark.ml Estimators can take either a list of param maps or a dict of params. This change allows the CrossValidator and TrainValidationSplit Estimators to pass through lists of param maps to the underlying estimators so that those estimators can handle parallelization when appropriate (eg distributed hyper parameter tuning).

Testing:

Existing unit tests.

@MrBago
Copy link
Contributor Author

MrBago commented May 23, 2017

@jkbradley can you take a look at this.

@SparkQA
Copy link

SparkQA commented May 24, 2017

Test build #77267 has finished for PR 18077 at commit 312030d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@MrBago MrBago changed the title Delegate looping over paramMaps to estimators [SPARK-20861] Delegate looping over paramMaps to estimators May 24, 2017
@jkbradley
Copy link
Member

@MrBago Can you please add the tags "[ML][PYTHON]" to the title?

@jkbradley
Copy link
Member

Other than the tags, this LGTM

@MrBago MrBago changed the title [SPARK-20861] Delegate looping over paramMaps to estimators [SPARK-20861][ML][PYTHON] Delegate looping over paramMaps to estimators May 24, 2017
@jkbradley
Copy link
Member

Merging with master and branch-2.2 which means this will get into 2.2.0
Thanks for the quick fix!

@asfgit asfgit closed this in 9434280 May 24, 2017
asfgit pushed a commit that referenced this pull request May 24, 2017
Changes:

pyspark.ml Estimators can take either a list of param maps or a dict of params. This change allows the CrossValidator and TrainValidationSplit Estimators to pass through lists of param maps to the underlying estimators so that those estimators can handle parallelization when appropriate (eg distributed hyper parameter tuning).

Testing:

Existing unit tests.

Author: Bago Amirbekian <[email protected]>

Closes #18077 from MrBago/delegate_params.

(cherry picked from commit 9434280)
Signed-off-by: Joseph K. Bradley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants