Description Usage Arguments Value
View source: R/imprecise_lasso.R
Tuning of the model over lambda using lower and upper estimates of LASSO coefficients using optimization over weights
1 2 | imp.lasso.tuning(x, y, wtl, wtu, ts = NULL, method = lasso_optim_cd,
n_it = 10)
|
x |
predictors |
y |
response |
wtl |
lower bound of the weights for the coefficients of weighted LASSO |
wtu |
upper bound of the weights for the coefficients of weighted LASSO |
ts |
stepsize for proximal gradient and sub-gradient method (use opt_ts() to generate stepsize). Defaults to NULL |
method |
lasso optimization function. Three different methods are available to use. method = c(lasso_optim_cd, lasso_optim_sg, lasso_optim_pg). Defaults to lasso_optim_cd |
n_it |
number of iteration for lasso_optim_cd method. Default value is 10. |
lambdas |
values of the penalty parameter |
The function returns the lower and upper estimates of LASSO coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.