Convert Resampling Objects to Other FormatsSource:
These functions can convert resampling objects between rsample and caret.
rsample2caret(object, data = c("analysis", "assessment")) caret2rsample(ctrl, data = NULL)
nested_cvis not supported.
The data that was originally used to produce the
An object produced by
trainControlthat has had the
indexOutelements populated by integers. One method of getting this is to extract the
controlobjects from an object produced by