Cost Function, Gradient Descent.
that’s equal to minus log H of X. And this equation is exactly what we have up here for if Y is equal to one. The other case is if Y is equal to 0. And if that is the case then, writing of the cost function is saying that if Y is equal to zero, then this term here, will be equal to zero. Whereas 1