Skip to content

Add example link to RandomForestClassifier docstring#31569

Closed
Saanvi-2711 wants to merge 4 commits intoscikit-learn:mainfrom
Saanvi-2711:doc
Closed

Add example link to RandomForestClassifier docstring#31569
Saanvi-2711 wants to merge 4 commits intoscikit-learn:mainfrom
Saanvi-2711:doc

Conversation

@Saanvi-2711
Copy link
Copy Markdown

@Saanvi-2711 Saanvi-2711 commented Jun 17, 2025

Reference Issues/PRs

Towards #30621

What does this implement/fix? Explain your changes.

This PR adds a link to the forest importances example in the RandomForestClassifier docstring, under the "See Also" section.

Any other comments?

N/A

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 17, 2025

✔️ Linting Passed

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

Generated for commit: 18b5514. Link to the linter CI: here

@Saanvi-2711
Copy link
Copy Markdown
Author

Hi! This PR fixes #30766 by adding a missing example reference to the RandomForestClassifier docstring.
Let me know if anything needs to be improved. Thanks!

Copy link
Copy Markdown
Member

@StefanieSenger StefanieSenger left a comment

Choose a reason for hiding this comment

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

Hi @Saanvi-2711,

Thanks for your PR!

At first: could you please change the "Closes #...." in your issue description into something else? "Closes" is in fact a github command that will close the issue, you can cange it into "Towards #...."

Then, the example is is simply added to the See Also section without describing its context. We have discouraged you to do so in the issue description. Would you mind going back and check other PRs on what we actually need for a good reference?

Thank you!

Copy link
Copy Markdown
Member

@StefanieSenger StefanieSenger left a comment

Choose a reason for hiding this comment

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

Oh, I have just seen that we had decided that no references need to be added in another PR already. You could have seen this in the ToDo list of the issue.

I will therefore close this PR. Hope to see you on another task.

@Saanvi-2711
Copy link
Copy Markdown
Author

Thank you for the detailed feedback and for taking the time to review my PR. I now understand why the reference addition wasn’t needed and that I missed the latest updates in the ToDo list and other PRs. I’ll make sure to check those thoroughly next time before submitting a PR. I’d love to continue contributing to scikit-learn and will look for another suitable issue to work on. Thanks again for the opportunity!

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.

2 participants