Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clip small positive values in gamma-nloglik (#6537)
For the `gamma-nloglik` eval metric, small positive values in the labels are causing `NaN`'s in the outputs, as reported here: #5349. This will add clipping on them, similar to what is done in other metrics like `poisson-nloglik` and `logloss`.
- Loading branch information