Week 2 Exercise 5 propagate function

Here are my results from the test cell for propagate:

m = 3
A = [[0.99979657 0.62245933 0.00273196]]
dw = [[ 0.25071532]
 [-0.06604096]]
db = -0.1250040450043965
cost = 0.15900537707692405
m = 4
A = [[0.99849882 0.99979657 0.15446527 0.99966465]]
All tests passed!

My results match the “Expected Values” in the version of the notebook that I have. I’m guessing maybe you have an old version of the notebook. There is a topic on the FAQ Thread about how to refresh to the latest version. Make sure to delete the “dot py” files like public_tests.py when you do the “refresh”.

1 Like