Backpropagation, Neural Networks.
for different training examples and stack them as different columns of a matrix, same for this, same for this. Then this is the vectorized implementation. Here’s how you can compute dW². There is this extra 1 over n because the cost function J is this 1 over m of the sum from I equals 1 through m