Logistic Regression: The Cost Function Is Not Decreasing
I’m a currently doing Andrew Ng course on coursera, I tried to used what I learned about logistic regression on a dataset. But I can’t make the cost function to decrease. I tri
Solution 1:
Fixed, I dont know why i wrote np.sum before the gradient. But now works
grad = lambda h,y,x : x.T@(h-y))/m
Post a Comment for "Logistic Regression: The Cost Function Is Not Decreasing"