New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC Allow passthrough as pipeline step instead of None #11144

Closed
amueller opened this Issue May 26, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@amueller
Member

amueller commented May 26, 2018

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.

@amueller amueller changed the title from Allow passthrough as pipeline step instead of None to RFC Allow passthrough as pipeline step instead of None May 26, 2018

@jnothman

This comment has been minimized.

Member

jnothman commented May 26, 2018

@jnothman

This comment has been minimized.

Member

jnothman commented May 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment