Problem with assignment week 2

Can sb explain this error?

AssertionError Traceback (most recent call last)
in
1 from public_tests import *
2
----> 3 model_test(model)

~/work/release/W2A2/public_tests.py in model_test(target)
121 assert type(d[‘w’]) == np.ndarray, f"Wrong type for d[‘w’]. {type(d[‘w’])} != np.ndarray"
122 assert d[‘w’].shape == (X.shape[0], 1), f"Wrong shape for d[‘w’]. {d[‘w’].shape} != {(X.shape[0], 1)}"
→ 123 assert np.allclose(d[‘w’], expected_output[‘w’]), f"Wrong values for d[‘w’]. {d[‘w’]} != {expected_output[‘w’]}"
124
125 assert np.allclose(d[‘b’], expected_output[‘b’]), f"Wrong values for d[‘b’]. {d[‘b’]} != {expected_output[‘b’]}"

The values that your code produces for w in that test case do not agree with what the test case expects. If all your previous functions like optimize and propagate passed their test cases, then the bug is very likely to be in the model function. Common errors are not passing the correct parameters to optimize when you call it from model. E.g. “hard-coding” some of the parameters or omitting to pass the optional parameters (learning rate, iterations …).