Rework Python callback functions. (#6199)

* Define a new callback interface for Python.
* Deprecate the old callbacks.
* Enable early stopping on dask.
This commit is contained in:
Jiaming Yuan
2020-10-10 17:52:36 +08:00
committed by GitHub
parent b5b24354b8
commit ab5b35134f
13 changed files with 1180 additions and 275 deletions

View File

@@ -11,4 +11,5 @@ Contents
.. toctree::
python_intro
python_api
callbacks
Python examples <https://github.com/dmlc/xgboost/tree/master/demo/guide-python>