diff --git a/sklearn/mixture/_gaussian_mixture.py b/sklearn/mixture/_gaussian_mixture.py index a5b3a5ae5c172..b11f004dd178e 100644 --- a/sklearn/mixture/_gaussian_mixture.py +++ b/sklearn/mixture/_gaussian_mixture.py @@ -537,6 +537,9 @@ class GaussianMixture(BaseMixture): - 'diag': each component has its own diagonal covariance matrix. - 'spherical': each component has its own single variance. + For an example of using `covariance_type`, refer to + :ref:`sphx_glr_auto_examples_mixture_plot_gmm_selection.py`. + tol : float, default=1e-3 The convergence threshold. EM iterations will stop when the lower bound average gain is below this threshold. @@ -885,6 +888,9 @@ def bic(self, X): You can refer to this :ref:`mathematical section ` for more details regarding the formulation of the BIC used. + For an example of GMM selection using `bic` information criterion, + refer to :ref:`sphx_glr_auto_examples_mixture_plot_gmm_selection.py`. + Parameters ---------- X : array of shape (n_samples, n_dimensions)