Cost Function, Gradient Descent.
minus Y, if Y equals zero, would be equal to 1, because 1 minus Y becomes 1 minus 0, which is just equal to 1. And so the cost function simplifies to just this last term here. Right? Because the first term over here gets multiplied by zero, and so it disappears. So we’re just left with this last