SL.gamSpline.caretMod: SL.gamSpline.caretMod

Description Usage Arguments

Description

Uses SL.caretMod with 10 choices of tuning parameters and 5-fold CV to train a generalized additive model.

Usage

1
2
SL.gamSpline.caretMod(..., method = "gamSpline", 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