-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-30493][PYTHON][ML] Remove OneVsRestModel setClassifier, setLabelCol and setWeightCol methods #27181
Conversation
Test build #116574 has finished for PR 27181 at commit
|
Test build #116576 has finished for PR 27181 at commit
|
|
Is it really? Doesn't seem like Scala counterpart has one. And ignoring that ‒ when would a |
|
Test build #116579 has finished for PR 27181 at commit
|
actually, should use |
Shouldn't |
Yes, I think |
Test build #116581 has finished for PR 27181 at commit
|
@zero323, please keep and follow the PR template - https://github.com/apache/spark/blob/master/.github/PULL_REQUEST_TEMPLATE |
looks reasonably straightforward |
@zhengruifeng Yes. These setters can be removed. The internal methods can use |
Before merging it, can we update PR description properly please? It's best to avoid having bad PR examples. |
Merged to master, thanks all! |
Sorry @HyukjinKwon, it felt more like a follow-up / cleanup, than a full proposal. |
FYI I've opened SPARK-30504. |
What changes were proposed in this pull request?
Removal of
OneVsRestModel.setClassifier
,OneVsRestModel.setLabelCol
andOneVsRestModel.setWeightCol
methods.Why are the changes needed?
Aforementioned methods shouldn't by included by SPARK-29093, as they're not present in Scala
OneVsRestModel
and have no practical application.Does this PR introduce any user-facing change?
Not beyond scope of SPARK-29093].
How was this patch tested?
Existing tests.
CC @huaxingao @zhengruifeng