get_seeds_trainControl | R Documentation |
caret::trainControl()
Adapted from this Stack Overflow post and the trainControl documentation.
get_seeds_trainControl(hyperparams_list, kfold, cv_times, ncol_train)
hyperparams_list |
Named list of lists of hyperparameters. |
kfold |
Fold number for k-fold cross-validation (default: |
cv_times |
Number of cross-validation partitions to create (default: |
ncol_train |
number of columns in training data |
seeds for caret::trainControl()
Kelly Sovacool, sovacool@umich.edu
Zena Lapp, zenalapp@umich.edu
## Not run:
get_seeds_trainControl(
get_hyperparams_list(otu_small, "glmnet"),
5, 100, 60
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.