kWayCrossValidation

0th

Percentile

k-fold cross validation, a splitFunction in the sense of vtreat::buildEvalSets

k-fold cross validation, a splitFunction in the sense of vtreat::buildEvalSets

Usage
kWayCrossValidation(nRows, nSplits, dframe, y)
Arguments
nRows

number of rows to split (>1).

nSplits

number of groups to split into (>1,<=nRows).

dframe

original data frame (ignored).

y

numeric outcome variable (ignored).

Value

split plan

Aliases
  • kWayCrossValidation
Examples
# NOT RUN {
kWayCrossValidation(7,2,NULL,NULL)

# }
Documentation reproduced from package vtreat, version 1.4.7, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.