pub fn logit_loss_gradient(y: ValueType, f: ValueType) -> ValueType
Log-likelyhood gradient calculation.