View source: R/classifier_train.R
train_cv_model_glmnet | R Documentation |
A function train a model with CV
train_cv_model_glmnet( data_train, cls_train, fitControl, observation_weights = NULL, penalty.factor = 1 )
data_train |
input matrix, of dimension nobs x nvars; each row is an
observation vector. Since this is an input to |
cls_train |
class labels |
fitControl |
A list of training parameters. See
|
penalty.factor |
Separate penalty factors can be applied to each
coefficient. See |
A list returned from caret::train
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.