Skip to content

Commit

Permalink
week5神经网络9.3增加对于误差项意义的理解
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Yang committed Apr 9, 2019
1 parent e299843 commit 2dc44ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions markdown/week5.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ Theta1 = reshape(thetaVec(221:231, 1, 11);

![](../images/1542307ad9033e39093e7f28d0c7146c.png)

**感悟**:上图中的 $\delta^{(l)}_{j}="error" \ of cost \ for \ a^{(l)}_{j} \ (unit \ j \ in \ layer \ l)$ 理解如下:

$\delta^{(l)}_{j}$ 相当于是第 $l$ 层的第 $j$ 单元中得到的激活项的“误差”,即”正确“的 $a^{(l)}_{j}$ 与计算得到的 $a^{(l)}_{j}$ 的差。

而 $a^{(l)}_{j}=g(z^{(l)})$ ,(g为sigmoid函数)。我们可以想象 $\delta^{(l)}_{j}$ 为函数求导时迈出的那一丁点微分,所以更准确的说 $\delta^{(l)}_{j}=\frac{\partial}{\partial z^{(l)}_{j}}cost(i)$

### 9.4 实现注意:展开参数

参考视频: 9 - 4 - Implementation Note\_ Unrolling Parameters (8 min).mkv
Expand Down

0 comments on commit 2dc44ac

Please sign in to comment.