#How to implement this in Python only using Numpy
11 messages · Page 1 of 1 (latest)
What's your question?
im trying to build a NN using only numpy and im getting confused with the back propagation part , even though all the theory asks of me to use the chain rule , all the python implementations seem to use different methods
https://towardsdatascience.com/building-a-deep-neural-network-from-scratch-using-numpy-4f28a1df157a like this one
ive already implemented the method in this article and it does work , but i have no idea of how we even got these expressions
What expressions are you confused about?
https://deeplizard.com/learn/video/Zr5viAZGndE#:~:text=individual training sample.-,To calculate the derivative of the loss with respect to,function over all training samples.&text=∂ C ∂ w 12,∂ w 12 ( L ) sorry this is what i am finding hard to implement in python , because the shapes of matrices are not matching when i do the dot product , even though i followed the chain rule as in
i tried direclty pluggin in this method into a python function , but the matrice shapes werent matching and also I have no idea how to find the derivative of the softmax function