Interactive module

Recurrent Network Visualizer

Train an Elman RNN to classify short sequences. Watch hidden state flow through time as the network learns to remember what matters.

How it works

Trending Up vs Down — sequences that consistently rise are class 1; sequences that fall are class 0. The network must track the direction of change over time.

h1h2h3h4h5h6x1x2x3x4x5x60.50ŷInputHidden state (t = 1 … 6)Output

Press Train to start, or use Step to advance one sample at a time.

step0sequences seen
loss—lower = better
ŷ—0 = class 0, 1 = class 1
test loss—held-out sample
test acc—running average