createTestDataFolds {latrend} | R Documentation |
Create all k test folds from the training data
Description
Create all k test folds from the training data
Usage
createTestDataFolds(data, trainDataList, ...)
Arguments
data |
A |
trainDataList |
A |
... |
Arguments passed to createTestDataFold. |
See Also
Other validation methods:
createTestDataFold()
,
createTrainDataFolds()
,
latrendBoot()
,
latrendCV()
,
lcModel-data-filters
Examples
data(latrendData)
if (require("caret")) {
trainDataList <- createTrainDataFolds(latrendData, folds = 10, id = "Id")
testDataList <- createTestDataFolds(latrendData, trainDataList)
}
[Package latrend version 1.6.1 Index]