[doc] Fix tutorial for advanced objectives (#10725)

This commit is contained in:
david-cortes
2024-08-20 20:52:50 +02:00
committed by GitHub
parent 508ac13243
commit adf87b27c5

View File

@@ -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 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 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 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 possible to do better: one can use instead an upper bound with diagonal