R/pre_comp_xval.R
pre_comp_xval.Rd
Pre-computed cross-plan (so same split happens each time).
pre_comp_xval(nRows, nSplits, splitplan)
nRows | number of rows to split (integer >1). |
---|---|
nSplits | number of groups to split into (ignored). |
splitplan | split plan to actually use |
splitplan
#> [[1]] #> [[1]]$train #> [1] 2 3 #> #> [[1]]$app #> [1] 1 #> #> #> [[2]] #> [[2]]$train #> [1] 1 3 #> #> [[2]]$app #> [1] 2 #> #> #> [[3]] #> [[3]]$train #> [1] 1 2 #> #> [[3]]$app #> [1] 3 #> #> #> attr(,"splitmethod") #> [1] "oneway ( pre-computed 3 3 )"