Week 2 Practice Lab Score Issue

Hi,

After passing all the tests, my Code Cell UNQ_C2 is still coming out incorrect. I’m unsure what the problem is as my code runs perfectly fine and passes all the test cases even after double-checking with the hints.

There is apparently an error in your gradient_descent() code, because it doesn’t give the correct results for the data set the grader uses to test your code.

Look for issues like use of global variables, or relying on a fixed number of examples or features. These are the most common issues.

1 Like

Can i DM you my code so you can take a look at it?

I looked through all my global variables but still couldn’t figure it out.