8000 ENH Allow disabling refitting of cross-validation estimators · Issue #30396 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
ENH Allow disabling refitting of cross-validation estimators #30396
Open
@AhmedThahir

Description

@AhmedThahir

Discussed in #30233

Originally posted by AhmedThahir November 7, 2024
Feature request: Allow disable refitting of cross-validation estimators (such as LassoCV, RidgeCV) on the full training set after finding the best hyperparameters?

Sometimes I only want the optimal hyperparameter and do not want to waste resources on refitting. This is especially important for large datasets.

As @alifa98 has highlighted, this is the relevant code block.

# Refit the model with the parameters selected

User should be allowed to toggle this behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0