Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC Ensures that config_context passes numpydoc validation #21426

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 9 commits into from
Oct 29, 2021

Conversation

miwojc
Copy link
Contributor

@miwojc miwojc commented Oct 23, 2021

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

Any other comments?

This is my and @majauhar first pull request made during #DataUmbrella sprint.

@jjerphan jjerphan self-requested a review October 23, 2021 16:28
@reshamas
Copy link
Member

#DataUmbrella sprint
cc: @nestornav

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

I think in this case, it's better to change the signature of the function instead of changing the docstring. Please remove **new_config, and include all the arguments in the signature of the function.

@glemaitre
Copy link
Member

I agree with @adrinjalali. We try to limit as much as possible **kwargs and have explicit keyword arguments.

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM. Maybe just a second review on this one.
ping @adrinjalali @jjerphan

Copy link
Member

@jjerphan jjerphan left a comment

Choose a reason for hiding this comment

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

LGTM after changing default values to None as mentioned in this thread: https://github.com/scikit-learn/scikit-learn/pull/21426/files#r735161499

Copy link
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

@jjerphan jjerphan merged commit 01551ad into scikit-learn:main Oct 29, 2021
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Dec 24, 2021
glemaitre added a commit that referenced this pull request Dec 25, 2021
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.

7 participants