Hi Kakarla, it means the cost you computed is not as expected. You probably need to check the implementation of the related function (to compute the cost).
Ok,thank you.
But I have implemented it correctly I don’t know where I have done mistake. mlcoursera.py (1.0)
can you please tell me where i have done wrong?
Hi Kakarla_Sai_Murari, I looked at your code, it seems you have typed
“cost_sum = cost_sum + cost” outside the indentation of for loop. So cost is not being added per iteration of loop. You should use similar identation for
“cost_sum = cost_sum + cost” as you used for earlier lines, in order to it iterate under for loop.