Skip to content

Commit f642aee

Browse files
committed
Merge pull request #2614 from zyv/patch-1
BUG: typo fixes in sklearn.mixture.gmm
2 parents 669e2b4 + dea7bbb commit f642aee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sklearn/mixture/gmm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class GMM(BaseEstimator):
177177
See Also
178178
--------
179179
180-
DPGMM : Ininite gaussian mixture model, using the dirichlet
180+
DPGMM : Infinite gaussian mixture model, using the dirichlet
181181
process, fit with a variational algorithm
182182
183183
@@ -604,7 +604,7 @@ def _log_multivariate_normal_density_full(X, means, covars, min_covar=1.e-7):
604604
try:
605605
cv_chol = linalg.cholesky(cv, lower=True)
606606
except linalg.LinAlgError:
607-
# The model is most probabily stuck in a component with too
607+
# The model is most probably stuck in a component with too
608608
# few observations, we need to reinitialize this components
609609
cv_chol = linalg.cholesky(cv + min_covar * np.eye(n_dim),
610610
lower=True)

0 commit comments

Comments
 (0)