|
Notation |
Equation |
Dimensions |
Layers |
| Input |
 |
(given) |
 |
(global) |
| Output |
 |
(given) |
 |
(global) |
| Feedforward |
![{\displaystyle \overbrace {{\biggl (}{\color {red}X\equiv A_{0}}{\biggr )}} ^{\text{input}}{\xrightarrow[{\color {green}W_{1}\ b_{1}}]{}}\overbrace {{\biggl (}Z_{1}{\xrightarrow[{g()}]{}}{\color {blue}A_{1}}{\biggr )}{\xrightarrow[{\color {green}W_{2}\ b_{2}}]{}}{\biggl (}Z_{2}{\xrightarrow[{g()}]{}}{\color {blue}A_{2}}{\biggr )}\twoheadrightarrow {\biggl (}Z_{\ell }\rightarrow {\color {blue}A_{\ell }}{\biggr )}\twoheadrightarrow {\biggl (}Z_{L-1}\rightarrow {\color {blue}A_{L-1}}{\biggr )}} ^{\text{hidden}}{\xrightarrow[{\color {green}W_{L}\ b_{L}}]{}}\overbrace {{\biggl (}Z_{L}{\xrightarrow[{g()}]{}}{\color {blue}A_{L}\equiv {\hat {Y}}}{\biggr )}} ^{\text{output}}}](//wikimedia.org/api/rest_v1/media/math/render/svg/9d48f22b065ab74a5427ba4880abd62b6d956ddc) |
| Weight |
 |
(given / calculated) |
 |
 |
| Bias |
 |
(given / calculated) |
 |
 |
| Input |
 |
 |
 |
 |
| Weighted Input |
 |
 |
 |
 |
| Activation |
 |
 |
 |
 |
| Predicted Output |
 |
 |
 |
 |
| Backpropagation |
![{\displaystyle \overbrace {{\biggl (}{\begin{matrix}\quad \\\quad \\\quad \end{matrix}}{\biggl )}} ^{\text{input}}\quad \overbrace {{\biggl (}{\begin{matrix}E_{1}\\\downarrow \\\color {green}\Delta {W_{1}}\ \Delta {b_{1}}\end{matrix}}{\biggr )}{\xleftarrow[{W_{2}\ g'(Z_{1})}]{}}{\biggl (}{\begin{matrix}E_{2}\\\downarrow \\\color {green}\Delta {W_{2}}\ \Delta {b_{2}}\end{matrix}}{\biggr )}\twoheadleftarrow {\biggl (}{\begin{matrix}E_{\ell }\\\downarrow \\\ \end{matrix}}{\biggr )}\twoheadleftarrow {\biggl (}{\begin{matrix}E_{L-1}\\\downarrow \\\ \end{matrix}}{\biggr )}} ^{\text{hidden}}{\xleftarrow[{W_{L}\ g'(Z_{L-1})}]{}}\overbrace {{\biggl (}{\begin{matrix}E_{L}\\\downarrow \\\color {green}\Delta {W_{L}}\ \Delta {b_{L}}\end{matrix}}{\xleftarrow[{g'(Z_{L})}]{}}({\color {blue}{\hat {Y}}}-{\color {red}Y}){\biggr )}} ^{\text{output}}}](//wikimedia.org/api/rest_v1/media/math/render/svg/08c66d62fe0d5c6764bb68cd824f92996388b7bc) |
Loss Function (CE or MSE) |
 |
 |
 |
 |
| Cost Function |
 |
 |
(scalar) |
(global) |
| Optimization |
 |
 |
|
|
| Output Error |
 |
 |
 |
 |
| Hidden Error |
 |
 |
 |
 |
Weight Update (Gradient Descent) |
 |
 |
 |
 |
Bias Update (Gradient Descent) |
 |
 |
 |
 |