Skip to content

Commit

Permalink
[doc] Fix tutorial for advanced objectives (#10725)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes authored Aug 20, 2024
1 parent 508ac13 commit adf87b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorials/advanced_custom_obj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ point, which means it will be a minimum rather than a maximum or saddle point).
But note that this is still not usable for XGBoost, since the expected
Hessian, just like the true Hessian, has shape ``[nrows, k, k]``, while
XGBoost requires something with shape ``[k, k]``.
XGBoost requires something with shape ``[nrows, k]``.

One may use the diagonal of the expected Hessian for each row, but it's
possible to do better: one can use instead an upper bound with diagonal
Expand Down

0 comments on commit adf87b2

Please sign in to comment.