I am trying to optimize a xgboost tree by using feature selection with caret's genetic algorithm
results <- gafs(iris[,1:4], iris[,5],
iters = 2,
method = "xgbTree",
metric = "Accuracy",
gafsControl = gafsControl(functions=caretGA, method="cv", repeats=2, verbose = TRUE),
trConrol = trainControl(method = "cv", classProbs = TRUE, verboseIter = TRUE)
)
this is however very slow and thus I would like to plot a progress bar. However I do not get any progress plotted, even though I used verbose = TRUE
and verboseIter = TRUE
. What am I doing wrong?