I was calculating the gradient descent when i encountered this problem
RuntimeWarning: overflow encountered in add theta1_slope = (-2/n) + sum(y – thetas[1]*x)*x)
I have no idea on what to do since i am new to programming and machine learning
New contributor
peter gichuke is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.