I know xgboost need first gradient and second gradient, but anybody else has used "mae" as obj function?
I know xgboost need first gradient and second gradient, but anybody else has used "mae" as obj function?
For the Huber loss above, I think the gradient is missing a negative sign upfront. Should be as
grad = - d / scale_sqrt
I am running the huber/fair metric from above on ~normally distributed Y, but for some reason with alpha <0 (and all the time for fair) the result prediction will equal to zero...