Cost Function, Gradient Descent.
term, which is minus log, 1 minus H of X. And you can verify that this term here is just exactly what we had for when Y is equal to 0. So this shows that this definition for the cost is just a more compact way of taking both of these expressions, the cases Y equals 1 and Y equals 0, and writing