Repository navigation
Conversation
mainly name changes: - loss(..) -> cy_loss(..) - dloss(..) -> cy_gradient(..)
Member
Author
|
asv benchmarks |
Member
Author
|
The failing tests seem to be caused by #28046. |
Member
|
There are conflict to resolve before being able to confirm if the merge of #28046 makes the tests pass. |
Contributor
|
@lorentzenchr would it be okay if I work on these PRs to take them forward? |
OmarManzoor
approved these changes
Jul 19, 2024
Contributor
There was a problem hiding this comment.
LGTM. Thank you @lorentzenchr
The tests are passing and the benchmarks show no regression.
jjerphan
approved these changes
Jul 23, 2024
| @@ -1,26 +0,0 @@ | |||
| # SPDX-License-Identifier: BSD-3-Clause | |||
Member
There was a problem hiding this comment.
Let's assume no other external project was using those functions.
Contributor
|
Thanks for the review Julien. I fixed the typo. I'll let you merge after having another look. |
MarcBresson
pushed a commit
to MarcBresson/scikit-learn
that referenced
this pull request
Sep 2, 2024
Co-authored-by: Omar Salman <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
Follow-up of #27999 (which needs to be merged first). Partly addresses #15123.
What does this implement/fix? Explain your changes.
This PR replaces the Cython loss functions of SGD and SAGA with the ones from
_loss(SquaredLoss, Huber, LogLoss) and inherits from_loss._loss.CyLossFunctionfor the remaining ones (Hinge, ..., and Multinomial).Also, the loss functions form
sklearn.linear_model.__init__are removed.Any other comments?
Only merge after release 1.5, i.e. this PR is to be released with v1.6.