Cost Function, Gradient Descent.
for examples known in our training set, Y is always equal to 0 or 1. Right? That’s sort of part of the mathematical definition of Y. Because Y is either 0 or 1. We’ll be able to come up with a simpler way to write this cost function. And in particular, rather than writing out this cost function on