-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Add description for the meaning of None
for check_X_y
#25997
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
DOC Add description for the meaning of None
for check_X_y
#25997
Conversation
…-learn into _check_X_y-DOC-None-fix
In #17295 (comment) you said you'd work on scikit-learn/sklearn/utils/validation.py Line 998 in 9ed51ce
sklearn/utils/_mocking.py . I think it is a good idea to update this PR to edit the file you said you'd edit.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can always update the documentation of the mocking class. But indeed check_X_y
is indeed the function leaving in sklearn.utils
.
None
for check_X_y
@ricmperes are you planning to continue working on this PR? |
@marenwestermann thanks for the tagging! I can work on this some more now, will commit updates soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Thanks @ricmperes. Merging. |
…earn#25997) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
…earn#25997) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
…earn#25997) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
…earn#25997) Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Adds to the fixes of #17295. A descriptor for the argument None is added for the method
sklearn.utils.check_X_y
.Any other comments?