Description Usage Arguments Details Value See Also Examples
performs lasso for different distributions, returns a list of formulas that result in the lowest rtmse for at least one of the distributions. Graphical output allows side-by-side comparison of lasso behaviour for all distributions.
1 2 |
data |
dataframe |
formula |
formula |
grid |
grid values for lambda, Default: 10^seq(4, -4, length = 100) |
p |
p parameter for tweedie distributions, set p = NULL for not performing lasso for tweedie distributions, Default: c(1, 1.25, 1.5, 1.75, 2) |
k |
fold cross validation, set to 1 for testing against training data, Default: 5 |
family |
family parameter for glmnet, can be a vector, Default: 'gaussian' |
Columns containing NA will be removed, formula cannot be constructed with '.'
list()
HDtweedie
glmnet
pipelearner
,learn_models
,learn_cvpairs
,learn
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.