Neural Networks: Chapter 20, Section 5
Neural Networks: Chapter 20, Section 5
Neural Networks: Chapter 20, Section 5
Axonal arborization
Synapse
Dendrite Axon
Nucleus
Synapses
Bias Weight
a0 = −1 ai = g(ini)
W0,i
g
ini
Σ
Wj,i
aj ai
g(ini) g(ini)
+1 +1
ini ini
(a) (b)
W1 = 1 W1 = 1
W1 = –1
W2 = 1 W2 = 1
AND OR NOT
W1,3
1 3
W3,5
W1,4
5
W2,3 W4,5
2 4
W2,4
Perceptron output
1
0.8
0.6
0.4
0.2 4
0 2
-4 -2 0 x2
-2
Input Output x1
0 2 -4
Wj,i 4
Units Units
1 1 1
0 0 0
0 1 x2 0 1 x2 0 1 x2
(a) x1 and x2 (b) x1 or x2 (c) x1 xor x2
Wj,i
Hidden units aj
Wk,j
Input units ak
∂E ∂ai ∂g(in i)
= − (yi − ai) = − (yi − ai)
X X
i ∂Wk,j i ∂Wk,j
∂in j
= − ∆iWj,ig 0(in j )
X
i ∂Wk,j
∂
12
10
8
6
4
2
0
0 50 100 150 200 250 300 350 400
Number of epochs
0.9
0.8
0.7
0.4
0 10 20 30 40 50 60 70 80 90 100
Training set size - RESTAURANT data