Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Make previous commit work also with old versions of scipy."

This reverts commit e8d32c6.
  • Loading branch information...
commit 3fab72a92c52e6334e19d21c6a87a32e90f938da 1 parent c7248c8
@fabianp fabianp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scikits/learn/gmm.py
View
2  scikits/learn/gmm.py
@@ -571,7 +571,7 @@ def _lmvnpdffull(obs, means, covars):
for c, (mu, cv) in enumerate(itertools.izip(means, covars)):
cv_chol = linalg.cholesky(cv, lower=True)
cv_det = np.prod(np.diagonal(cv_chol))**2
- cv_sol = solve_triangular(cv_chol, (obs - mu).T, lower=True)
+ cv_sol = linalg.solve_triangular(cv_chol, (obs - mu).T, lower=True)
log_prob[:, c] = -.5 * (np.sum(cv_sol**2, axis=0) + \
ndim * np.log(2 * np.pi) + np.log(cv_det))
Please sign in to comment.
Something went wrong with that request. Please try again.