why it give error
I’m not a mentor for this course, but the following tips might be helpful:
Something is causing your sigmoid() function to break.
Your code calls it with the results of np.matmul().
These could be related.
Have you considered using np.exp() instead of math.exp()?
I think you should use numpy exp since it should return an array.
Hey @Najumuddeen_Kubra,
Please note that this is a known issue with this assignment, as you can read in this thread. The team is working to rectify this issue. Apologies for the inconvenience.
Cheers,
Elemento
Hey @Najumuddeen_Kubra,
The test-cases have been updated. If your implementation is correct, it should pass all the test-cases know. Please let us know in case of any further issues.
Cheers,
Elemento
Okay, Thank you