-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
DOC Add link to plot_gmm_pdf.py in GaussianMixture examples #31230
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
base: main
Are you sure you want to change the base?
DOC Add link to plot_gmm_pdf.py in GaussianMixture examples #31230
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for your contribution. I would suggest a change in phrasing, to express what is special about this example compared to other examples on GaussianMixture
.
Maybe move the link inside the docstring of the score_samples
method in sklearn/mixture/_base.py
, which is displayed both in GaussianMixture
as well as in BaysianGaussianMixture
, though it might be worth it. What do you think?
Gaussian Mixture Models are commonly used for probability density estimation and | ||
modeling multi-modal distributions. For a visualization, see | ||
:ref:`sphx_glr_auto_examples_mixture_plot_gmm_pdf.py` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to directly describe what the example shows. Maybe like this:
Gaussian Mixture Models are commonly used for probability density estimation and | |
modeling multi-modal distributions. For a visualization, see | |
:ref:`sphx_glr_auto_examples_mixture_plot_gmm_pdf.py` | |
For an illustration of the negative log-likelihood surface of a | |
:class:`~sklearn.mixture.GaussianMixture` Model, | |
see :ref:`sphx_glr_auto_examples_mixture_plot_gmm_pdf.py`. |
Hi @vivaannanavati123, are you still interested in working on that? |
Reference Issues/PRs
Addresses #30621.
What does this implement/fix? Explain your changes.
plot_gmm_pdf.py
inGaussianMixture
docstring examples to demonstrate density estimation, a key GMM use case missing in API docs.plot_gmm_pdf.py
in API docs.Any other comments?
Noticed that
plot_roc_crossval.py
is already linked in User Guide sections (model_evaluation.rst
,cross_validation.rst
) and related examples, so I would recommend for it to be checked off.Thank you for your review!