Adaline Network: W Output
Adaline Network: W Output
W11
output
[ ] W12
∑
W1r
BIAS
Direct Weight
Adjustment or
Iterative Training
Algorithm
TARGET
n= w11p1 + w12p2 + b
a= purelin(n) = n
a= w11p1 + w12p2 + b
w12p2 =- w11p1 - b
Let X= * + = [ ]
Z= * +=[ ]
n = wTp + b
a = purelin(n)=n
In matrix notation,
a= [ ] [ ] = XTZ
e = t-a =t-XTZ
e2 = (t- XTZ)2
X=R-1h
2
gk = F(x) = (k) = =
[ ] [ ]
e(k) =t(u) – a(k)
e(k) = t(k) –wTp(k)+b
e(k) = t(k) – ( w1ipi(k)+ b)
= 0- p1(k)-0……+0= -p1(k)
xk+1 = xk -α gk
[ ] = [ ] +2 αe(k) [ ]
OR
W(k+1) =w(k)+2αe(k)p(k)
B(k+1) = b(k)+2αe(k)
These two equations are LMS algorithm or Widrow Hoff learning algorithm
or delta rule
xk+1= xk-αkgk
W(k+1) =w(k)+2αe(k)pT(k)
B(k+1) = b(k)+2αe(k)
PROBLEM:
p1 =* + t1 =1 ; p2 = * + t2= -1
Train the network using LMS algorithm with the initial guess set to zero &
learning rate α = 0.25. Neglect bias.
a(k) = purelin(wTpk)
p1 is applied
= [ ] + 2*0.25* [ ] =[ ]
p2 is applied.
=[ ] [ ]
=[ ]
Noise cancellation
System identification
Inverse sysyem modeling
Prediction
f1(n(t)) f2(n(t))
LMS
Algorithm
error
output of
adaptive filter
Adaptive filter
adaline
Inverse System Modeling
output of filter
input System whose Adaptive filter
inverse model (adaline) for
is to be found inverse system
modeling
Training
algorithm
Delay
Prediction
signal
Actual value of current
sample (target)
LMS
D algorithm
error
Past D
samples Adaptive filter
of signal (adaline) for Predicted value
D prediction of current
sample