Skip to content

DOC Ensure that ledoit_wolf is passing numpydoc validation#22496

Merged
jeremiedbb merged 4 commits intoscikit-learn:mainfrom
kungfudeuce:my_feature
Mar 21, 2022
Merged

DOC Ensure that ledoit_wolf is passing numpydoc validation#22496
jeremiedbb merged 4 commits intoscikit-learn:mainfrom
kungfudeuce:my_feature

Conversation

@kungfudeuce
Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Addresses #21350

What does this implement/fix? Explain your changes.

I fixed the documentation for sklearn.covariance._shrunk_covariance.ledoit_wolf

Any other comments?

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

Thank you for the PR. Please follow step 9 from the #21350 (comment)

Include the function name in the title of the pull request. For example: "DOC Ensures that ledoit_wolf passes numpydoc validation".

FUNCTION_DOCSTRING_IGNORE_LIST = [
"sklearn.covariance._shrunk_covariance.ledoit_wolf",
"sklearn.covariance._shrunk_covariance.ledoit_wolf_shrinkage",
"sklearn.datasets._base.load_linnerud",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This PR should focus on ledoit_wolf. This means we do not need to remove load_linnerud from this list.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is indeed the reason it fails.

@glemaitre glemaitre changed the title Addresses #21350 DOC Ensure that ledoit_wolf is passing numpydoc validation Feb 16, 2022
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 @kungfudeuce

@jeremiedbb jeremiedbb merged commit 333b3fe into scikit-learn:main Mar 21, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Apr 6, 2022
…arn#22496)

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

4 participants