Skip to content

Commit

Permalink
lambda was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Jun 24, 2015
1 parent 118aff2 commit 682be7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lasso.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Lasso paths
Fits a linear or generalized linear Lasso path given the design
matrix `X` and response `y`:

.. math:: \underset{\beta}{\operatorname{argmin}} -\frac{1}{N} \mathcal{L}(y|X,\beta) + (1-\alpha)\frac{1}{2}\|\beta\|_2^2 + \alpha\|\beta\|_1
.. math:: \underset{\beta}{\operatorname{argmin}} -\frac{1}{N} \mathcal{L}(y|X,\beta) + \lambda\left[(1-\alpha)\frac{1}{2}\|\beta\|_2^2 + \alpha\|\beta\|_1\right]

The optional argument `d` specifies the conditional distribution of
response, while `l` specifies the link function. Lasso.jl inherits
Expand Down

0 comments on commit 682be7b

Please sign in to comment.