Skip to content

DOC fix monotonic_cst docstring inconsistencies in forest estimators - #34223

Merged
ArturoAmorQ merged 1 commit into
scikit-learn:mainfrom
vashita-pandey:doc-fix-monotonic-cst
Jun 10, 2026
Merged

ArturoAmorQ merged 1 commit into
scikit-learn:mainfrom
vashita-pandey:doc-fix-monotonic-cst

Conversation

@vashita-pandey

@vashita-pandey vashita-pandey commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Closes #34222

What does this implement/fix? Explain your changes.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

@vashita-pandey

Copy link
Copy Markdown
Contributor Author

Closes #34222

@virchan virchan added the good first PR to review Simple atomic PR to review label Jun 9, 2026

@shipitdev shipitdev left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hey, just checked the changes. you made changes across all 4 tree estimators, looks good to me

honestly im still pretty new to this repo and dont fully understand the deep architecture here yet, but your logic looks clean although that CI failure looks unrelated anyway, probably just environmental noise on the build. it's looks ready to proceed

@shipitdev shipitdev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

after reviewing the docstring updates across sklearn/ensemble/_forest.py. The patch correctly standardizes the wording to monotonically increasing and monotonically decreasing and fixes the tuple shape notation to (n_features,) consistently across all four forest estimators.

@ArturoAmorQ ArturoAmorQ 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.

Thanks @vashita-pandey.

@ArturoAmorQ
ArturoAmorQ merged commit 9888db2 into scikit-learn:main Jun 10, 2026
45 of 46 checks passed
@jeremiedbb jeremiedbb mentioned this pull request Sep 8, 2026
14 tasks done
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.

DOC: inconsistent monotonic_cst docstring across forest estimators

4 participants