Can someone point me to basic for calculating dW[2] and db[2]

Here’s a thread with links to the derivations for back propagation and background math information.

That thread was linked from a topic on the DLS FAQ Thread, which is worth a look if that is news to you.

1 Like