You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two training APIs. One is xgboost.train that returns a Booster object; One is Scikit Learn API like XGBRegressor.fit that belongs to a xgboost.sklearn.XGBModel object.
We choose the former because the latter is directly supported (need to call get_booster) by SHAP as described at #727 (comment).
Activity
tonyyang-svail commentedon Sep 3, 2019
There are two training APIs. One is
xgboost.trainthat returns aBoosterobject; One is Scikit Learn API likeXGBRegressor.fitthat belongs to axgboost.sklearn.XGBModelobject.We choose the former because the latter is directly supported (need to call
get_booster) by SHAP as described at #727 (comment).Yancey0623 commentedon Sep 3, 2019
Hi @tonyyang-svail ,thanks for your remind, would use the
xgboost.trainAPI.shendiaomo commentedon Dec 16, 2019
Can we close this issue now? @Yancey1989 @typhoonzero @tonyyang-svail
Yancey0623 commentedon Dec 31, 2019
@shendiaomo sure, thanks for reminding.