- Link to the classroom : /notebooks/C2_W1_Assignment.ipynb at Coursera
- Following the instructions of NumPy Model Implementation (Forward Prop in NumPy, I create a function definition to apply np.dot to my_dense function. Regardless double check the hints which matches with what I did I don´t have the expected results of: [0.54735762 0.57932425 0.61063923] after executing the notebook step called “Quick Check”. Instead I obtained: [0.54735762 0. 0. ]
After that, once I executed the step to invoke test_c2(my_dense) I got this error, which I am stucked:
AssertionError Traceback (most recent call last)
in
1 # UNIT TESTS
2
----> 3 test_c2(my_dense)
~/work/public_tests.py in test_c2(target)
41 assert A_tst.shape[0] == len(b_tst)
42 assert np.allclose(A_tst, [10., 20.]),
—> 43 “Wrong output. Check the dot product”
44
45 b_tst = np.array([3., 5.]) # (2 features)
AssertionError: Wrong output. Check the dot product
Please any help or hint