Python assignments for the machine learning class by andrew ng on coursera with complete submission for grading capability and re-written instructions.
5.44k
stars
2.15k
forks
source link
TypeError: only size-1 arrays can be converted to Python scalars #96
I am currently on module 2.2 (Gradient descent) of exercise 1, and I can't run the computeCost function.
When I run this code, I get this error.
How can I resolve this?