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


berndbischl/mlr documentation built on Aug. 15, 2024, 4:20 p.m.