Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-13761] [ML] Remove remaining uses of validateParams #11790

Closed
wants to merge 2 commits into from

Conversation

jkbradley
Copy link
Member

What changes were proposed in this pull request?

Cleanups from [https://github.com//pull/11620]: remove remaining uses of validateParams, and put functionality into transformSchema

How was this patch tested?

Existing unit tests, modified to check using transformSchema instead of validateParams

@jkbradley
Copy link
Member Author

CC: @hhbyyh Could you please take a look at this? Thanks!

@hhbyyh
Copy link
Contributor

hhbyyh commented Mar 17, 2016

Looks good.

@@ -31,6 +32,7 @@ private[ml] trait ValidatorParams extends Params {

/**
* param for the estimator to be validated
*
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if this is intentional. But it's OK.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not intentional, just IntelliJ. I'll leave it though.

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53447 has finished for PR 11790 at commit 3f02142.

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

@jkbradley
Copy link
Member Author

@hhbyyh Thanks for reviewing it! I'll merge it with master

@asfgit asfgit closed this in b39e80d Mar 17, 2016
@jkbradley jkbradley deleted the SPARK-13761-cleanup branch March 17, 2016 20:26
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

Cleanups from [apache#11620]: remove remaining uses of validateParams, and put functionality into transformSchema

## How was this patch tested?

Existing unit tests, modified to check using transformSchema instead of validateParams

Author: Joseph K. Bradley <joseph@databricks.com>

Closes apache#11790 from jkbradley/SPARK-13761-cleanup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants