SL.caretMod: SL.caretMod

Description Usage Arguments

Description

A modification of the SL.caret function from the SuperLearner package that suppresses some output when method = "gbm" or "nnet". See ?SL.caret for more information.

Usage

1
2
3
SL.caretMod(Y, X, newX, family, obsWeights, method, tuneLength = 10,
  trControl = caret::trainControl(method = "cv", number = 5, verboseIter =
  FALSE), ...)

Arguments

Y

Training outcomes

X

Training predictors

newX

Test set predictors

family

Character indicating family argument (ignored)

obsWeights

Weights for the observations

method

Character describing what algorithm to train

tuneLength

The number of tuning parameter combinations

trControl

Passed to caret::train

...

Other arguments (not currently used)


benkeser/haltmle.sim documentation built on May 12, 2019, noon