-
-
Notifications
You must be signed in to change notification settings - Fork 26.2k
DEP calibration_curve normalize parameter in calibration.py #23095
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
DEP calibration_curve normalize parameter in calibration.py #23095
Conversation
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.
We should add a new unit test that checks that we raise the proper FutureWarning
if normalize != "deprecated"
.
In addition to checking the message, we can still make sure that normalize=True
and normalize=False
still lead to the expected results. We will remove this test in 1.3.
…ecate_calibration_curve_normalize
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…ilke/scikit-learn into deprecate_calibration_curve_normalize
…ecate_calibration_curve_normalize
…ecate_calibration_curve_normalize
…ecate_calibration_curve_normalize
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.
Thanks LGTM
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.
Thank you for the PR!
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
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.
One more doc comment, otherwise LGTM
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
…earn#23095) Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com> Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Reference Issues/PRs
Close #22482
What does this implement/fix? Explain your changes.
Deprecates the normalize parameter of
calibration_curve
in calibration.py in accordance with the guidelines.