Back to top

me | blogs | notes | tags | categories | feed | home |

Recurrent Neural Networks



tags: RNN Sequence Models
categories: Deep Learning


  • Recurrent neural networks (RNNs) are designed to better handle sequential information. (text and stocks)

  • RNNs introduce state variables(hidden state) to store past information, together with the current inputs, to determine the current outputs.

Figure 1: rnn vs nn

Figure 1: rnn vs nn

Figure 2: a folded rnn

Figure 2: a folded rnn

Figure 3: a unfolded rnn

Figure 3: a unfolded rnn

  • Internal State of RNN
Figure 4: a state diagram,

Figure 4: a state diagram,

Pytorch Implementation

Summary


Links to this note