Skip to contents

Sample indices for training from the data.

Usage

build_train_set(y, tt_split)

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.

Value

data indices for training ensembles