You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please give some context in your question?
I assume your question is about function computeCost(X, y, theta=[[0],[0]]) from the first exercise. I just reran the function and I get 32.07 as a cost when using the initial theta values (both zero).
I have figured out the problem. Although I had intuition that the problem was not with the code before posting this question. The problem was with the Ipython version. When I run this same code with Ipython3 then I am able to get the right output. Thank you very much for your response.
The text was updated successfully, but these errors were encountered: