rtemis

Command Palette

Search for a command to run...

StratSubConfig

Variant

Stratified subsampling. See setup_Resampler.

Properties

n_resamples
integer≥ 1

Number of resamples.

train_p
number> 0< 1

Training set fraction.

stratify_var
string | null

Name of the variable to stratify by.

strat_n_bins
integer≥ 1

Number of bins to stratify a continuous variable into.

id_strat
string | null

Name of the column holding per-case grouping IDs; cases sharing an ID stay in the same resample.

seed
integer | null≥ 0

Random seed.

Relationships

Used by