Skip to content

ENH inherit from _LearntSelectorMixin where feature_importances_ is available #2160

@jnothman

Description

@jnothman

I presume any estimator that sets a feature_importances_ attrib should be usable as a feature selector with sklearn.feature_selection.from_model._LearntSelectorMixin. At least GradientBoostingClassifier does not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyWell-defined and straightforward way to resolveEnhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions