Skip to content

Commit

Permalink
DOC change from 'means_prior' to 'mean_prior' in BayesianGaussianMixt…
Browse files Browse the repository at this point in the history
…ure (#13090)
  • Loading branch information
walk-to-work authored and jnothman committed Feb 19, 2019
1 parent 2594d91 commit adfc044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sklearn/mixture/bayesian_mixture.py
Expand Up @@ -266,7 +266,7 @@ class BayesianGaussianMixture(BaseMixture):
mean_precision_ : array-like, shape (n_components,)
The precision of each components on the mean distribution (Gaussian).
means_prior_ : array-like, shape (n_features,)
mean_prior_ : array-like, shape (n_features,)
The prior on the mean distribution (Gaussian).
degrees_of_freedom_prior_ : float
Expand Down
2 changes: 1 addition & 1 deletion sklearn/mixture/tests/test_bayesian_mixture.py
Expand Up @@ -118,7 +118,7 @@ def test_bayesian_mixture_weights_prior_initialisation():
assert_almost_equal(1. / n_components, bgmm.weight_concentration_prior_)


def test_bayesian_mixture_means_prior_initialisation():
def test_bayesian_mixture_mean_prior_initialisation():
rng = np.random.RandomState(0)
n_samples, n_components, n_features = 10, 3, 2
X = rng.rand(n_samples, n_features)
Expand Down

0 comments on commit adfc044

Please sign in to comment.