HOPFIELD NETWORK

Draw patterns, train the network, and watch it remember

Tools

Presets

Network

Pattern State
Weight Map
Inhibit
0
Excite
Click a cell on the grid to select a neuron
Wij = 1/N Σp pi · pj
Cyan = neurons that agree across patterns (both ON or both OFF → excitatory).
Red = neurons that disagree (one ON, one OFF → inhibitory).

Neuron Update (Inference Step)

No neuron selected
Click any cell on the grid to inspect how that neuron decides its next state during recall.
The network computes: hi = Σj Wij · sj  →  si = sign(hi)

Stored Patterns

No patterns stored yet
Capacity 0 / 55

Energy Landscape

Energy Landscape

Basins form at stored patterns current state

Energy Trace

Energy Trace

StatusIdle
Steps0
Energy--