Learn R Programming

mlr (version 2.12.1)

makeFixedHoldoutInstance: 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).