W2_A2_Ex-8_AssertionError: Wrong values for d[‘w’]. [[0.]

I have an AssertionError . Can you help me?

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)
131 assert type(d[‘w’]) == np.ndarray, f"Wrong type for d[‘w’]. {type(d[‘w’])} != np.ndarray"
132 assert d[‘w’].shape == (X.shape[0], 1), f"Wrong shape for d[‘w’]. {d[‘w’].shape} != {(X.shape[0], 1)}"
→ 133 assert np.allclose(d[‘w’], expected_output[‘w’]), f"Wrong values for d[‘w’]. {d[‘w’]} != {expected_output[‘w’]}"
134
135 assert np.allclose(d[‘b’], expected_output[‘b’]), f"Wrong values for d[‘b’]. {d[‘b’]} != {expected_output[‘b’]}"

AssertionError: Wrong values for d[‘w’]. [[0.]
[0.]
[0.]
[0.]] != [[ 0.08639757]
[-0.08231268]
[-0.11798927]
[ 0.12866053]]

Retrieve parameters w and b from dictionary “params” - were wrong

Hi @Pavel_Kuzauka ,

There is no Ex8 for MLS Course 1 week2. Please check.

I believe this refers to the DLS course, as the folder path refers to W2A2. That’s a DLS-style reference.

Confirmed, this is from DLS Course 1, Week 2, Assignment 2.

I’ll move it to the DLS forum.