Skip to content
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
Closed

RFC Allow passthrough as pipeline step instead of None #11144

amueller opened this issue May 26, 2018 · 2 comments

Comments

@amueller
Copy link
Member

@amueller 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 Allow passthrough as pipeline step instead of None RFC Allow passthrough as pipeline step instead of None May 26, 2018
@jnothman
Copy link
Member

@jnothman jnothman commented May 26, 2018

@jnothman
Copy link
Member

@jnothman jnothman commented May 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.