Deep Learning · TEE · section

The one page method map

Formula reference and exam revision

Question clueFirst actionCore formula or check
Neuron outputMultiply each input by its matching weightz=\sum_iw_ix_i+bLaTeX: z=\sum_iw_ix_i+b, then activate
Network predictionFinish one whole layer before the nexth=f(Wx+b)LaTeX: h=f(Wx+b)
BackpropagationState loss then prediction-minus-targetdelta times sending activation
Optimizer updateIdentify current gradient and stored stateold parameter minus update
CNN dimensionsWrite N K S P and channels\left\lfloor\frac{N+2P-K}{S}\right\rfloor+1LaTeX: \left\lfloor\frac{N+2P-K}{S}\right\rfloor+1
CNN parametersCount one filter then all filters(K^2C_{\mathrm{in}}+1)C_{\mathrm{out}}LaTeX: (K^2C_{\mathrm{in}}+1)C_{\mathrm{out}}
PoolingDraw every valid windowMaximum, or mean of the window
Dense parametersCount connections and receiving biases(N_{\mathrm{in}}+1)N_{\mathrm{out}}LaTeX: (N_{\mathrm{in}}+1)N_{\mathrm{out}}
RNN hidden stateAdd new-input and old-state transforms\tanh(W_{xh}x+W_{hh}h_{t-1}+b)LaTeX: \tanh(W_{xh}x+W_{hh}h_{t-1}+b)
LSTMRetain old add new then exposeRetain old cell, add admitted candidate, then apply output gate
GRUCheck the stated z conventionh=(1-z)h_{t-1}+z\widetilde hLaTeX: h=(1-z)h_{t-1}+z\widetilde h