I’m getting 10/20 on update_parameters when I submit the assignment for grading. However, when I run the notebook, I get an exact match for the output of the function and the expected output and the unit test passes.
Here’s the output from the grader:
Failed test case: "default_check". Wrong array W1..
Expected:
[[ 0.01794023 0.0043047 ]
[ 0.00104143 -0.01872273]],
but got:
[[ 0.01792225 0.00432483]
[ 0.00101594 -0.01869346]].
Failed test case: "default_check". Wrong array b1..
Expected:
[[-1.84034762e-06]
[-2.54245039e-06]],
but got:
[[-1.22689841e-06]
[-1.69496693e-06]].
Failed test case: "default_check". Wrong array W2..
Expected:
[[-0.0015988 -0.00260943]],
but got:
[[-0.0019905 -0.00292215]].
Failed test case: "default_check". Wrong array b2..
Expected:
[[0.00283435]],
but got:
[[0.00188957]].
Failed test case: "extra_check". Wrong array W1..
Expected:
[[-0.00081229 -0.00628698]
[-0.00044829 -0.00476073]],
but got:
[[-0.00081985 -0.0062785 ]
[-0.00044323 -0.00476645]].
Failed test case: "extra_check". Wrong array b1..
Expected:
[[-3.36004448e-07]
[ 2.28585674e-07]],
but got:
[[-1.68002224e-07]
[ 1.14292837e-07]].
Failed test case: "extra_check". Wrong array W2..
Expected:
[[-0.01309373 0.00889263]],
but got:
[[-0.01311619 0.00886943]].
Failed test case: "extra_check". Wrong array b2..
Expected:
[[0.0001042]],
but got:
[[5.21e-05]].