check_kfold: Check that kfold is an integer of reasonable size

View source: R/checks.R

check_kfoldR 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: 5).

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)

mikropml documentation built on Aug. 21, 2023, 5:10 p.m.