-
-
Notifications
You must be signed in to change notification settings - Fork 26k
y_min y_max resolved #10981
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
Closed
Closed
y_min y_max resolved #10981
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
15cb9d4
y_min y_max resolved
aishgrt1 ba0166b
test added for issue 10903
aishgrt1 08f4fbf
y_min y_max None condition changed
aishgrt1 a05d538
Update test_isotonic.py
aishgrt1 ae8a084
Update isotonic.py
aishgrt1 fe91f8c
Update calibration.py
aishgrt1 25ed665
Update isotonic.py
aishgrt1 8056cf5
Update calibration.py
aishgrt1 cda15d3
Update isotonic.py
aishgrt1 6573977
Update calibration.py
aishgrt1 feb68fc
Update test_isotonic.py
aishgrt1 9f68ce3
Update test_calibration.py
aishgrt1 987ef70
Update test_calibration.py
aishgrt1 4b93c33
Update test_calibration.py
aishgrt1 5c08dd9
np.clip used
aishgrt1 2d528e0
np.clip used
aishgrt1 9544f15
clipping proba value contribution added
aishgrt1 8ac986c
Update v0.20.rst
aishgrt1 987789f
Update calibration.py
aishgrt1 f96065f
Update calibration.py
aishgrt1 59d592b
Update calibration.py
aishgrt1 513a660
Update calibration.py
aishgrt1 73a3741
Update calibration.py
aishgrt1 3a36ed2
Update calibration.py
aishgrt1 5024bc6
data for test_calibration
aishgrt1 a1aab51
data for test_calibration
aishgrt1 be0f297
Update test_calibration.py
aishgrt1 ae66912
Update test_calibration.py
aishgrt1 50e68d3
Update test_calibration.py
aishgrt1 812ecd0
Update test_calibration.py
aishgrt1 2041182
Update test_calibration.py
aishgrt1 2eef8ea
Update calibration.rst
aishgrt1 3ddec45
Update calibration.rst
aishgrt1 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 |
---|---|---|
|
@@ -141,6 +141,15 @@ Classifiers and regressors | |
- :class:`dummy.DummyClassifier` and :class:`dummy.DummyRegresssor` now | ||
only require X to be an object with finite length or shape. | ||
:issue:`9832` by :user:`Vrishank Bhardwaj <vrishank97>`. | ||
|
||
- :class:`neighbors.RadiusNeighborsRegressor` and | ||
:class:`neighbors.RadiusNeighborsClassifier` are now | ||
parallelized according to ``n_jobs`` regardless of ``algorithm``. | ||
:issue:`8003` by :user:`Joël Billaud <recamshak>`. | ||
|
||
- Clipped the values of proba between [0,1] in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The repetition of [0,1] is confusing |
||
:class:`calibration` for probability values to lie between [0,1]. | ||
:issue: `10903` by :user:`Aishwarya Srinivasan <aishgrt1>`. | ||
|
||
Cluster | ||
|
||
|
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 |
---|---|---|
|
@@ -388,8 +388,8 @@ def predict_proba(self, X): | |
# XXX : for some reason all probas can be 0 | ||
proba[np.isnan(proba)] = 1. / n_classes | ||
|
||
# Deal with cases where the predicted probability minimally exceeds 1.0 | ||
proba[(1.0 < proba) & (proba <= 1.0 + 1e-5)] = 1.0 | ||
proba[proba > 1.0] = 1.0 | ||
proba[proba < 0.0] = 0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure why that line was checking for the eps here. Can you check who wrote that and ping them? |
||
|
||
return proba | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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.
The first seems like a rebase issue.