Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enforce feature_names_in_ and n_features_in_ in check_estimator post SLEP007 implementation #28337

Copy link
Copy link
Open
@nicklamiller

Description

@nicklamiller
Issue body actions

Describe the workflow you want to enable

I would like to propose an enhancement to the check_estimator function, particularly in light of the implementation of SLEP007. As per SLEP007, which was integrated into scikit-learn starting from version 1.1.0, estimators are expected to support feature_names_in_ and n_features_in_ attributes. However, it appears that the check_estimator utility does not currently enforce the presence of these attributes.

Describe your proposed solution

I propose that the check_estimator function be updated to include checks for the existence of the feature_names_in_ and n_features_in_ attributes.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.