Skip to content

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

Merged
rth merged 5 commits into
scikit-learn:masterfrom
ogrisel:feature-importance-warning
Feb 5, 2020
Merged

rth merged 5 commits into
scikit-learn:masterfrom
ogrisel:feature-importance-warning

Conversation

@ogrisel

@ogrisel ogrisel commented Feb 4, 2020

Copy link
Copy Markdown
Member

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.

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

Minor comments otherwise LGTM, thanks!

Comment thread doc/modules/ensemble.rst Resolved
Comment thread doc/modules/ensemble.rst Resolved
@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