Skip to content

[MRG+2] ENH add memory to make_pipeline #8831

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

Merged
merged 3 commits into from
May 7, 2017

Conversation

glemaitre
Copy link
Member

Reference Issue

No issue

What does this implement/fix? Explain your changes.

Any other comments?

@glemaitre glemaitre changed the title ENH add memory to make_pipeline [MRG] ENH add memory to make_pipeline May 5, 2017
@glemaitre glemaitre changed the title [MRG] ENH add memory to make_pipeline [WIP] ENH add memory to make_pipeline May 5, 2017
@glemaitre glemaitre changed the title [WIP] ENH add memory to make_pipeline [MRG] ENH add memory to make_pipeline May 5, 2017
@@ -549,7 +561,8 @@ def make_pipeline(*steps):
-------
p : Pipeline
"""
return Pipeline(_name_estimators(steps))
memory = kwargs.pop('memory', None)
return Pipeline(_name_estimators(steps), memory=memory)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please ensue that an error is raised if there are other keyword args to make_pipeline. Easiest way to do that is just to forward **kwargs in entirety.

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jnothman jnothman changed the title [MRG] ENH add memory to make_pipeline [MRG+1] ENH add memory to make_pipeline May 7, 2017
@jmschrei
Copy link
Member

jmschrei commented May 7, 2017

LGTM, thanks!

@jmschrei jmschrei changed the title [MRG+1] ENH add memory to make_pipeline [MRG+2] ENH add memory to make_pipeline May 7, 2017
@jmschrei jmschrei merged commit 6f74a7c into scikit-learn:master May 7, 2017
@GaelVaroquaux
Copy link
Member

GaelVaroquaux commented May 8, 2017 via email

Terryhung pushed a commit to Terryhung/scikit-learn that referenced this pull request May 9, 2017
Sundrique pushed a commit to Sundrique/scikit-learn that referenced this pull request Jun 14, 2017
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
dmohns pushed a commit to dmohns/scikit-learn that referenced this pull request Aug 7, 2017
NelleV pushed a commit to NelleV/scikit-learn that referenced this pull request Aug 11, 2017
paulha pushed a commit to paulha/scikit-learn that referenced this pull request Aug 19, 2017
AishwaryaRK pushed a commit to AishwaryaRK/scikit-learn that referenced this pull request Aug 29, 2017
maskani-moh pushed a commit to maskani-moh/scikit-learn that referenced this pull request Nov 15, 2017
jwjohnson314 pushed a commit to jwjohnson314/scikit-learn that referenced this pull request Dec 18, 2017
[MRG+2] ENH add memory to make_pipeline
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 this pull request may close these issues.

4 participants