Skip to content

Commit adf87b2

Browse files
authored
[doc] Fix tutorial for advanced objectives (dmlc#10725)
1 parent 508ac13 commit adf87b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorials/advanced_custom_obj.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ point, which means it will be a minimum rather than a maximum or saddle point).
360360
361361
But note that this is still not usable for XGBoost, since the expected
362362
Hessian, just like the true Hessian, has shape ``[nrows, k, k]``, while
363-
XGBoost requires something with shape ``[k, k]``.
363+
XGBoost requires something with shape ``[nrows, k]``.
364364

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

0 commit comments

Comments
 (0)