Skip to content

Add permutation based feature importance? #11187

@amueller

Description

@amueller

I think adding permutation based feature importances would be cool:
https://link.springer.com/article/10.1186%2F1471-2105-8-25

There is a python package that does it for our random forests with bagging:
https://github.com/parrt/random-forest-importances

But I'd rather like to see a generic permutation based importance score with cross-validation or hold-out.
I think this would be great analysis tool.

One easy way to implement it would be to provide a function for plotting etc. But Ideally we'd be able to use it in feature selection, I think, so we'd need to create a meta-estimator PermutationImportanceCV that only provides feature_importances_, I guess, so it can be wrapped with SelectFromModel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions