def hessian(self, y_pred):
        expits = expit(self.y_signed * y_pred)
        return self.sig_w * expits * (1 - expits) + self.bck_w * 0.25 * numpy.exp(0.5 * y_pred)


# region MatrixLossFunction
dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/losses.py/CompositeLossFunction.hessian/original