I'm trying to train an ensemble using the caretList function in the caret package.

I'm using these models:

model_list <- caretList(Ticket_ContrattoTerminato ~ .,
                        trControl = my_control,
                        methodList = c("glm", "svmRadial", "rf", 
                        tuneList = NULL,
                        continue_on_fail = FALSE, 
                        preProcess = c("center","scale"))

I'd like to tune the hyper parameters for every single model but I don't know how to do it.

Do you have any suggestion?

Thank you!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.