Skip to content

Maintenance: _parallel_fit_estimator is used to fit a single estimator but has parallel in the name #16595

@wderose

Description

@wderose

The naming of _parallel_fit_estimator does not reflect the serial/single-threaded operation actually performed by the method. No parallel calls are made in the method. The parallel part will come when we pass this method to the Parallel class, as we do here and here.

In PR #16539, it was suggested that we rename this method to _fit_single_estimator to clarify the usage intent. See this comment specifically: https://github.com/scikit-learn/scikit-learn/pull/16539/files#r385937964

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