4个等式

说明1:以下公式中的C都是指CxC_x

等式一:输出层上的error

公式说明: CajL\frac{\partial C}{\partial a^L_j}代表当ajLa^L_j变化时C的变化有多快。 σ(zjL)\sigma'(z^L_j)代表在zjLz^L_j激活函数σ\sigma变化有多快。 将公式(BP1)写成矩阵形式为:

例如在上一章中使用的二次代价函数Cx=12yaL2C_x = \frac{1}{2} \|y-a^L \|^2,其对应的error计算公式为:

等式二:根据下一层计算当前层的error

we can think intuitively of this as moving the error backward through the network, giving us some sort of measure of the error at the output of the lth layer. We then take the Hadamard product ⊙σ′(zl). This moves the error backward through the activation function in layer l, giving us the error δl in the weighted input to layer l.

[?] 这一段不太懂?

通过公式(BP1)和公式(BP2)的结合,可以计算出每一层每一个神经元的error。

等式三:bias公式

等式四:weights公式

Last updated