perhaps last typo...grrr

This commit is contained in:
mhjensen
2018-10-19 06:47:47 +02:00
parent d5af6f12c1
commit 5af12ffde4
9 changed files with 12 additions and 12 deletions
@@ -390,7 +390,7 @@ $$
where the superscript \( l-1 \) indicates that these are the outputs from layer \( l-1 \).
Our cost function at the final layer \( l=L \) is now
$$
\mathcal{C}(\hat{W}) = - \sum_{i=1}^n \left(t_i\log{a_i^L}+(i-t_i)\log{(1-a_i^L)}\right),
\mathcal{C}(\hat{W}) = - \sum_{i=1}^n \left(t_i\log{a_i^L}+(1-t_i)\log{(1-a_i^L)}\right),
$$
where we have defined the targets \( t_i \). The derivatives of the cost function with respect to the output \( a_i^L \) are then easily calculated and we get