strat_sample_folds {mlr3spatiotempcv} | R Documentation |
Stratified random sampling
Description
Stratified random sampling
Usage
strat_sample_folds(data, col, n)
Arguments
data |
(data.table )
Data
|
col |
(character(1) )
Column to stratify on.
|
n |
(integer )
Sample size per group
|
[Package
mlr3spatiotempcv version 2.3.2
Index]