| rsample2caret | R Documentation |
These functions can convert resampling objects between rsample and caret.
rsample2caret(object, data = c("analysis", "assessment"))
caret2rsample(ctrl, data = NULL)
object |
An |
data |
The data that was originally used to produce the
|
ctrl |
An object produced by |
rsample2caret() returns a list that mimics the
index and indexOut elements of a
trainControl object. caret2rsample() returns an
rset object of the appropriate class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.