Skip to content

Conversation

@oefirouz
Copy link

No description provided.

@ash211
Copy link
Contributor

ash211 commented Apr 21, 2015

Jenkins this is ok to test

@SparkQA
Copy link

SparkQA commented Apr 21, 2015

Test build #30616 has finished for PR 5601 at commit 8b8a6d2.

  • This patch fails Python style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):
  • This patch does not change any dependencies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return self so this could be chained.

@SparkQA
Copy link

SparkQA commented Apr 21, 2015

Test build #30630 has finished for PR 5601 at commit 9a8ce22.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):
  • This patch does not change any dependencies.

@SparkQA
Copy link

SparkQA commented Apr 21, 2015

Test build #30647 has finished for PR 5601 at commit c9e2481.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):
  • This patch does not change any dependencies.

@oefirouz
Copy link
Author

Friendly bump for more comments :)

@mengxr
Copy link
Contributor

mengxr commented Apr 29, 2015

It looks good to me. We need to run Jenkins again to make sure it doesn't conflict with recent changes to the pipeline API.

@mengxr
Copy link
Contributor

mengxr commented Apr 29, 2015

test this please

@SparkQA
Copy link

SparkQA commented Apr 29, 2015

Test build #31312 has finished for PR 5601 at commit c9e2481.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):
  • This patch does not change any dependencies.

@mengxr
Copy link
Contributor

mengxr commented Apr 30, 2015

test this please

@SparkQA
Copy link

SparkQA commented Apr 30, 2015

Test build #31457 has finished for PR 5601 at commit c9e2481.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):
  • This patch does not change any dependencies.

@oefirouz
Copy link
Author

oefirouz commented May 1, 2015

Should I rebase and update this? I'm not sure why the build is failing.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider doing this

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

To avoid the overhead of lots of dictionary copies.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on this. Should we move self._param_grid.keys()/values() out for readability?

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

@justinuang
Copy link

Yea, you should try rebasing. It looks like you're not the only one running into this.

https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31639/console

@mengxr
Copy link
Contributor

mengxr commented May 3, 2015

test this please

@SparkQA
Copy link

SparkQA commented May 3, 2015

Test build #31692 has finished for PR 5601 at commit c9e2481.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class ParamGridBuilder(object):

@mengxr
Copy link
Contributor

mengxr commented May 3, 2015

LGTM. I've merged this into master and I'll send a follow-up PR to implement what @justinuang suggested.

@asfgit asfgit closed this in f4af925 May 3, 2015
asfgit pushed a commit that referenced this pull request May 4, 2015
as suggested by justinuang on #5601.

Author: Xiangrui Meng <[email protected]>

Closes #5873 from mengxr/SPARK-7329 and squashes the following commits:

d08f9cf [Xiangrui Meng] simplify tests
b7a7b9b [Xiangrui Meng] simplify grid build
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 28, 2015
Author: Omede Firouz <[email protected]>
Author: Omede <[email protected]>

Closes apache#5601 from oefirouz/paramgrid and squashes the following commits:

c9e2481 [Omede Firouz] Make test a doctest
9a8ce22 [Omede] Fix linter issues
8b8a6d2 [Omede Firouz] [SPARK-7022][PySpark][ML] Add ML.Tuning.ParamGridBuilder to PySpark
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request May 28, 2015
as suggested by justinuang on apache#5601.

Author: Xiangrui Meng <[email protected]>

Closes apache#5873 from mengxr/SPARK-7329 and squashes the following commits:

d08f9cf [Xiangrui Meng] simplify tests
b7a7b9b [Xiangrui Meng] simplify grid build
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
Author: Omede Firouz <[email protected]>
Author: Omede <[email protected]>

Closes apache#5601 from oefirouz/paramgrid and squashes the following commits:

c9e2481 [Omede Firouz] Make test a doctest
9a8ce22 [Omede] Fix linter issues
8b8a6d2 [Omede Firouz] [SPARK-7022][PySpark][ML] Add ML.Tuning.ParamGridBuilder to PySpark
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
as suggested by justinuang on apache#5601.

Author: Xiangrui Meng <[email protected]>

Closes apache#5873 from mengxr/SPARK-7329 and squashes the following commits:

d08f9cf [Xiangrui Meng] simplify tests
b7a7b9b [Xiangrui Meng] simplify grid build
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
Author: Omede Firouz <[email protected]>
Author: Omede <[email protected]>

Closes apache#5601 from oefirouz/paramgrid and squashes the following commits:

c9e2481 [Omede Firouz] Make test a doctest
9a8ce22 [Omede] Fix linter issues
8b8a6d2 [Omede Firouz] [SPARK-7022][PySpark][ML] Add ML.Tuning.ParamGridBuilder to PySpark
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
as suggested by justinuang on apache#5601.

Author: Xiangrui Meng <[email protected]>

Closes apache#5873 from mengxr/SPARK-7329 and squashes the following commits:

d08f9cf [Xiangrui Meng] simplify tests
b7a7b9b [Xiangrui Meng] simplify grid build
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.

5 participants