Getting 95/100 score - Not able to find the issue in my code

Hey everyone! I hope you are well.

After SO MANY assignment submissions and even after the notebook update, I get 95/100 score with 5 points missing from the nn_model function. I checked everything and even started the notebook fresh, and did it again from scratch. However, I don’t seem to be able to find the issue in my code.

The only unittest that shows me any warning is from the forward_propagation function that says: “47 tests passed, 1 test failed,” as it was mentioned in another topic.

Can anybody please help me?

Thank you very much.

I found the issue! Turns out my mistake was in the Sigmoid function as I had used np.e^-z instead of np.exp(-z). However, the grader would cost 5 points from nn_model function instead of the sigmoid function which makes the debugging difficult.

1 Like