Professional Documents
Culture Documents
Supervised Learning
Classification using
Artificial Neural Networks
nucleus
cell body
dendrites
B C
I
….
G
H
J D Lip
E
F
Eye
Ear ….
.6*.2=.12
j Oj=0.3 Wjp=0.8 p
Op=f(Ip)=f(0.23)=0.557
Op=f(Ip)=f(0.23)=0.557
Ip Wpn=-.4)
Wkp=-0.7
Ok=0.9
k n
Logistic
1
y f ( x) x
1 e
J O : As computed by J
T : True output for the input record
…… e = O (1-O )(T -O )
Example: T = 1 (that is, defaulter. Truth)
O = 0.63 (as predicted by ANN)
Error e = 0.63*(1-0.63)*(1-0.63) = .086247
θ =0.2
J O : As computed by J
T : True output for the input record
…… e = O (1-O )(T -O )
Example: T = 1 (that is, defaulter. Truth)
O = 0.63 (as predicted by ANN)
Error e = 0.63*(1-0.63)*(1-0.63) = 0.086247
Δ θ = L* e , L is the Learning Rate (=.9 say)
=0.9*.086247 = 0.077622
θ =θ +Δ θ = 0.2+0.9*0.086247=0.277622
Wpm=-.3 e =.012
p
O =.7 .....
Wpn=.6
e =O (1-O )∑ (W *e ) e =-.003
=.7 * (1-.7) * (-0.3*0.012 + 0.6(-0.003))=0.2046
p
O =.7, ep=0.2046 .....
Wpn=.6
n
ΔW = L*O *e =0.9*0.7*0.012=.00756
Wpm = Wpm + ΔWpm = -0.3 + .00756 =-0.29244
Similarly, ∆Wpn, and new value of Wpn
e =-.003
Δ θp = L* e = 0.9*0.2046 = 0.18414
θp = θp + Δ θp = 0.05+0.18414 = 0.23414