Cost Function, Gradient Descent.
the cost function that we had up here. Let’s see why that’s the case. We know that there are only 2 possible cases. Y must be 0 or 1. So let’s suppose Y equals 1. If Y is equal to 1 then this equation is saying that the cost is equal to. Well if Y is equal to one, then this thing here is equal to