Skip to content

DOC Clarify splitter criteria in Random Forest and Decision Tree - #32416

Merged
lesteve merged 2 commits into
scikit-learn:mainfrom
ArturoAmorQ:split_criterion
Oct 16, 2025
Merged

lesteve merged 2 commits into
scikit-learn:mainfrom
ArturoAmorQ:split_criterion

Conversation

@ArturoAmorQ

Copy link
Copy Markdown
Member

Reference Issues/PRs

Fixes #27159.

What does this implement/fix? Explain your changes.

Addresses the last two points in #27159 (comment), namely:

  • Improve the user guide for Random Forest to mention that they use the best splitter when growing the underlying decision trees.
  • Improve the user guide for Decision Trees to explain the difference between best/random search.

Any other comments?

I took the opportunity to improve a bit the wording for clarity and a better progression of concepts.

@github-actions

github-actions Bot commented Oct 7, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

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

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

@virchan virchan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thanks, @ArturoAmorQ!

@virchan virchan added Quick Review For PRs that are quick to review Waiting for Second Reviewer First reviewer is done, need a second one! labels Oct 8, 2025

@lesteve lesteve left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@lesteve
lesteve merged commit 0c27a07 into scikit-learn:main Oct 16, 2025
@ArturoAmorQ
ArturoAmorQ deleted the split_criterion branch October 16, 2025 07:59
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 Waiting for Second Reviewer First reviewer is done, need a second one!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RandomForest{Classifier,Regressor} split criterion documentation

3 participants