https://www.coursera.org/learn/neural-networks-deep-learning/programming/isoAV/python-basics-with-numpy

Hi,
I attempted the first practice assignment on Python Basics with Numpy and while I’m able to move forward with the tests it keeps saying 1 test passed and 1 test failed. The assertion error mentions not to use global variables and check your equations. I got the equations right and I am getting the answers for them too but it keeps throwing up the same error for all the exercises. I only entered the equations within the area mentioned to enter the code and haven’t made any other changes.
Can anyone help me out please?

Best regards
Prejith

Hi @PreSam ,

Which exercise are you referring to? Could you also provide a screen shot of the error messages to help locate the problem.

1 Like

Hi,
Thank you. I figured it out myself. It was the sigmoid exercise. I had assigned the variable s to the exponential function instead of the sigmoid function.

Regards
Prejith

2 Likes