Академический Документы
Профессиональный Документы
Культура Документы
Sargur Srihari
Neuron, a cell
Axon
Dendrite
CSE 555: Srihari
Synapse
Idealization of a Neuron
Common ANN
Linear
Arbitrary
+1
+1
Hidden
Unit
+1
1.5
+1
Input
Unit
-2
0.5
Output
Unit
Input
Units
INPUT PATTERNS
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
Bias
Unit
ACTUAL OUTPUTS
0.91 0.10 0.00 0.07
0.07 0.88 0.06 0.00
0.00 0.10 0.91 0.06
0.07 0.00 0.09 0.90
y =1/(1+e-x)
produces almost the same
output as an ordinary threshold
(a step function) but is
mathematically simpler.
0.5
Its derivative is
0
-10
+10
dy/dx=y(1-y).
2-4-1 ANN
1
xj =
net j
1+ e
CSE 555: Srihari
Calculating Error E
Once the activities of all the output
units have been determined, the network
computes the error E
E=
1
2
(x
tj)
where
xj is the activity level of all the jth
units in the top layer and
tj is the desired target output of the jth
unit.
CSE 555: Srihari
Compute
E
EA j =
= xj tj
x j
CSE 555: Srihari
E
E dx j
=
EI j =
= EA j x j (1 x j )
net j x j dnet j
555: Srihari
This quantity (EI)CSEis
the answer from
step 1 multiplied by the rate at which
E
E net j
=
EWij =
= EI j xi
wij net j wij
CSE 555: Srihari
where
xi = activity level of the ith unit in the previous layer
wij = weight of the connection between the ith and jth
units
xj =
1
1+ e
CSE 555: Srihari
net j
Calculating Error E
Once the activities of all the output units
have been determined, the network
computes the 1error E, which is 2defined by
E = 2 (x j t j )
the expression
where
xj = activity level of the jth unit in the top layer
tj = is the desired output of the jth unit
x j
E
jat which the
1
multiplied
by
the
rate
EI j =
=
= EA j x j (1 x j )
output
as its total input
netofj a unit
xchanges
dnet
j
j
is changed.
CSE 555: Srihari
E
EWij =
=
wij
E net j
= EI j xi
net j wij
= EA j x j (1 x j ) xi = ( x j t j ) x j (1 x j ) xi
CSE 555: Srihari
x j (1 x j )
CSE 555: Srihari