SL.glmnet.caretMod: SL.glmnet.caretMod

Description Usage Arguments

Description

Uses SL.caretMod with five-fold CV to train a glmnet regression with ten choices of tuning parameter.

Usage

1
2
SL.glmnet.caretMod(..., method = "glmnet", tuneLength = 10,
  trControl = caret::trainControl(method = "cv", number = 2))

Arguments

...

Other arguments passed to SL.caretMod

method

Character describing what algorithm to train

tuneLength

The number of tuning parameter combinations

trControl

Passed to caret::train


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