-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
FIX select the probability estimates or transform the decision values when pos_label is provided #18114
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
Merged
FIX select the probability estimates or transform the decision values when pos_label is provided #18114
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a565589
TST wip
glemaitre 6c0db49
TST wip
glemaitre c41e999
TST wip
glemaitre f53f833
TST PEP8 + comments
glemaitre dd4e9fe
TST force to use predict_proba as well
glemaitre e32cfa7
DOC add whats + PEP8
glemaitre 07915e9
TST add some tolerance since the average of squared in diff ordered
glemaitre fc1c422
STY add better error message and refactor code
glemaitre aa5cd16
fix
glemaitre a669ecf
fix
glemaitre a477e7b
Update sklearn/metrics/tests/test_score_objects.py
glemaitre 09b47bb
add test for PredictScorer
glemaitre 42e7f00
apply olivier suggestions
glemaitre e9d7873
use list
glemaitre 7025768
fix
glemaitre 536753f
fix
glemaitre 6a12a1f
PEP8
glemaitre 38fc931
Merge branch 'master' into is/scorer_pos_label
glemaitre 40b3d0d
itter
glemaitre c2b97b5
iter
glemaitre eb18c83
iter
glemaitre e9f608d
iter
glemaitre e612795
Merge remote-tracking branch 'origin/master' into is/scorer_pos_label
glemaitre fc86836
Merge remote-tracking branch 'glemaitre/is/scorer_pos_label' into is/…
glemaitre 59a3e8f
iter
glemaitre bbe0e93
only select probab in the binary case
glemaitre 98a745c
add small comment
glemaitre 19423af
add assert suggested by ogrisel
glemaitre ab30367
iter
glemaitre 89c04f0
avoid warning
glemaitre b3b0bfd
Update sklearn/metrics/tests/test_score_objects.py
glemaitre a8d2c29
iter
glemaitre 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
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.