参考:Illustrated Guide to Recurrent Neural Networks
参考:Illustrated Guide to LSTM’s and GRU’s: A step by step explanation
参考:Understanding LSTM Networks
参考:Recurrent Neural Networks | MIT 6.S191 —— YouTube
参考:The Unreasonable Effectiveness of Recurrent Neural Networks
参考:Anyone Can Learn To Code an LSTM-RNN in Python (Part 1: RNN)
参考:The Unreasonable Effectiveness of Recurrent Neural Networks
RNN
feed forward
- input1 -> hidden layer1 -> output1
- (hidden layer1 + input2) -> hidden layer2 -> output2
- (hidden layer2 + input3) -> hidden layer3 -> output3
- (hidden layer3 + input4) -> hidden layer4 -> output4
back propagation(橙色是权重更新)
- W_hy4 -> W_xh4
- W_hy3 -> W_xh3
- W_hy2 -> W_xh2
- W_hy1 -> W_xh1
RNN形式
LSTM
gif