diff --git a/src/objective/lambdarank_obj.h b/src/objective/lambdarank_obj.h index c2222c028582..0771ba499145 100644 --- a/src/objective/lambdarank_obj.h +++ b/src/objective/lambdarank_obj.h @@ -123,7 +123,7 @@ LambdaGrad(linalg::VectorView labels, common::Span pre } auto lambda_ij = (sigmoid - 1.0) * delta_metric; - auto hessian_ij = std::max(sigmoid * (1.0 - sigmoid), Eps64()) * delta_metric * 2.0; + auto hessian_ij = std::max(sigmoid * (1.0 - sigmoid), Eps64()) * delta_metric; auto k = t_plus.Size(); assert(t_minus.Size() == k && "Invalid size of position bias");