Description Usage Arguments Value
a Solver for the Lasso problem
1 | lasso_solve(y, X, lambda = 0.01, epsilon = 1)
|
y |
a nx1 label vector |
X |
the design matrix |
lambda |
the weight of the penalty term in the Lasso problem |
epsilon |
the smallest change in penalised RSS that defines convergence |
a px1 vector of betas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.