我有这段代码可以呈现“_xgb.Booster”“model_fit”对象类。我应该,但我不确定如何在这里为整个可重现的示例代码提供数据!
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)
如何使用此 xgb 对象计算升力曲线和十分位升力图?