Module 10 · Lesson 4 of 12Pro
Recurrent networks for sequences
- Level
- Intermediate
- Reading time
- 18 min
When you finish this page you can
- Explain how a recurrent network reads a sequence one step at a time, with one shared set of weights and a hidden state.
- Work out why the gradient from an input 179 steps back shrinks to almost nothing in a plain RNN, and how an LSTM’s cell state gives it a path through.
- Build and compare RNN, GRU and LSTM sequence classifiers in PyTorch on made-up customer histories, and read what the results show.
- Choose between window features, a recurrent network and attention for a sequence task, and say what would change the choice.