Uses SL.caretMod to train with five-fold CV to train a neural network with twenty choices of tuning parameter.
1 2  | SL.nnet.caretMod(..., method = "nnet", tuneLength = 20,
  trControl = caret::trainControl(method = "cv", number = 2))
 | 
... | 
 Other arguments passed to   | 
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.