View source: R/createCVSplits.R
createCVSplits | R Documentation |
Create a data.frame that defines cross-validation splits for a scenario,
and potentially store it in an ARFF file.
The mlr
package is used to generate the splits, see
makeResampleDesc
and makeResampleInstance
.
createCVSplits(asscenario, reps = 1L, folds = 10L, file = NULL)
asscenario |
[ |
reps |
[ |
folds |
[ |
file |
[ |
[data.frame
]. Splits as defined in the algorithm benchmark repository
specification text.
Has columns: “instance_id”, “fold”, “rep”.
Defines which instances go into the test set for each replication / fold during CV.
The training set are the remaining instances, in exactly the order as given by the data.frame
for the current repetition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.