Hopfield Network - 3 Neurons

Step by step execution until convergence
Phase 1: Learning
Select patterns to store in the network.
Weights will be calculated automatically using the Hebb rule.
JAB = 0 JAC = 0 JBC = 0 A B C − − −

Select patterns to store (A, B, C):

Weight Matrix:

J A B C
A 0 0 0
B 0 0 0
C 0 0 0
State (A,B,C) Energy E Stored?
Phase 2: Execution
Select an initial state and run the network step by step.

Select initial state (A, B, C):

Select initial state

Current Energy:

E = 0
Execution History
All steps from start to convergence
Current State
C +1 A +1 B +1
Step A B C Energy E Updated Neuron