Skip to content

DOC Ensures that check_pairwise_arrays passes numpydoc validation#23519

Merged
jeremiedbb merged 6 commits intoscikit-learn:mainfrom
wchathura:fix_docs
Jun 2, 2022
Merged

DOC Ensures that check_pairwise_arrays passes numpydoc validation#23519
jeremiedbb merged 6 commits intoscikit-learn:mainfrom
wchathura:fix_docs

Conversation

@wchathura
Copy link
Copy Markdown
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
Copy Markdown
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 <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
@wchathura
Copy link
Copy Markdown
Contributor Author

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

@jeremiedbb
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Thank you so much for the help :) :)

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