-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
ENH: Make roc_curve array API compatible #30878
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
Merged
+171
−54
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
4ba176c
ENH: Make roc_curve array API compatible
lithomas1 b7992cc
add whatsnew
lithomas1 8d2d989
Merge branch 'main' of github.com:scikit-learn/scikit-learn into roc-…
lithomas1 54892c0
try to fix for oldest numpy
lithomas1 e87c6f8
fix argsort for old numpy
lithomas1 0980486
update following code review
lithomas1 07a910a
fix mps
lithomas1 619b54d
Apply suggestions from code review
lithomas1 5322d94
Merge branch 'main' into roc-curve
lithomas1 df7bf52
fix tests
lithomas1 0e3b7f9
Merge branch 'main' into roc-curve
lithomas1 bdcd3ef
Apply suggestions from code review
lithomas1 11358ad
remove spurious TODO
lithomas1 4ce3251
Merge branch 'main' of github.com:scikit-learn/scikit-learn into roc-…
lithomas1 844fa49
fixes from code review
lithomas1 714b3b0
Merge branch 'main' into roc-curve
lithomas1 4ecafc3
Use indexing rather than xp.take
lesteve 2c0b1fb
Merge branch 'main' of github.com:scikit-learn/scikit-learn into roc-…
lithomas1 dd066b9
add tests and address comments
lithomas1 27b16c0
address feedback
lithomas1 b267e23
Address comments
lithomas1 1a8f317
Merge branch 'main' into roc-curve
lithomas1 eb608fa
Missing device call
lithomas1 4b12ebe
address comments
lithomas1 6e39e9b
Merge branch 'main' into roc-curve
lithomas1 ca90e82
fix CI
lithomas1 92dc114
Update sklearn/utils/tests/test_extmath.py
OmarManzoor 3666012
Merge branch 'main' into roc-curve
OmarManzoor 37e64be
Use xp.cumulative_sum and add a non regression test for roc_curve pre…
OmarManzoor 2ceae95
Update sklearn/metrics/_ranking.py
OmarManzoor 70c5582
Update sklearn/metrics/tests/test_common.py
OmarManzoor e3cea0f
Remove slow test
OmarManzoor dbdfbd5
Merge branch 'main' into roc-curve
OmarManzoor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- :func:`sklearn.metrics.roc_curve` now supports Array API compatible inputs. | ||
By :user:`Thomas Li <lithomas1>` |
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
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
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
OmarManzoor marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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.
Uh oh!
There was an error while loading. Please reload this page.