Professional Documents
Culture Documents
Soft Computing 300
Soft Computing 300
Soft Computing 300
300 (3)
Dr. Lekshmi R. R.
Asst. Prof.
Department of Electrical & Electronics
Engineering
Amrita School of Engineering 1
Adaptive Linear Neuron
(ADALINE)
Architecture
1
𝑏 Single layer neural network
𝑥1 𝑋1 𝑤1
y
𝑤2 𝑌
𝑥2
𝑋2
𝑦𝑖𝑛 = 𝑏 + 𝑥𝑖 𝑤𝑖
𝑖=1
Step 5: Set output activation functions
1 𝑖𝑓 𝑦𝑖𝑛 ≥ 0
𝑦=ቊ
−1 𝑖𝑓 𝑦𝑖𝑛 < 0
Design an ADALINE to implement OR gate
No. of inputs: 3 Weight Value
x1 x2 1 t
𝑤1 0.1
1 1 1 1 No. of outputs:1
𝑤2 0.2
1 -1 1 1
b 0.3
-1 1 1 1
-1 -1 1 -1 𝐧𝐞𝐰
Epoch 1 𝒘𝒊 = 𝒘𝒊 𝒐𝒍𝒅 + 𝜶(𝒕 − 𝒚)𝒙𝒊
𝒃𝐧𝐞𝐰 = 𝒃𝒐𝒍𝒅 + 𝜶(𝒕 − 𝒚)
α= 0.1 𝑦 = 𝑦𝑖𝑛