I have an issue with the ex 4 in the Assignment of Single Perceptron Neural Networks for Linear Regression, I tried to call out each variable properly but still the same output:
TypeError Traceback (most recent call last)
in
----> 1 w3_unittest.test_forward_propagation(forward_propagation)
~/work/w3_unittest.py in test_forward_propagation(target_forward_propagation)
289
290 for test_case in test_cases:
→ 291 result = target_forward_propagation(
292 test_case[“input”][“X”],
293 test_case[“input”][“parameters”],
TypeError: forward_propagation() takes 2 positional arguments but 3 were given
Those are only two arguments, is there any way I can update the copy of the programming assignment?, I am a pretty newbie taking these courses, what would be the procedure?
I just updated the notebook and reboot the assignment but I am still getting the same error:
TypeError Traceback (most recent call last)
in
----> 1 w3_unittest.test_forward_propagation(forward_propagation)
~/work/w3_unittest.py in test_forward_propagation(target_forward_propagation)
289
290 for test_case in test_cases:
→ 291 result = target_forward_propagation(
292 test_case[“input”][“X”],
293 test_case[“input”][“parameters”],
TypeError: forward_propagation() takes 2 positional arguments but 3 were given
Now is working, I passed the 3 arguments and it worked, not sure if was something that I forgot to close the browser one last time, but once I closed it and reopen it, ran the cell and worked, appreciate!