Skip to content

Commit

Permalink
covariance.graph_lasso does not pass eps to linear_model.lars_path (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastinSanty authored and AishwaryaRK committed Aug 29, 2017
1 parent 6e20dc3 commit 9af9a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/covariance/graph_lasso_.py
Expand Up @@ -221,7 +221,7 @@ def graph_lasso(emp_cov, alpha, cov_init=None, mode='cd', tol=1e-4,
_, _, coefs = lars_path(
sub_covariance, row, Xy=row, Gram=sub_covariance,
alpha_min=alpha / (n_features - 1), copy_Gram=True,
method='lars', return_path=False)
eps=eps, method='lars', return_path=False)
# Update the precision matrix
precision_[idx, idx] = (
1. / (covariance_[idx, idx]
Expand Down

0 comments on commit 9af9a68

Please sign in to comment.