Skip to content

DOC More explicit warnings about the misleading use of impurity-based feature_importances #16382

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

Merged
merged 5 commits into from
Feb 5, 2020

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Feb 4, 2020

This builds on top of #16237 to better address #14528.

This PR focused on adding more explicit warnings while not changing the code of the examples.

Updating the examples to rewrite them to use permutation_importance can be done in another PR to be able to quickly merge this one.

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Minor comments otherwise LGTM, thanks!

@rth rth changed the title More explicit warnings about the misleading use of impurity-based feature_importances_ DOC More explicit warnings about impurity based feat. imp. Feb 5, 2020
@rth rth merged commit 54c3a1f into scikit-learn:master Feb 5, 2020
@rth rth changed the title DOC More explicit warnings about impurity based feat. imp. DOC More explicit warnings about the misleading use of impurity-based feature_importances Feb 5, 2020
@ogrisel ogrisel deleted the feature-importance-warning branch February 6, 2020 09:38
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 22, 2020
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
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.

3 participants