I have this code that renders "_xgb.Booster" "model_fit" object classes. I should, but I am not sure how to provide the entire reproducible example code with data here!
xgb <- boost_tree(mode = "classification",
trees = 100,
mtry = 0.7,
learn_rate = 0.15,
tree_depth = 10,
sample_size = 1) %>%
set_engine("xgboost") %>%
fit(Y ~ ., data = train)
How can I calculate the lift curves and decile lift charts using this xgb object?