Professional Documents
Culture Documents
When an axon of cell A is near enough to excite cell B and repeatedly or persistently takes
place in firing it, some growth process or metabolic change takes place in one or both cells,
such that A's efficiency, as one of the cells firing B, is increased.
Algorithm:
(1)
(2)
and, for neuron i and input j,
(3)
Description
Notes:
=>
f ( wT x ) = sgn ( wT x ),
Let w0 =
x0 =
and
x1 =
z0 = w0T x0 = [ 1.0
-1.0
z = wT x
x2 =
0.0 0.5 ]
= 3
wk+1 = wk + sgn ( zk ) xk
(4)
giving:
w1 =
continuing:
z1 =
-0.25 ,
z2 = -3.0
w2 = w1 + sgn ( z1 ) x1 = w1 - x1
w3 = w2 + sgn ( z2 ) x2 = w2 - x2
Hebbian learning with a threshold function results in adding or subtracting the input
pattern from the weight vector.
Perceptron with
=1
f ( wT x ) =
=>
Let w0 =
x0 =
x1 =
z0 = w0T x0 = [ 1.0
The update is:
-1.0
z = wT x
and
0.0 0.5 ]
x2 =
= 3
wk+1 = wk + f ( zk ) xk , y = f ( z )
(5)
as = 1, thus giving:
w1 =
+ 0.905
continuing:
y1 =
-0.077 ,
w2 = w1 - 0.077 x1 =
y2 = -0.932 ,
w3 = w2 - 0.932 x2 =
w(0) = [0.1 0.1 0.1] are given as initial values for the weights
Pattern set, P =
Desired output, T = [ -1 -1 -1 1 ]
Explanation of Graphs
Solution details:
P =
T = [ -1 1 1 1 ]
The understanding of the graphs is also identical. The only difference being there is now
only one 0 and three 1's.