Skip to content

Commit

Permalink
Merge pull request scikit-learn#6531 from gasagna/patch-1
Browse files Browse the repository at this point in the history
change "lasso_path" to use "return_n_iter" argument
  • Loading branch information
agramfort committed Mar 13, 2016
2 parents 5e41327 + edd0eab commit aadaf0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/linear_model/coordinate_descent.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def lasso_path(X, y, eps=1e-3, n_alphas=100, alphas=None,
return enet_path(X, y, l1_ratio=1., eps=eps, n_alphas=n_alphas,
alphas=alphas, precompute=precompute, Xy=Xy,
copy_X=copy_X, coef_init=coef_init, verbose=verbose,
positive=positive, **params)
positive=positive, return_n_iter=return_n_iter, **params)


def enet_path(X, y, l1_ratio=0.5, eps=1e-3, n_alphas=100, alphas=None,
Expand Down

0 comments on commit aadaf0f

Please sign in to comment.