Description Usage Arguments Details Value Examples
Computes lasso, group lasso, scaled lasso, or scaled group lasso solution.
The outputs are coefficient-estimate and subgradient. If type = "slasso"
or type = "sgrlasso"
, the output will include the sigma-estimate.
1 2 |
X |
predictor matrix. |
Y |
response vector. |
type |
type of penalty. Must be specified to be one of the following:
|
lbd |
penalty term of lasso. By letting this argument be |
group |
|
weights |
weight vector with length equal to the number of groups. Default is
|
verbose |
logical. Only available for |
... |
auxiliary arguments for |
Computes lasso, group lasso, scaled lasso, or scaled group lasso solution. Users can specify the value of lbd or choose to run cross-validation to get optimal lambda in term of mean squared error.
B0 |
coefficient estimator. |
S0 |
subgradient. |
lbd, weights, group |
same as input arguments. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.