[go: nahoru, domu]

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 · Fixed by #11674
Closed

RFC Allow passthrough as pipeline step instead of None #11144

amueller opened this issue May 26, 2018 · 2 comments · Fixed by #11674

Comments

@amueller
Copy link
Member

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 commented May 26, 2018 via email

@jnothman
Copy link
Member
jnothman commented May 27, 2018 via email

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

Successfully merging a pull request may close this issue.

2 participants