makeFixedHoldoutInstance: Generate a fixed holdout instance for resampling.

View source: R/HoldoutInstance_make_fixed.R

makeFixedHoldoutInstanceR 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).


mlr documentation built on June 22, 2024, 10:51 a.m.