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
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 June 4, 2017, 1:02 a.m.