Learn R Programming

UBayFS (version 1.0)

build_train_set: Perform stratified data partition.

Description

Sample indices for training from the data.

Usage

build_train_set(y, tt_split)

Value

data indices for training ensembles

Arguments

y

a column, often the target, by which the data shall be partitioned.

tt_split

the percentage of data used for training in each ensemble model.