Permalink
Browse files

fix LassoLARS docstring

  • Loading branch information...
1 parent 3bf44af commit a089f38d535fda5fd3734173834eda3106728504 @agramfort agramfort committed Feb 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 scikits/learn/linear_model/least_angle.py
@@ -424,11 +424,11 @@ class LassoLARS (LARS):
Examples
--------
>>> 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])
- LassoLARS(alpha=0.1, verbose=False, fit_intercept=True)
+ LassoLARS(alpha=0.01, verbose=False, fit_intercept=True)
>>> print clf.coef_
- [ 0. 0.08350342]
+ [ 0. -0.72649658]
References
----------

0 comments on commit a089f38

Please sign in to comment.