Skip to content

DOC Use from_cv_results in plot_roc_crossval.py #31455

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 3 commits into from
Jun 2, 2025

Conversation

lucyleeow
Copy link
Member

Reference Issues/PRs

Follow up to #30399

What does this implement/fix? Explain your changes.

I have only made code changes to use from_cv_results (the plot should look exactly the same). I am conscious there is a very nice PR improving that example here #29611, so I did not want to change the text / alter the plot. Sorry for the merge conflicts @ArturoAmorQ (I would be happy to fix them if that helps)

cc @glemaitre

Any other comments?

Copy link

github-actions bot commented May 30, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: c403b1c. Link to the linter CI: here

Copy link
Member

@ArturoAmorQ ArturoAmorQ left a comment

Choose a reason for hiding this comment

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

Thanks @lucyleeow, LGTM! But I think it's worth adding a short sentence highlighting that we plot the RocCurveDisplay using the precomputed cv_results.

@lucyleeow
Copy link
Member Author

Thanks @ArturoAmorQ ! Done, hopefully it reads okay.

Copy link
Member

@glemaitre glemaitre 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 @lucyleeow

@glemaitre glemaitre merged commit 6343cd7 into scikit-learn:main Jun 2, 2025
36 checks passed
@lucyleeow lucyleeow deleted the doc_cv_result_example branch June 2, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants