Skip to content

Commit

Permalink
fix LassoLARS docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
agramfort committed Feb 24, 2011
1 parent 3bf44af commit a089f38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scikits/learn/linear_model/least_angle.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -424,11 +424,11 @@ class LassoLARS (LARS):
Examples Examples
-------- --------
>>> from scikits.learn import linear_model >>> from scikits.learn import linear_model
>>> clf = linear_model.LassoLARS(alpha=0.1) >>> clf = linear_model.LassoLARS(alpha=0.01)
>>> clf.fit([[-1,1], [0, 0], [1, 1]], [-1, 0, -1]) >>> clf.fit([[-1,1], [0, 0], [1, 1]], [-1, 0, -1])
LassoLARS(alpha=0.1, verbose=False, fit_intercept=True) LassoLARS(alpha=0.01, verbose=False, fit_intercept=True)
>>> print clf.coef_ >>> print clf.coef_
[ 0. 0.08350342] [ 0. -0.72649658]
References References
---------- ----------
Expand Down

0 comments on commit a089f38

Please sign in to comment.