AssertionError: Wrong values for grads[‘dw’]. [[-0.00154399]
[-0.00492761]] != [[0.99845601]
[2.39507239]]

I verified with the public_test.py and realised the value of Y is different. In the notebook, the value of Y is Y = np.array([[1, 0, 1]]). While in the public test.py the value of Y is np.array([[1, 1, 0]].

Could it be that you don’t have the latest version of the notebook? You can get it by clicking on Help in the top right corner and then clicking the button Get latest version. Before doing that I would recommend you to save your current notebook as I guess it will remove your previous work. For example, you could save your current notebook using the “Save as” function so you have it as reference.