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
array | null≥ 1 items

Per-case grouping IDs; cases sharing an ID stay in the same resample. Must have one value per case.

seed
integer | null≥ 0

Random seed.

Relationships

Used by