答:n_estimators 是 scikit-learn 接口的提升轮数预算,原生 xgboost.train 对应 num_boost_round。使用早停时,实际运行和最终用于预测的轮数可能更少。
题干与完整题解免费阅读第 1 / 1 页
本页 1 道,共 1 道浏览其他领域
答:n_estimators 是 scikit-learn 接口的提升轮数预算,原生 xgboost.train 对应 num_boost_round。使用早停时,实际运行和最终用于预测的轮数可能更少。