Skip to content

DOC: Add link to OOB example in RandomForestClassifier docstring #31509

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

Conversation

Vedant-Kalbhor
Copy link

Reference Issues/PRs

Closes #30621

What does this implement/fix? Explain your changes.

This PR adds a link to the example script plot_ensemble_oob.py in the RandomForestClassifier docstring, as part of issue #30621.

The link is added using the Sphinx-gallery reference format, enabling users to navigate directly from the API documentation to the out-of-bag evaluation example.

Any other comments?

Copy link

github-actions bot commented Jun 9, 2025

✔️ Linting Passed

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

Generated for commit: 2c2b411. Link to the linter CI: here

Copy link
Member

@virchan virchan left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @Vedant-Kalbhor!

@Ganasekhar-gif already claimed the the plot_ensemble_oob.py example in #31457.

Therefore, I'm closing this PR.

Feel free to pick another example from the meta issue #30621 if you want to work on something else.

@virchan virchan closed this Jun 9, 2025
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.

Add links to examples from the docstrings and user guide
2 participants