Skip to content

Conversation

GaetandeCast
Copy link
Contributor

What does this implement/fix? Explain your changes.

The current documentation incorrectly states that the model is refitted during permutation importance in the plot_forest_importances.py example. This PR corrects the description to clarify that the model is not refitted: predictions are made on permuted data to measure performance drop.

Cc: @ogrisel @antoinebaker

Copy link

✔️ Linting Passed

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

Generated for commit: 46a2fa7. Link to the linter CI: here

@ogrisel ogrisel merged commit bd60ea7 into scikit-learn:main Jun 24, 2025
39 checks passed
@GaetandeCast GaetandeCast deleted the rf_fi_example branch June 24, 2025 15:16
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 15, 2025
@jeremiedbb jeremiedbb mentioned this pull request Jul 15, 2025
13 tasks
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 2025
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Jul 16, 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.

2 participants