Skip to content
Neural Networks and AI / Sequence Models and Attention

Recurrent Networks for Structured Data

A dense network has no native memory of the order in which observations arrived. For returns, order-book events, text, and other sequences, a prediction often depends on earlier observations. Recurrent neural networks (RNNs) supply a learned state that flows from one time step to the next. This note derives the recurrent update, explains the unrolled-through-time view and its short-memory limitation, and builds a small sequence model.

In this lesson

  1. Learning objectives
  2. Recurrent layers and the unrolled view
  3. Why a basic RNN forgets distant inputs
  4. Worked example

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or explore the curriculum.