From eb8984cecc8b27a9aecb30f4a82c33b6a050549e Mon Sep 17 00:00:00 2001 From: Melanie Goetz Date: Sat, 15 Jul 2017 15:24:10 -0500 Subject: [PATCH] Adding note to the docstring that BayesianGaussianMixture parameter weight_concentration_prior is commonly called gamma in the literature, per https://github.com/scikit-learn/scikit-learn/issues/8631 --- sklearn/mixture/bayesian_mixture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sklearn/mixture/bayesian_mixture.py b/sklearn/mixture/bayesian_mixture.py index 51c57c7c475a1..642c0aade30d0 100644 --- a/sklearn/mixture/bayesian_mixture.py +++ b/sklearn/mixture/bayesian_mixture.py @@ -131,7 +131,8 @@ class BayesianGaussianMixture(BaseMixture): weight_concentration_prior : float | None, optional. The dirichlet concentration of each component on the weight - distribution (Dirichlet). The higher concentration puts more mass in + distribution (Dirichlet). This is commonly called gamma in the + literature. The higher concentration puts more mass in the center and will lead to more components being active, while a lower concentration parameter will lead to more mass at the edge of the mixture weights simplex. The value of the parameter must be greater