gen_superlearner: Setup a SuperLearner() based on parallel configuration.

Description Usage Arguments Value

View source: R/gen_superlearner.R

Description

Create custom SL and CV.SL functions that automatically use parallelization based on the provided configuration.

Usage

1
2
3
4
5
6
gen_superlearner(
  parallel = "multicore",
  cluster = NULL,
  outer_cv_folds = NULL,
  verbose = T
)

Arguments

parallel

Can be "multicore", "doSNOW"/"snow" or "seq"/NULL.

cluster

Optional cluster, e.g. from SNOW.

outer_cv_folds

How many folds to use for CV.SuperLearner

verbose

If TRUE will output additional details during execution.

Value

A list with a SL and CV.SL function.


ck37r documentation built on Feb. 6, 2020, 5:09 p.m.