kWayCrossValidation: k-fold cross validation, a splitFunction in the sense of...

Description Usage Arguments Value Examples

View source: R/outOfSample.R

Description

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

Usage

1
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

Examples

1

vtreat documentation built on June 20, 2017, 9:08 a.m.

Search within the vtreat package
Search all R packages, documentation and source code