[Breaking] Fix custom metric for multi output. (#5954)

* Set output margin to true for custom metric.  This fixes only R and Python.
This commit is contained in:
Jiaming Yuan
2020-07-29 19:25:27 +08:00
committed by GitHub
parent 75b8c22b0b
commit 18349a7ccf
7 changed files with 41 additions and 13 deletions

View File

@@ -40,9 +40,9 @@ General Parameters
- Number of parallel threads used to run XGBoost
* ``disable_default_eval_metric`` [default=0]
* ``disable_default_eval_metric`` [default=``false``]
- Flag to disable default metric. Set to >0 to disable.
- Flag to disable default metric. Set to 1 or ``true`` to disable.
* ``num_pbuffer`` [set automatically by XGBoost, no need to be set by user]