Skip to content

[MRG] MNT remove coupling between pipeline methods - #16777

Merged
TomDLT merged 1 commit into
scikit-learn:masterfrom
NicolasHug:pipeline_fit_params
Mar 27, 2020
Merged

TomDLT merged 1 commit into
scikit-learn:masterfrom
NicolasHug:pipeline_fit_params

Conversation

@NicolasHug

@NicolasHug NicolasHug commented Mar 27, 2020 •

Copy link
Copy Markdown
Member

Added a _check_fit_params method to consistently validate fit params.

Previously we were relying on _fit to return the fit_params of the last step (when it exists).

@NicolasHug NicolasHug changed the title [WIP] MNT remove coupling between pipeline methods [MRG] MNT remove coupling between pipeline methods Mar 27, 2020
@NicolasHug

Copy link
Copy Markdown
Member Author

maybe @rth and @thomasjpfan ?

@rth rth left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall sounds good, but I'm not that familiar with the pipeline code so a second thorough review would be good.

Comment thread sklearn/pipeline.py Resolved

@TomDLT TomDLT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@TomDLT
TomDLT merged commit 88ce8cd into scikit-learn:master Mar 27, 2020
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants