I am working through the Week 3 Lab.
I have provided a solution on Exercise 3 that gives a correct answer for all tests.
But on the second test that is like this:
# Compute and display cost and gradient with non-zero w and b
test_w = np.array([ 0.2, -0.5])
test_b = -24
I am facing an assertion error claiming test_w.shape should be (3, ) and equal to my dj_dw shape.
Obviously they both should be two right?
Please look into the 54th line of the public_tests.py
Could you share a screenshot of the assertion error you are encounter with a mention for which exercise you are encountering. While taking the screenshot please make sure not to take screenshot of any part of grade cell codes, only the error output.
Remember any error encounter on a subsequent test cell can happen if the implementation on your codes were not implemented from a global variable point of view. To be specific one need to have a look on your error to even suggest what might be wrong.