【发布时间】:2017-10-02 00:39:45
【问题描述】:
我正在使用带有提前停止功能的 XGBoost。在大约 1000 个 epoch 之后,模型仍在改进,但改进的幅度非常低。即:
clf = xgb.train(params, dtrain, num_boost_round=num_rounds, evals=watchlist, early_stopping_rounds=10)
是否可以为提前停止设置“tol”?即:不触发提前停止所需的最低改进水平。
Tol 是 SKLearn 模型中的常用参数,例如 MLPClassifier 和 QuadraticDiscriminantAnalysis。谢谢你。
【问题讨论】:
标签: python machine-learning xgboost