To compute cost and gradient for a logistic regression problem:the function returns only zeroes even though the correct value is being computed(I know it because I executed the function body separately in command line and checked)
There is a problem somewhere in your data manipulation. the cost function is right. I started from the beginning for the grad...
1 year ago | 0