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

Skip to content

DOC Ensures that check_pairwise_arrays passes numpydoc validation #23519

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 6 commits into from
Jun 2, 2022

Conversation

wchathura
Copy link
Contributor

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

Fixes the function check_pairwise_arrays function to pass numpydoc validation

Any other comments?

This is my first contribution. Any advice is appreciated

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @wchathura. Here are some suggestions

wchathura and others added 3 commits June 2, 2022 08:46
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
@wchathura
Copy link
Contributor Author

I committed the suggestions using "commit suggestions" button. How can I further proceed? Thank you very much!!

@jeremiedbb
Copy link
Member

I just noticed that you also modified pairwise_kernels. Can you remove it from the list as well to check that it now passes numpydoc validation ?

@wchathura
Copy link
Contributor Author

Hi I removed the "pairwise_kernels" from the list and ran the test. Test passed. Here is the code I used to run the test
pytest sklearn/tests/test_docstrings.py -k sklearn.metrics.pairwise.pairwise_kernels

Thank you very much

@jeremiedbb
Copy link
Member

Hi I removed the "pairwise_kernels" from the list and ran the test.

thanks but I meant removing it in the PR :) don't worry I just did it

@wchathura
Copy link
Contributor Author

Thank you so much for the help :) :)

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @wchathura

@jeremiedbb jeremiedbb merged commit d3b740a into scikit-learn:main Jun 2, 2022
@wchathura
Copy link
Contributor Author

Thank you @jeremiedbb :) Hopefully I can contribute more in the future 🤞

ogrisel pushed a commit to ogrisel/scikit-learn that referenced this pull request Jul 11, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
glemaitre pushed a commit that referenced this pull request Aug 5, 2022
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.

2 participants