internalsGet Pro

Module 10 · Lesson 4 of 12Pro

Recurrent networks for sequences

Level
Intermediate
Topic
Deep learning architectures
Reading time
18 min

When you finish this page you can

  1. Explain how a recurrent network reads a sequence one step at a time, with one shared set of weights and a hidden state.
  2. 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.
  3. Build and compare RNN, GRU and LSTM sequence classifiers in PyTorch on made-up customer histories, and read what the results show.
  4. Choose between window features, a recurrent network and attention for a sequence task, and say what would change the choice.
  1. Backpropagation: how neural networks learn17 min
  2. Building a neural network in PyTorch14 min
  3. Weight initialization and unstable gradients16 min

The late delivery the model never sees

is our example online store. Every Monday, Joseph’s growth team sends ₹100 vouchers to the customers most likely to . Farah, an ML engineer, builds the model that picks them.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan