Fix #3663: Allow sklearn API to use callbacks (#3682)

* Fix #3663: Allow sklearn API to use callbacks

* Fix lint

* Add Callback API to Python API doc
This commit is contained in:
mrgutkun
2018-09-07 23:51:26 +03:00
committed by Philip Hyunsu Cho
parent 5a8bbb39a1
commit 4b43810f51
4 changed files with 104 additions and 53 deletions

View File

@@ -53,3 +53,15 @@ Plotting API
.. autofunction:: xgboost.plot_tree
.. autofunction:: xgboost.to_graphviz
.. _callback_api:
Callback API
------------
.. autofunction:: xgboost.callback.print_evaluation
.. autofunction:: xgboost.callback.record_evaluation
.. autofunction:: xgboost.callback.reset_learning_rate
.. autofunction:: xgboost.callback.early_stop