标签: python-3.x xgboost
在使用Xgboost.sklearn.XGBclassifier的python中,我们有一个参数“n_estimators”表示我们在训练模型时可以选择的树数,但是我没有找到任何与xgboost.train()相关的参数,是有没有办法在xgboost.train()中添加树的数量?
答案 0 :(得分:0)
使用num_boost_round
另见:
http://xgboost.readthedocs.io/en/latest/python/python_api.html