|
Algorithm 1: Training FAM network
|
FNT = Training (F, l)//FNT-Trained FAM Network
//F: Feature Vector, l: Label → Class of the feature vector.
Initialize , NE = 0// = Vigilance Parameter, NE: Count training epochs
While NE < number of training epochs
Ii = F = (a1,a2,…,ad);//d: dimension of feature vector
AI1 = (a1, a2,…,ad,1-a1,1-a2,…,1-ad)
if AI = first input of label l
W = AI
W←l
else for (all j) compute Tj(AI) =
J = argmax (Tj(AI); J: Winner node
if ; vigilance test
if l = J:
else:
While (more winner nodes are available)
While (more training patterns are available)
End
|