keep_groups_in_cv_partitions | R Documentation |
Whether groups can be kept together in partitions during cross-validation
keep_groups_in_cv_partitions(groups, group_partitions, kfold)
groups |
Vector of groups to keep together when splitting the data into
train and test sets. If the number of groups in the training set is larger
than |
group_partitions |
Specify how to assign |
kfold |
Fold number for k-fold cross-validation (default: |
TRUE
if possible, FALSE
otherwise
Kelly Sovacool, sovacool@umich.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.