Perceptron
Perceptron
300 (3)
Dr. Lekshmi R. R.
Asst. Prof.
Department of Electrical & Electronics
Engineering
Amrita School of Engineering 1
Perceptron
Introduction
• More powerful learning rule
• Has 3 layers
– Sensory unit
– Associative unit
– Response unit
1 𝑖𝑓 𝑦𝑖𝑛 > 𝜃
𝑦 = ቐ 0 𝑖𝑓 −𝜃 ≤ 𝑦𝑖𝑛 ≤ 𝜃
−1 𝑖𝑓 𝑦𝑖𝑛 < −𝜃
• Weights adjusted using perceptron learning rule
𝑤𝑛𝑒𝑤 = 𝑤𝑜𝑙𝑑 + ∆𝑤
∆𝑤 = 𝛼𝑡𝑥𝑖
• 𝑡: target
• 𝛼 : learning rate
• 𝑥𝑖 : input
Architecture
1
𝑏
Application
𝑥1 𝑋1 𝑤1 Classification
y
𝑤2 𝑌
𝑥2
𝑋2
Perceptron Learning
Step 1: Initialize weights and bias. Step 7: Adjust the weights and bias if error exist
Set learning rate α (0< α<1) (y≠t) new