StratBootConfig
VariantStratified bootstrap. See setup_Resampler.
Raw JSONv1
Properties
stratify_varstring | nulldefaultnullName of the variable to stratify by.
train_pnumberdefault0.75> 0< 1Training set fraction.
strat_n_binsintegerdefault4≥ 1Number of bins to stratify a continuous variable into.
target_lengthinteger | nulldefaultnull≥ 1Target length for stratified bootstraps.
seedinteger | nulldefaultnull≥ 0Random seed.
id_stratinteger | string[] | null≥ 1 itemsOptional vector of case IDs (e.g. subject IDs) to keep together when resampling. null = ordinary resampling.
Relationships
Used by