pre_comp_xval {vtreat} | R Documentation |
Pre-computed cross-plan (so same split happens each time).
Description
Pre-computed cross-plan (so same split happens each time).
Usage
pre_comp_xval(nRows, nSplits, splitplan)
Arguments
nRows |
number of rows to split (integer >1). |
nSplits |
number of groups to split into (ignored). |
splitplan |
split plan to actually use |
Value
splitplan
Examples
p1 <- oneWayHoldout(3,NULL,NULL,NULL)
p2 <- pre_comp_xval(3, 3, p1)
p2(3, 3)
[Package vtreat version 1.6.5 Index]