Model algorithm

Randomly initialize the coefficients w i j

Let x ( n ) = { x 1 ( n ) , , x p ( n ) } , the entrance
Let d ( n ) = { d 1 ( n ) , , d m ( n ) } , the exit
μ is a positive constant
a i is the activation value of the neuron N i
beginning
Repeat:
Take a couple (x, d) in S
Output Error Calculation
Error back-propagation to inputs
Calculate network output for input x y *
If d y *
Weight update:#Math_30#

w i j = w i j + μ ( a i a j )

End if
end repeat
Let D be the test basis
Application of Bayes’ Theorem
End