-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DEP deprecate loss_function_ attribute in SGDClassifier and SGDOneClassSVM #27979
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
DEP deprecate loss_function_ attribute in SGDClassifier and SGDOneClassSVM #27979
Conversation
@glemaitre @lesteve @jeremiedbb @jjerphan As we won't rush 1.4. anyway, could we get this deprecation in? 🙏 |
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.
Thank you, @lorentzenchr.
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.
LGTM. I just pushed a few changes for consistency in version numbers
@jjerphan @jeremiedbb Thanks for the quick review! |
Reference Issues/PRs
Helps with #15123 for SGD.
What does this implement/fix? Explain your changes.
Deprecate the attribute
loss_function_
that accesses a Cython extension class inSGDClassifier
andSGDOneClassSVM
.Any other comments?
Let's try to include it in 1.4.