Description Usage Arguments Value
View source: R/engine_glmnet.R
Fit glmnet package with cross-validation
1 | fit_glmnet_cv(x, y, family, use_min = TRUE, ...)
|
x |
A matrix of features. |
y |
A vector of labels. |
family |
A character scalar of family. |
use_min |
A logical scalar or binary integer wheather to use
|
... |
Additional arguments passed to glmnet::cv.glmnet and glmnet::glmnet. |
A fitted object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.