Training Algorithms for Pattern Association
Training Algorithms for Pattern Association
UNSUPERVISEDLEARNING NETWORKS
Hebb Rule
Outer Products Rule
1. Hebb Rule
The Hebb rule is widely used for finding the
weights of an associative memory neural network.
The training vector pairs here are denoted as s:t.
The weights are updated until there is no weight
change.
Hebb Rule Algorithm
Training Algorithms for Pattern Association
Step 0: Set all the initial weights to zero, i.e.,
Wij = 0 (i = 1 to n, j = 1 to m)
Step 1: For each training target input output
vector pairs s:t,
perform Steps 2-4.
Step 2: Activate the input layer units to current
training input,
Xi=Si (for i = 1 to n)
Step 3: Activate the output layer units to current
target output,
yj = tj (for j = 1 to m)
2. Outer Products Rule