oneWayHoldout: One way holdout, a splitFunction in the sense of...

Description Usage Arguments Value Examples

View source: R/outOfSample.R

Description

One way holdout, a splitFunction in the sense of vtreat::buildEvalSets. Doesn't respect nSplits.

Usage

1
oneWayHoldout(nRows, nSplits, dframe, y)

Arguments

nRows

number of rows to split (integer >1).

nSplits

number of groups to split into (ignored).

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