Uses SL.caretMod with five-fold CV to train regression tree with ten choices of tuning parameter.
1 2 | SL.rpart.caretMod(..., method = "rpart", tuneLength = 10,
trControl = caret::trainControl(method = "cv", number = 2))
|
... |
Other arguments passed to SL.caretMod |
method |
Character describing what algorithm to train |
tuneLength |
The number of tuning parameter combinations |
trControl |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.