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.
1 2 3 | SL.caretMod(Y, X, newX, family, obsWeights, method, tuneLength = 10,
trControl = caret::trainControl(method = "cv", number = 5, verboseIter =
FALSE), ...)
|
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 |
... |
Other arguments (not currently used) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.