Skip to content

Conversation

@yanboliang
Copy link
Contributor

What changes were proposed in this pull request?

Audit new APIs and docs in 2.3.0.

How was this patch tested?

No test.

@SparkQA
Copy link

SparkQA commented Jan 31, 2018

Test build #86889 has finished for PR 20459 at commit c24cc14.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For this and the followings who added before 2.2, this involves breaking change in a way, but I think we should keep them final to prevent being changed(as we did for other param variables). cc @MLnick @WeichenXu123

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm more prefer to mark them as non final, since if user want to extend these estimators they would be able to override handleInvalid to define their own handleInvalid valid values (through doc parameter of Param class constructor) , this is different from other classes. What do you think of it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fair enough. I will leave handleInvalid in all estimators non-final.

@SparkQA
Copy link

SparkQA commented Feb 1, 2018

Test build #86891 has finished for PR 20459 at commit 407cd80.

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

@SparkQA
Copy link

SparkQA commented Feb 1, 2018

Test build #86903 has finished for PR 20459 at commit b8c6c19.

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

asfgit pushed a commit that referenced this pull request Feb 1, 2018
## What changes were proposed in this pull request?
Audit new APIs and docs in 2.3.0.

## How was this patch tested?
No test.

Author: Yanbo Liang <[email protected]>

Closes #20459 from yanboliang/SPARK-23107.

(cherry picked from commit e15da5b)
Signed-off-by: Nick Pentreath <[email protected]>
@MLnick
Copy link
Contributor

MLnick commented Feb 1, 2018

Merged to master / branch-2.3. Thanks @yanboliang !

@asfgit asfgit closed this in e15da5b Feb 1, 2018
@yanboliang yanboliang deleted the SPARK-23107 branch February 1, 2018 18:51
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