# Derivation of the Hessian of average empirical loss for Logistic Regression

• How does the y term vanish/get cancelled ?

Shouldn't it be this instead, h here is the Sigmoid function.

• I am trying to understand how the y term vanished in the derivation. Help much appreciated. – Sud K Dec 23 '16 at 20:10