Skip to content

RFECV inherits MetaEstimatorMixin twice. #14343

@alexitkes

Description

@alexitkes

In file rfe.py, the RFE class inherits MetaEstimatorMixin

class RFE(BaseEstimator, MetaEstimatorMixin, SelectorMixin):

Then RFECV inherits RFE and also inherits MetaEstimatorMixin again.

class RFECV(RFE, MetaEstimatorMixin):

I tried to remove MetaEstimatorMixin from RFECV parents and everything seems to work fine. May it be a good idea to remove the duplicated inheritance?

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