Create custom SL and CV.SL functions that automatically use parallelization based on the provided configuration.
gen_superlearner(
parallel = "multicore",
cluster = NULL,
outer_cv_folds = NULL,
verbose = T
)
Can be "multicore", "doSNOW"/"snow" or "seq"/NULL.
Optional cluster, e.g. from SNOW.
How many folds to use for CV.SuperLearner
If TRUE will output additional details during execution.
A list with a SL and CV.SL function.