powered by
caret::trainControl()
Adapted from this Stack Overflow post and the trainControl documentation.
get_seeds_trainControl(hyperparams_list, kfold, cv_times, ncol_train)
seeds for caret::trainControl()
Named list of lists of hyperparameters.
Fold number for k-fold cross-validation (default: 5).
5
Number of cross-validation partitions to create (default: 100).
100
number of columns in training data
Kelly Sovacool, sovacool@umich.edu
Zena Lapp, zenalapp@umich.edu
if (FALSE) { get_seeds_trainControl( get_hyperparams_list(otu_small, "glmnet"), 5, 100, 60 ) }
Run the code above in your browser using DataLab