Figure 5-5 correspondence between the variables in the code

The correspondence relationship is as follows:

Here Insert Picture Description
Code inside dprice 1 Why is it?
Because we know the actual neural networks, back-propagation of the first item is
E Y 2 \frac{\partial E}{\partial y_2}

So here for the convenience of the reader's understanding, there is no concept of E leads.
So the meaning here is dprice Y 2 Y 2 \ Frac {y_2 y_2} {}

So the above are:
Y 2 x 2 = 1.1 \ Frac {} y_2 = x_2} {1.1
d a p p l e _ p r i c e = y 2 y 2 y 2 x 2 = 1 1.1 = 1.1 dapple\_price=\frac{\partial y_2}{\partial y_2}·\frac{\partial y_2}{\partial x_2}=1·1.1=1.1
d a p p l e = y 2 y 2 y 2 x 2 x 2 y 1 y 1 x 1 = 1 1.1 1 2 = 2.2 dapple=\frac{\partial y_2}{\partial y_2}·\frac{\partial y_2}{\partial x_2}·\frac{\partial x_2}{\partial y_1}·\frac{\partial y_1}{\partial x_1}=1· 1.1·1·2=2.2

Note that there is still not related to the introduction of amendments to calculate weights, so in fact and real neural networks were far worse

Guess you like

Origin blog.csdn.net/appleyuchi/article/details/91347591