-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MNT replace Cython loss functions in SGD part 1 #27999
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
MNT replace Cython loss functions in SGD part 1 #27999
Conversation
e65ed41
to
df4bdca
Compare
Can you write a high level summary of your three PRs in an issue? I'm guessing you are waiting for Technically, we can make the switch over to the |
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.
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. Thanks @lorentzenchr
Reference Issues/PRs
Towards #15123.
What does this implement/fix? Explain your changes.
This PR merely changes the order of Cython arguments to align with the ones in the
sklearn._loss
module.Any other comments?
Note that
SGDClassifier
andSGDOneClassSVM
have an attributeloss_function_
that exposes the Cython extension type. Those attributes are depcrecated as of 1.4, see #27979.This PR does not change the Python API of those
loss_function_
, only the Cython arguments which I would argue, are not part of the Python API.