Skip to content

[MRG] MNT remove coupling between pipeline methods#16777

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

[MRG] MNT remove coupling between pipeline methods#16777
TomDLT merged 1 commit intoscikit-learn:masterfrom
NicolasHug:pipeline_fit_params

Conversation

@NicolasHug
Copy link
Copy Markdown
Member

@NicolasHug NicolasHug commented Mar 27, 2020

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 ?

Copy link
Copy Markdown
Member

@rth rth left a comment

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.

Copy link
Copy Markdown
Member

@TomDLT TomDLT left a comment

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