check_kfold {mikropml} | R Documentation |
Check that kfold is an integer of reasonable size
Description
Check that kfold is an integer of reasonable size
Usage
check_kfold(kfold, dataset)
Arguments
kfold |
Fold number for k-fold cross-validation (default: |
dataset |
Data frame with an outcome variable and other columns as features. |
Author(s)
Kelly Sovacool, sovacool@umich.edu
Examples
## Not run:
check_kfold(5, otu_small)
## End(Not run)
[Package mikropml version 1.6.1 Index]