View source: R/fx_partition2.R
fx_partition2 | R Documentation |
Extract CV fold assignment from a modelObj
fx_partition2(modelObj = NULL)
modelObj |
model object, containing observed model performances |
update
all.partitions: list of length nresamples (as defined within model Obj input). Each element contains list of length nfolds (i.e., number of folds within each resample). Each element of this sublist is a list containing three variables.
train: row indices to be assigned to training dataset
test: row indices to be assigned to testing dataset
sample.type: cross-validation sampling type (e.g, 5-fold)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.