-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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-28780][ML][2.3] deprecate LinearSVCModel.setWeightCol #25546
[SPARK-28780][ML][2.3] deprecate LinearSVCModel.setWeightCol #25546
Conversation
friendly ping @dongjoon-hyun @srowen |
Test build #109545 has finished for PR 25546 at commit
|
Test build #109546 has finished for PR 25546 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be consistent with 2.4 backporting PR, @zhengruifeng .
Test build #109559 has finished for PR 25546 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Merged to branch-2.3
.
cc @kiszk since he is a release manager of 2.3.4.
### What changes were proposed in this pull request? deprecate `LinearSVCModel.setWeightCol`, and make it a no-op ### Why are the changes needed? `LinearSVCModel` should not provide this setter, moreover, this method is wrongly defined. ### Does this PR introduce any user-facing change? no, this method is only deprecated ### How was this patch tested? existing suites Closes #25546 from zhengruifeng/svc_model_deprecate_setWeight. Authored-by: zhengruifeng <ruifengz@foxmail.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep that looks fine.
What changes were proposed in this pull request?
deprecate
LinearSVCModel.setWeightCol
, and make it a no-opWhy are the changes needed?
LinearSVCModel
should not provide this setter, moreover, this method is wrongly defined.Does this PR introduce any user-facing change?
no, this method is only deprecated
How was this patch tested?
existing suites