rtemis

Command Palette

Search for a command to run...

KFoldConfig

Variant

K-fold cross-validation. See setup_Resampler.

Properties

stratify_var
string | nulldefault null

Name of the variable to stratify by.

strat_n_bins
integerdefault 4≥ 1

Number of bins to stratify a continuous variable into.

seed
integer | nulldefault null≥ 0

Random seed.

id_strat
integer | string[] | null≥ 1 items

Optional vector of case IDs (e.g. subject IDs) to keep together when resampling. null = ordinary resampling.

Relationships

Used by