rtemis

Command Palette

Search for a command to run...

KFoldConfig

Variant

K-fold cross-validation. See setup_Resampler.

Properties

n_resamples
integer≥ 1

Number of resamples.

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