C2_W4_Assignment- facing issue with the assignment grading

Hey @Nooshin_Pourkamali,
Welcome, and we are glad that you could become a part of our community :partying_face:

First of all, apologies for the delayed response. I went through your notebook that you shared. Looks like, you, @Tarun_Singhal and and @Sanjay.kumar1625 are facing a common issue. After your started working on the assignment, looks like the assignment and some of the test-cases have been updated. So, ultimately, the instructions included are outdated, however the test-cases are latest, and as a result, your code is failing the test-cases.

Can I please request you guys to refresh your notebook once? You can find the instructions here. Also, once you have refreshed your notebook, please confirm the following, so that we can be sure that you guys have indeed obtained the latest version of the notebook:

  • In the older version, the starting comments in the back_prop function are as follows:
### START CODE HERE (Replace instanes of 'None' with your code) ###
# Compute l1 as W2^T (Yhat - Y)
  • In the latest version, the starting comments in the back_prop function are as follows:
# Compute z1 as "W1⋅x + b1"
z1 = np.dot(W1, x) + b1
  
### START CODE HERE (Replace instanes of 'None' with your code) ###

Please let us know if this helps.

Cheers,
Elemento

1 Like