8000 DOC: use notebook-style for plot_covariance_estimation.py by darioka · Pull Request #23150 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC: use notebook-style for plot_covariance_estimation.py #23150

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 5 commits into from
Apr 27, 2022

Conversation

darioka
Copy link
Contributor
@darioka darioka commented Apr 17, 2022

Reference Issues/PRs

#22406

What does this implement/fix? Explain your changes.

Updates examples/applications/plot_covariance_estimation.py

Any other comments?

  • Breaking explanation into different cells
  • Formatting last comment with .. note::

Copy link
Contributor
@jsilke jsilke 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! Overall your changes look great, but I do have a few suggestions for some minor improvements. Please take a look and let me know what you think.

example, the OAS estimate is a bit further away. Interestingly, both
approaches outperform cross-validation, which is significantly most
computationally costly.

"""

import numpy as np
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be nicer to move all imports to the top of the first cell in which they are used.

@darioka
Copy link
Contributor Author
darioka commented Apr 18, 2022

Thanks @jsilke! I agree with your suggestions, I have applied them

Copy link
Contributor
@jsilke jsilke 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 again @darioka !

@lesteve lesteve added the Quick Review For PRs that are quick to review label Apr 20, 2022
@lesteve lesteve mentioned this pull request Apr 20, 2022
47 tasks
@glemaitre
Copy link
Member

Thanks @darioka for the PR and thanks @jsilke for the review.
I have no other changes to propose.
Merging.

@glemaitre glemaitre merged commit 93f8f88 into scikit-learn:main Apr 27, 2022
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Apr 29, 2022
…n#23150)

Co-authored-by: Jordan Silke <51223540+jsilke@users.noreply.github.com>
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request May 19, 2022
…n#23150)

Co-authored-by: Jordan Silke <51223540+jsilke@users.noreply.github.com>
glemaitre pushed a commit that referenced this pull request May 19, 2022
Co-authored-by: Jordan Silke <51223540+jsilke@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0