
Last chance! 50% off unlimited learning
Sale ends in
take N objects of class train and concatenat into an object of class caretList for future Ensamble'ing
# S3 method for train
c(...)
a caretList
object
the objects of class train to bind into a caretList
if (FALSE) {
rpartTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rpart')
rfTrain <- train(Class ~ .,
data=Sonar,
trControl = ctrl1,
method='rf')
bigList <- c(model_list1, model_list2)
}
Run the code above in your browser using DataLab