How to compute derivative of exponent with power? [solved]

36 Views Asked by At

I was finding derivative of p(x,w) wrt dw given function below,

$$ P( y=1 \; \big| \; x, \, w) = \dfrac{1}{1 + \exp(- \langle w. x \rangle)} $$

was able to compute some parts as $$ P(y=1 \; \big| \; x,\,w) = \dfrac{1}{\sqrt{1 + \exp(-(w.x))}} * d(\exp(-(w.x))$$

but stuck in $$\dfrac{d(\exp(-(w.x))}{d(w)}$$

I tried to solve it as but i think i am wrong $$ -(w)\exp(-w.x) $$

Any help? Thanks