10000 RFC Allow passthrough as pipeline step instead of None · Issue #11144 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
RFC Allow passthrough as pipeline step instead of None #11144
Closed
@amueller

Description

@amueller

As I mentioned here it might make sense to deprecate setting pipeline steps to None and requiring "passthrough" instead to avoid ambiguities with FeatureUnion and ColumnTransformer.

This might also give us an opportunity to easily specify "blank" pipelines for which you want to search the steps. Right now it's not easy to say "I want a pipeline with three steps and then let the GridSearch figure out the steps" because you need to provide actual steps at instantiation.
Something like

pipe = Pipeline([("imputer", "passthrough"), ("scaler", "passthrough"), ("classifier", "passthrough")])

or something.

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

      0