def hessian(self, y_pred):
        expits = expit(self.y_signed * y_pred)
        return self.sample_weight * expits * (1 - expits)
dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/losses.py/BinomialDevianceLossFunction.hessian/original