makeFixedHoldoutInstance {mlr} | R Documentation |
Generate a fixed holdout instance for resampling.
Description
Generate a fixed holdout instance for resampling.
Usage
makeFixedHoldoutInstance(train.inds, test.inds, size)
Arguments
train.inds |
(integer)
Indices for training set.
|
test.inds |
(integer)
Indices for test set.
|
size |
(integer(1) )
Size of the data set to resample.
The function needs to know the largest possible index of the whole data set.
|
Value
(ResampleInstance).
[Package
mlr version 2.19.2
Index]