Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC Better UG for calibration #16175

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 12 commits into from
Jan 29, 2020
Merged

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Jan 21, 2020

This PR updates the UG to:

  • explain how calibration works
  • explain usage of the CalibratedClassifierCV
  • Link to the examples instead of purely copy/paste them
  • add a bunch of important details here and there

@NicolasHug NicolasHug changed the title [WIP] DOC Better UG for calibration [MRG] DOC Better UG for calibration Jan 22, 2020
@NicolasHug
Copy link
Member Author

Now ready for reviews @adrinjalali @qinhanmin2014 @thomasjpfan @glemaitre

(when reviewing, checking the rendered UG docs might be easier than looking at the diff)

@glemaitre
Copy link
Member

The failure is due to the fact that the reference added is not present in the text. I think this is better as you did now but you could reference the article at the right position this could be great.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments otherwise LGTM. It's indeed easier to look at the rendered doc rather than at diff for calibration.rst.


.. topic:: References:

* Obtaining calibrated probability estimates from decision trees
and naive Bayesian classifiers, B. Zadrozny & C. Elkan, ICML 2001
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this one missing below?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it because I didn't see any relevant place where to link to this ref. I don't think we use the techniques described in this paper anywhere in the code, so adding it is just noise.

side note, @glemaitre suggested to unify the refs using the .. [X] blahblah format, and when using this format, all refs need to be linked to, otherwise our CI complains.

NicolasHug and others added 2 commits January 24, 2020 07:13
@NicolasHug
Copy link
Member Author

Thanks for the reviews @glemaitre @rth , is this good to go?

(I'd like to get it merged so I can review #16167 more easily)

CI failure is unrelated

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rth
Copy link
Member

rth commented Jan 29, 2020

Merging thanks @NicolasHug !

@rth rth changed the title [MRG] DOC Better UG for calibration DOC Better UG for calibration Jan 29, 2020
@rth rth merged commit 6a27d4d into scikit-learn:master Jan 29, 2020
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 22, 2020
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants