-
-
Notifications
You must be signed in to change notification settings - Fork 26k
DOC Improve multiclass calibration example #18763
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
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.
Besides the following comment, LGTM. Thanks @lucyleeow!
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.
This looks good!
One minor comment on the figure description
# Below we plot a 2-simplex with arrows showing the change in predicted | ||
# probabilities of the test samples. Each vertex of the simplex represents | ||
# a perfectly predicted class (e.g., 1, 0, 0). The mid point | ||
# inside the simplex represents predicting the three classes with equal | ||
# probability (i.e., 1/3, 1/3, 1/3). Each arrow starts at the |
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.
While reading this, I find myself needing to sroll back and forth through the large code block to see the figure. Would moving some of this paragraph below the image and reference the image as "In the figure above" be okay here?
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, hopefully this is better
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.
A few more comments, otherwise LGTM
# Data | ||
# ---- |
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.
This isn't rendering as a header, should we do the following instead?
# Data | |
# ---- | |
# %% | |
# Data | |
# ---- |
Thanks @thomasjpfan , changes made. |
Reference Issues/PRs
Follows on from and closes #18729
What does this implement/fix? Explain your changes.
Make notebook style and expand explanations.
Any other comments?
cc @ogrisel @glemaitre