-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
DOC Add temperature scaling example #32854
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
base: main
Are you sure you want to change the base?
DOC Add temperature scaling example #32854
Conversation
|
Given that we already have so many examples, see #27151, I‘d prefer to have this here integrated into an existing one. |
|
I'll convert this back to draft and work on it. |
virchan
left a comment
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.
Ready to review! Since plot_calibration_curve.py now covers multi-class classification, we can probably remove plot_calibration_multiclass.py.
@lorentzenchr, would you like to have a look?
|
Thanks for putting in an existing example. I am a bit undecided between the one you chose "Probability Calibration curves"/plot_calibration_curve.py and "Probability Calibration for 3-class classification"/plot_calibration_multiclass.py. |
|
I agree: i think we should keep this particular example about calibration of binary classifiers because a lot of the text in the analysis that was correct for binary classification (eg monotonicity and area under the roc curve) does not carry over directly to the multiclass setting. |
Reference Issues/PRs
A follow-up to #31068 and #32809 (comment)
What does this implement/fix? Explain your changes.
This PR adds an example demonstrating the use of temperature scaling for multi-class probability calibration.
Any other comments?
Cc @lorentzenchr for visibility