【发布时间】:2017-08-01 13:02:34
【问题描述】:
我很困惑如何以及在何处使用 Xgboost Scikit API 为多分类设置 num_class 参数。
在scikit网站上,docs中没有这个参数。
xgboost.XGBClassifier(max_depth=3, learning_rate=0.1, n_estimators=100,
silent=True, objective='binary:logistic', nthread=-1, gamma=0,
min_child_weight=1, max_delta_step=0, subsample=1, colsample_bytree=1,
colsample_bylevel=1, reg_alpha=0, reg_lambda=1, scale_pos_weight=1,
base_score=0.5, seed=0, missing=None)
【问题讨论】: