Hey everyone, new here.
I wanted to get started with AI, and really learn the fundamentals of it rather just watching a video and coding something up. So I decided to go with the http://neuralnetworksanddeeplearning.com/ website as many of you have probably already seen. Once I reached the part of the site where he explain Backpropagation code I got a bit confused.
My first question was:
In the update_mini_batch block of code, when he updates the weights and biases for the network here:
self.weights = [w-(eta/len(mini_batch))*nw
for w, nw in zip(self.weights, nabla_w)]
self.biases = [b-(eta/len(mini_batch))*nb
for b, nb in zip(self.biases, nabla_b)]
Has he given the formula for how he got that in the explanations before it? If he has which formula is it. I don't quite understand where he is getting those 2 lines from.
And also what are these 2 lines for:
nabla_b = [nb+dnb for nb, dnb in zip(nabla_b, delta_nabla_b)]
nabla_w = [nw+dnw for nw, dnw in zip(nabla_w, delta_nabla_w)]
Thank you