Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Don't pass `callbacks=None` to `XGBoostSklearnEstimator._fit` The original implmentation would pass `callbacks=None` to `XGBoostSklearnEstimator._fit` and eventually lead to a `TypeError` of `XGBModel.fit() got an unexpected keyword argument 'callbacks'`. This PR instead does not pass the `callbacks=None` parameter to avoid the error. * Update setup.py to allow for xgboost 2.x --------- Co-authored-by: Li Jiang <bnujli@gmail.com>
- Loading branch information