Skip to content

DOC Update warm start example in ensemble user guide #28998

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 2 commits into from
May 13, 2024

Conversation

lucyleeow
Copy link
Member

@lucyleeow lucyleeow commented May 11, 2024

Reference Issues/PRs

What does this implement/fix? Explain your changes.

The warm start example in ensemble.rst is a continuation from the regression example above. The regression example is now hidden in a dropdown, so its not immediately obvious what est is and that n_estimators was initially set to 100. Also even when the regression section is expanded, the code example is not immediately above (there is a plot).

This section is also linked to in docstrings (#24579) so some users are sent directly here, without reading above.

This copies the regression example to the start, so the code block is runnable in isolation.

There is now a bit of repetition, but couldn't think of a better solution, happy to change though.

Any other comments?

Copy link

github-actions bot commented May 11, 2024

✔️ Linting Passed

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

Generated for commit: 4d8124f. Link to the linter CI: here

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@thomasjpfan thomasjpfan added the Quick Review For PRs that are quick to review label May 12, 2024
@adrinjalali adrinjalali merged commit c3d4c51 into scikit-learn:main May 13, 2024
33 checks passed
@lucyleeow lucyleeow deleted the doc_warm_boost branch May 13, 2024 08:51
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request May 20, 2024
@jeremiedbb jeremiedbb mentioned this pull request May 20, 2024
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants