I kept getting the AssertionError on compute_cost and compute_gradient. I had tried plenty of times to check if there is an error in my code, but still can’t figure it out. Because w, b are both scalar so I didn’t use np.dot to do the vectorization, I use x[i]*w instead. But still getting the same error . Can anyone help me to sort the issue out, very appreciated !
Learner is trying to resolve the problem.