Repository navigation
Conversation
ogrisel
commented
Dec 11, 2025
| ( | ||
| RidgeClassifier(), | ||
| 3, | ||
| ["accuracy"], |
Member
Author
There was a problem hiding this comment.
I would like to add "roc_auc" or "average_precision" here, but they do not yet support array API at this time: #26024.
Member
Author
lucyleeow
reviewed
Dec 12, 2025
ogrisel
commented
Dec 24, 2025
ogrisel
force-pushed
the
array-api-integration-test
branch
from
March 6, 2026 15:16
eeedaf4 to
2de2ad3
Compare
ogrisel
commented
Mar 6, 2026
| ( | ||
| RidgeClassifier(), | ||
| 3, | ||
| ["accuracy", "average_precision"], |
Member
Author
There was a problem hiding this comment.
Note to reviewers: I had to include the fix of #33473 in anticipation in this PR to get this to work.
betatim
reviewed
Mar 17, 2026
| _accept_sparse = _get_valid_accept_sparse(sparse.issparse(X), self.solver) | ||
| xp, _ = get_namespace(X, y, sample_weight) | ||
| xp, _, device = get_namespace_and_device(X) | ||
| # XXX: shall we factor the move_to calls into the validate_data helper? |
Member
There was a problem hiding this comment.
I think we discussed this in the original PR and decided not to. But I don't recall the reasoning.
2 of 4 tasks
Member
Author
|
The tests fail because of a problem related to #33515 (comment). Not sure how to deal with this. I probably won't have time to work on this further in the coming days. Feel free to push to my PR if you want to experiment with a possible solution for this. |
4 tasks
cursor Bot
pushed a commit
to ogrisel/scikit-learn
that referenced
this pull request
Aug 27, 2026
Remove the standalone test added from scikit-learn#32873 and assert that an invalid pos_label is ignored on the existing multiclass _get_response_values coverage. Co-authored-by: Olivier Grisel <[email protected]>
This was referenced Aug 27, 2026
Member
Author
|
Closing in favor of #34824. |
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.
I think this kind of test would have help identify some of the problem discovered during the release process earlier.
Note that it still fails because
RidgeandLinearDiscriminantAnalysisstill do not accept mixed-array inputs (see #28668).Not sure if we should fix that here or in a PR that introduces a common test for that particular problem.
EDIT: I started to push a fix for the regression case to investigate all the possibly cascading bugs to fix (hiding one after the other). For the regression case we need both #28668 and #32755 and this is enough.
For classification, it seems that there is extra work needed in the private scorer code on top of updating the classifier and the metrics functions themselves.