Using XGBoost xgb.importance
an importance matrix can be printed showing variable importance values to classification as measured by Gain, Cover, and Frequency. Gain is the recommended indicator of variable importance.
Using caret resampling (repeatedcv, number=10, repeats =5), a particular tuning grid, and train method = "xgbTree"
, the caret varImp()
function shows the k-fold feature importance estimation scaled from 0-100%.
My question is does the caret varImp(xgbMod)
wrapper function use Gain or all some combination of Gain, Cover, and Frequency?