Derivative of y_hat wrt z

Shouldn’t the derivative of y_hat wrt z be equal to sigmoid(z) [sigmoid(z) - 1] ?

Hey Avi,

I hope this will help to understand the derivation

Thanks :slight_smile:

after the second line

you have missed a negative sign while taking the derivative of first term.
I’ve updated the link, please check that post

Thanks :slight_smile:

Thanks, got it now :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like