SlideShare a Scribd company logo
1 of 14
Perceptron
Compiled by : Dr. Kumud Kundu
Perceptron
A perceptron is a simple model of a biological neuron
in an artificial neural network.
A single layer perceptron (SLP)
• Introduced by Frank Rosenblatt in 1957
• Utilized as Supervised Binary Classifier
• A feed-forward network.
• The decision function is a step function and the output is binary.
• SLP is the simplest type of artificial neural networks and can only
classify linearly separable cases with a binary target (1 , 0).
Perceptron-Binary Classifier
Perceptron is a single layer neural network
Perceptron is usually used to classify the data into two parts.
• Perceptron can’t handle tasks which are not separable.
• Sets of points in 2-D space are linearly separable if the
sets can be separated by a straight line.
• Perceptron can’t find weights for classification problems
that are not linearly separable.
Role of Bias
• Bias is like the intercept added in a linear equation.
• It is an additional parameter in the Neural Network which is used to
adjust the output along with the weighted sum of the inputs to the
neuron.
• Bias is a constant which helps the model in a way that it can fit best
for the given data
A bias value allows you to shift the activation function curve up or down.
Role of Activation Function
• A function which decides the activation(firing) of neuron
• It is attached to each neuron in the network
• It help the network to learn complex patterns in the data.
• Different layers can have different activation functions
• Higher the value of activation function, greater is the information passed
to the next connected neuron.
• For example: Perceptron uses step rule as the activation function which
converts the numerical output into +1 or -1
The figure shows how the step activation function squashes the inputs of weighted
either +1 or -1.
Step activation function helps in the discrimination of two linearly separable classes.
https://www.simplilearn.com/what-is-perceptron-tutorial
http://hagan.okstate.edu/4_Perceptron.pdf
To determine the appropriate connection weights, the common procedure is to have the network learn the appropriate
weights from a representative set of training data.
“Input times weights , add Bias and Activate”
Computation of final weights after the processing of
Training Set
Instance Target Weights
Weighted Sum
(∑W(i)X(i) ) Actual Target
Predicted Target
( if ∑W(i)X(i) >0 Then 1
Else 0 ) Delta Weight = old weight +η*(Actual Target - Predicted Target)
0 0 1 1 0 0 0 0 0 0 0 0 [0 0 0 0] + 1*0 * [ 0 0 0 0] = [ 0 0 0 0]
1 1 1 1 1 0 0 0 0 0 1 0 [1 1 1 1] + 1*1 * [ 0 0 0 0] = [ 1 1 1 1]
1 0 1 1 1 1 1 1 1 3 1 1 [1 0 1 1] + 1*0 * [ 1 1 1 1 ] = [ 1 0 1 1]
0 1 1 1 0 1 1 1 1 3 0 1 [1 1 1 1] + 1*(-1) * [ 1 1 1 1 ] = [ 1 0 0 0]
Multi Layer Perceptron or Feed-forward
Neural Network
There are two types of Perceptrons: Single layer and Multilayer.
Single layer Perceptrons can learn only linearly separable patterns.
Multilayer Perceptrons or feedforward neural networks with two or more layers have the greater
processing power.
Points of
Difference
Single Layer Perceptron Multi Layer Perceptron
1 It does not contain any hidden layer. It contains one or more hidden layers
2 It can learn only linear function It can learn both linear and non-linear
function
3 It requires less training input It requires more number of training inputs
4 Learning is faster Learning is slower

More Related Content

What's hot

nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
abhishek upadhyay
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyay
abhishek upadhyay
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
butest
 
Counterpropagation NETWORK
Counterpropagation NETWORKCounterpropagation NETWORK
Counterpropagation NETWORK
ESCOM
 

What's hot (20)

06 neurolab python
06 neurolab python06 neurolab python
06 neurolab python
 
Activation function
Activation functionActivation function
Activation function
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
 
Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9Introduction to Neural networks (under graduate course) Lecture 7 of 9
Introduction to Neural networks (under graduate course) Lecture 7 of 9
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
Nural network ER. Abhishek k. upadhyay
Nural network ER. Abhishek  k. upadhyayNural network ER. Abhishek  k. upadhyay
Nural network ER. Abhishek k. upadhyay
 
Ann
Ann Ann
Ann
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuronComparative study of ANNs and BNNs and mathematical modeling of a neuron
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Counter propagation Network
Counter propagation NetworkCounter propagation Network
Counter propagation Network
 
Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9Introduction to Neural networks (under graduate course) Lecture 8 of 9
Introduction to Neural networks (under graduate course) Lecture 8 of 9
 
Introduction to Neural networks (under graduate course) Lecture 2 of 9
Introduction to Neural networks (under graduate course) Lecture 2 of 9Introduction to Neural networks (under graduate course) Lecture 2 of 9
Introduction to Neural networks (under graduate course) Lecture 2 of 9
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Basics Of Neural Network Analysis
Basics Of Neural Network AnalysisBasics Of Neural Network Analysis
Basics Of Neural Network Analysis
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Counterpropagation NETWORK
Counterpropagation NETWORKCounterpropagation NETWORK
Counterpropagation NETWORK
 
Artificial neural networks (2)
Artificial neural networks (2)Artificial neural networks (2)
Artificial neural networks (2)
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
 

Similar to Perceptron

2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
Parneet Kaur
 
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Simplilearn
 
20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf
TitleTube
 

Similar to Perceptron (20)

Deep learning
Deep learningDeep learning
Deep learning
 
UNIT 5-ANN.ppt
UNIT 5-ANN.pptUNIT 5-ANN.ppt
UNIT 5-ANN.ppt
 
2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
 
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
Deep Learning Interview Questions And Answers | AI & Deep Learning Interview ...
 
UNIT-3 .PPTX
UNIT-3 .PPTXUNIT-3 .PPTX
UNIT-3 .PPTX
 
33.-Multi-Layer-Perceptron.pdf
33.-Multi-Layer-Perceptron.pdf33.-Multi-Layer-Perceptron.pdf
33.-Multi-Layer-Perceptron.pdf
 
Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17 Artificial Neural Networks for NIU session 2016 17
Artificial Neural Networks for NIU session 2016 17
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf
 
Neural Network_basic_Reza_Lecture_3.pptx
Neural Network_basic_Reza_Lecture_3.pptxNeural Network_basic_Reza_Lecture_3.pptx
Neural Network_basic_Reza_Lecture_3.pptx
 
Artificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical DiagnosisArtificial Neural Network in Medical Diagnosis
Artificial Neural Network in Medical Diagnosis
 
Multilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLPMultilayer Perceptron Neural Network MLP
Multilayer Perceptron Neural Network MLP
 
Unit 2 ml.pptx
Unit 2 ml.pptxUnit 2 ml.pptx
Unit 2 ml.pptx
 
Perceptron Study Material with XOR example
Perceptron Study Material with XOR examplePerceptron Study Material with XOR example
Perceptron Study Material with XOR example
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Unit 2
Unit 2Unit 2
Unit 2
 
Module 2 softcomputing.pptx
Module 2 softcomputing.pptxModule 2 softcomputing.pptx
Module 2 softcomputing.pptx
 
Neural Networks Lec3.pptx
Neural Networks Lec3.pptxNeural Networks Lec3.pptx
Neural Networks Lec3.pptx
 
Supervised Learning.pptx
Supervised Learning.pptxSupervised Learning.pptx
Supervised Learning.pptx
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Perceptron

  • 1. Perceptron Compiled by : Dr. Kumud Kundu
  • 2. Perceptron A perceptron is a simple model of a biological neuron in an artificial neural network.
  • 3. A single layer perceptron (SLP) • Introduced by Frank Rosenblatt in 1957 • Utilized as Supervised Binary Classifier • A feed-forward network. • The decision function is a step function and the output is binary. • SLP is the simplest type of artificial neural networks and can only classify linearly separable cases with a binary target (1 , 0).
  • 4. Perceptron-Binary Classifier Perceptron is a single layer neural network Perceptron is usually used to classify the data into two parts.
  • 5. • Perceptron can’t handle tasks which are not separable. • Sets of points in 2-D space are linearly separable if the sets can be separated by a straight line. • Perceptron can’t find weights for classification problems that are not linearly separable.
  • 6. Role of Bias • Bias is like the intercept added in a linear equation. • It is an additional parameter in the Neural Network which is used to adjust the output along with the weighted sum of the inputs to the neuron. • Bias is a constant which helps the model in a way that it can fit best for the given data A bias value allows you to shift the activation function curve up or down.
  • 7. Role of Activation Function • A function which decides the activation(firing) of neuron • It is attached to each neuron in the network • It help the network to learn complex patterns in the data. • Different layers can have different activation functions • Higher the value of activation function, greater is the information passed to the next connected neuron. • For example: Perceptron uses step rule as the activation function which converts the numerical output into +1 or -1
  • 8. The figure shows how the step activation function squashes the inputs of weighted either +1 or -1. Step activation function helps in the discrimination of two linearly separable classes. https://www.simplilearn.com/what-is-perceptron-tutorial
  • 10. To determine the appropriate connection weights, the common procedure is to have the network learn the appropriate weights from a representative set of training data. “Input times weights , add Bias and Activate”
  • 11.
  • 12. Computation of final weights after the processing of Training Set Instance Target Weights Weighted Sum (∑W(i)X(i) ) Actual Target Predicted Target ( if ∑W(i)X(i) >0 Then 1 Else 0 ) Delta Weight = old weight +η*(Actual Target - Predicted Target) 0 0 1 1 0 0 0 0 0 0 0 0 [0 0 0 0] + 1*0 * [ 0 0 0 0] = [ 0 0 0 0] 1 1 1 1 1 0 0 0 0 0 1 0 [1 1 1 1] + 1*1 * [ 0 0 0 0] = [ 1 1 1 1] 1 0 1 1 1 1 1 1 1 3 1 1 [1 0 1 1] + 1*0 * [ 1 1 1 1 ] = [ 1 0 1 1] 0 1 1 1 0 1 1 1 1 3 0 1 [1 1 1 1] + 1*(-1) * [ 1 1 1 1 ] = [ 1 0 0 0]
  • 13. Multi Layer Perceptron or Feed-forward Neural Network There are two types of Perceptrons: Single layer and Multilayer. Single layer Perceptrons can learn only linearly separable patterns. Multilayer Perceptrons or feedforward neural networks with two or more layers have the greater processing power.
  • 14. Points of Difference Single Layer Perceptron Multi Layer Perceptron 1 It does not contain any hidden layer. It contains one or more hidden layers 2 It can learn only linear function It can learn both linear and non-linear function 3 It requires less training input It requires more number of training inputs 4 Learning is faster Learning is slower