Exercise 4 - sigmoid_derivative

When creating a post, please add:

Facing name error:

NameError Traceback (most recent call last)
in
2 print ("sigmoid_derivative(t_x) = " + str(sigmoid_derivative(t_x)))
3
----> 4 sigmoid_derivative_test(sigmoid_derivative)

NameError: name ‘sigmoid_derivative_test’ is not defined

That means you have not executed the previous cells in the notebook which include the “import” command that defines that function. Try “Cell → Run All Above” and then run your test again. Note that you need to do that everytime you close and reopen the notebook or do “Kernel → Restart”.