Add tests for pickling with custom obj and metric. (#9943)

This commit is contained in:
Jiaming Yuan
2024-01-04 14:52:48 +08:00
committed by GitHub
parent 26a5436a65
commit 5f7b5a6921
6 changed files with 65 additions and 28 deletions

View File

@@ -279,7 +279,6 @@ available at :ref:`sphx_glr_python_examples_custom_softmax.py`. Also, see
Scikit-Learn Interface
**********************
The scikit-learn interface of XGBoost has some utilities to improve the integration with
standard scikit-learn functions. For instance, after XGBoost 1.6.0 users can use the cost
function (not scoring functions) from scikit-learn out of the box: