Skip to content

MNT Replace kwargs by named args for resample#17324

Merged
jnothman merged 1 commit intoscikit-learn:masterfrom
alfaro96:replace_kwargs_resample
May 25, 2020
Merged

MNT Replace kwargs by named args for resample#17324
jnothman merged 1 commit intoscikit-learn:masterfrom
alfaro96:replace_kwargs_resample

Conversation

@alfaro96
Copy link
Copy Markdown
Member

@alfaro96 alfaro96 commented May 24, 2020

Reference Issues/PRs

Partially addresses #15761.

What does this implement/fix? Explain your changes.

Replaces the keyword arguments by named arguments in the sklearn.utils.resample function. This should help with maintenance and make easier to understand the documentation.

Copy link
Copy Markdown
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

LGTM Thank you @alfaro96 !

@alfaro96
Copy link
Copy Markdown
Member Author

Thanks for the quick review @thomasjpfan!

@jnothman
Copy link
Copy Markdown
Member

Oh. I'd not seen this and just opened #17345 about it. Hmm I should check if there are other instances

@jnothman jnothman merged commit f42cf8a into scikit-learn:master May 25, 2020
@alfaro96 alfaro96 deleted the replace_kwargs_resample branch May 26, 2020 15:29
viclafargue pushed a commit to viclafargue/scikit-learn that referenced this pull request Jun 26, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 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