Description Usage Arguments Value
Solving elastic net via coordinate descent
1 | elnet_coord(y, X, Lambda, alpha, beta_init, iterlength)
|
y |
The response vector |
X |
Design matrix |
Lambda |
Sequence of penalizing weights |
alpha |
weightage on L_1 norm |
beta_init |
initial coefficient vector (default rep(0,ncol(X)) - the zero vector ) |
iterlength |
no. of iteration of the coordinate descent algorithm (default = 1000) |
Solution path - A matrix of dimension (length(Lambda),ncol(X)) where each row gives the coefficient vector for a fixed Lambda.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.