Cost Function, Non Convex Optimization, Logistic Regression, Log Loss Function.
turns out to be equal to 0, but we predicted that you know, Y is equal to 1 with almost certainty with probability 1, then we end up paying a very large cost. Let’s plot the cost function for the case of Y equals 0. So if Y equals 0 that’s going to be our cost function. If you look at this