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

Skip to content

DOC Ensures that make_hastie_10_2 passes numpydoc validation #22333

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 1 commit into from
Jan 29, 2022

Conversation

Dev514
Copy link
Contributor

@Dev514 Dev514 commented Jan 29, 2022

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

This PR fixes the following error that was appearing for numpydoc validation for sklearn.datasets._samples_generator.make_hastie_10_2

  • GL07: Sections are in the wrong order. Correct order is: Parameters, Returns, See Also, References
  • SS05: Summary must start with infinitive verb, not third person (e.g. use "Generate" instead of "Generates")
  • SS06: Summary should fit in a single line

Any other comments?

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.

Thanks for the PR @Dev514 ! LGTM

@thomasjpfan thomasjpfan merged commit 46d9143 into scikit-learn:main Jan 29, 2022
@reshamas
Copy link
Member

@thomasjpfan
Perhaps the description of this PR should say "\References #xxxxx" instead of "\Fixes #xxxxx"

@thomasjpfan
Copy link
Member

Yea, I didn't see it before merging. I reopened the original issue.

@Dev514
Copy link
Contributor Author

Dev514 commented Jan 31, 2022

@thomasjpfan Is there anything that needs to be changed in this PR?.

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