kWayCrossValidation | R Documentation |
k-fold cross validation, a splitFunction in the sense of vtreat::buildEvalSets
kWayCrossValidation(nRows, nSplits, dframe, y)
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). |
split plan
kWayCrossValidation(7,2,NULL,NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.