# Tuning hyper parameters for different models with caretList

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 ~ .,
train[,-1],
trControl = my_control,
methodList = c("glm", "svmRadial", "rf",
"xgbTree"),
metric="ROC",
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!