The code of this exercise is pretty simple. You have to use dot
for Z1
and Z2
and tanh
for A1
and sigmoid
for A2
. Double-check it.
that is the problem i think i have used the right code but it is still giving this error
If you do this part correctly, you might retrieve parameters from the dictionary “parameters” incorrectly. That is basic Python. Please reread the instructions.
Can I send you the code? I have been double-checking it for 1 hour. Everything seems right according to what I have learned in this course
Click my name and message me your code of this exercise (not the whole notebook) as a private message.
Thank you for sending me your code. You are retrieving b2
from a dictionary incorrectly. Double-check it.
Thank you so much! I have been staring at my code for an hour. Don’t know how I missed that.