Skip to content

Conversation

@PhillHenry
Copy link
Contributor

Missing Python example file for [SPARK-34415][ML] Randomization in hyperparameter optimization
(#31535)

What changes were proposed in this pull request?

For some reason (probably me being silly) a examples/src/main/python/ml/model_selection_random_hyperparameters_example.py was not pushed in a previous PR.
This PR restores that file.

Why are the changes needed?

A single file (examples/src/main/python/ml/model_selection_random_hyperparameters_example.py) that should have been pushed as part of SPARK-34415 but was not. This was causing Lint errors as highlighted by @dongjoon-hyun. Consequently, @srowen asked for a new PR.

Does this PR introduce any user-facing change?

No, it merely restores a file that was overlook in SPARK-34415.

How was this patch tested?

By running:
bin/spark-submit examples/src/main/python/ml/model_selection_random_hyperparameters_example.py

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

Looks good. I'll merge when the tests pass.

@srowen
Copy link
Member

srowen commented Feb 28, 2021

Jenkins test this please

@SparkQA
Copy link

SparkQA commented Feb 28, 2021

Test build #135568 has finished for PR 31687 at commit 12b0728.

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

@srowen
Copy link
Member

srowen commented Feb 28, 2021

Merged to master to fix the linter. Thanks!

@SparkQA
Copy link

SparkQA commented Feb 28, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40149/

@SparkQA
Copy link

SparkQA commented Mar 1, 2021

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40149/

@dongjoon-hyun
Copy link
Member

+1, LGTM. Thank you, @PhillHenry and @srowen .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants