SlideShare a Scribd company logo
1 of 25
Department of Information Technology 1Soft Computing (ITC4256 )
Neural Networks
Dr. C.V. Suresh Babu
Professor
Department of IT
Hindustan Institute of Science & Technology
Department of Information Technology 2Soft Computing (ITC4256 )
Discussion Topics
• Introduction Video
• McCulloch-Pitts Neuron
• Linear Separability
• Hebb Network
Department of Information Technology 3Soft Computing (ITC4256 )
Introduction
https://www.youtube.com/watch?v=bfmFfD2RIcg
Department of Information Technology 4Soft Computing (ITC4256 )
1. McCulloch-Pitts neuron
• Mankind’s First Mathematical Model Of A Biological Neuron.
• The very first step towards the perceptron used today was taken in 1943 by McCulloch and Pitts.
• The first computational model of a neuron was proposed by Warren McCulloch (neuroscientist) and
Walter Pitts (logician) in 1943.
- It may be divided into 2 parts - the first
part, g takes an input, performs an
aggregation and based on the
aggregated value the second part, f
makes a decision.
Department of Information Technology 5Soft Computing (ITC4256 )
Department of Information Technology 6Soft Computing (ITC4256 )
McCulloch-Pitts neuron - Example
Example:
Lets suppose in order to predict one’s own decision, whether to watch a random football game or not on TV.
The inputs are all boolean i.e., {0,1} and output variable is also boolean {0: Will watch it, 1: Won’t watch it}.
• So, x_1 could be isPremierLeagueOn (I like Premier League more)
• x_2 could be isItAFriendlyGame (I tend to care less about the friendlies)
• x_3 could be isNotHome (Can’t watch it when I’m running errands. Can I?)
• x_4 could be isManUnitedPlaying (I am a big Man United fan. GGMU!) and so on.
• Inputs can either be excitatory or inhibitory.
• Inhibitory inputs are those that have maximum effect on the decision making irrespective of other inputs
i.e., if x_3 is 1 (not home) then the output will always be 0 i.e., the neuron will never fire, so x_3 is an
inhibitory input.
• Excitatory inputs are NOT the ones that will make the neuron fire on their own but they might fire it
when combined together.
Department of Information Technology 7Soft Computing (ITC4256 )
McCulloch-Pitts neuron - Example
• It can be seen that g(x) is just doing a sum of the inputs — a simple aggregation.
• And theta here is called thresholding parameter.
• For example, if the person always watch the game when the sum turns out to be 2 or more, the theta is
2 here. This is called the thresholding logic.
Department of Information Technology 8Soft Computing (ITC4256 )
Boolean Functions using M-P Neuron
• Let’s see how this neuron can be used to represent a few boolean functions.
• Inputs are all boolean and the output is also boolean so essentially, the neuron is just trying to learn a
boolean function.
M-P Neuron: A Concise Representation
• This representation just denotes that, for the boolean inputs x_1, x_2 and x_3 if the g(x) i.e., sum ≥ theta,
the neuron will fire otherwise, it won’t.
Department of Information Technology 9Soft Computing (ITC4256 )
Boolean Functions using M-P Neuron (Cont…)
AND Function:
• An AND function neuron would only fire when ALL the inputs are ON i.e., g(x) ≥ 3 here.
OR Function:
• An OR function neuron would fire if ANY of the inputs is ON i.e., g(x) ≥ 1 here.
Department of Information Technology 10Soft Computing (ITC4256 )
Boolean Functions using M-P Neuron (Cont…)
A Function With An Inhibitory Input:
• Given an inhibitory input i.e., x_2 so
whenever x_2 is 1, the output will be 0.
• Keeping that in mind, we know that
x_1 AND !x_2 would output 1 only when
x_1 is 1 and x_2 is 0 so it is obvious that the
threshold parameter should be 1.
• Lets verify that, the g(x) i.e., x_1 + x_2 would be ≥ 1 in only 3 cases:
Case 1: when x_1 is 1 and x_2 is 0
Case 2: when x_1 is 1 and x_2 is 1
Case 3: when x_1 is 0 and x_2 is 1
• But in both Case 2 and Case 3, we know that the output will be 0 because x_2 is 1 in both of them and also
x_1 AND !x_2 will output 1 for Case 1 so the thresholding parameter holds good for the given function.
Department of Information Technology 11Soft Computing (ITC4256 )
Boolean Functions using M-P Neuron (Cont…)
NOR Function:
• For a NOR neuron to fire, we want ALL the inputs to be 0 so the thresholding parameter should also be 0
and we take them all as inhibitory input.
NOT Function:
• For a NOT neuron, 1 outputs 0 and 0 outputs 1. So we take the input as an inhibitory input and set the
thresholding parameter to 0. It works!
Department of Information Technology 12Soft Computing (ITC4256 )
Geometric Interpretation Of M-P Neuron
OR Function:
AND Function:
Department of Information Technology 13Soft Computing (ITC4256 )
Geometric Interpretation Of M-P Neuron (Cont…)
OR Function With 3 Inputs:
Department of Information Technology 14Soft Computing (ITC4256 )
2. Linear Separability
Department of Information Technology 15Soft Computing (ITC4256 )
Linear Separability
• It is a concept wherein the separation of the input space into regions is based on whether the network
response is positive or negative.
• A decision line is drawn to separate positive or negative response.
• The decision line is also called as decision-making line or decision-support line or linear-separable
line.
• The net input calculation to the output unit is given as
• The region which is called as decision boundary is determined by the relation
Department of Information Technology 16Soft Computing (ITC4256 )
Linear Separability (Cont…)
Consider a network having positive response in
the first quadrant and negative response in all
other quadrants with either binary or bipolar
data.
Decision line is drawn separating two regions as
shown in Fig.
Using bipolar data representation, missing data
can be distinguished from mistaken data. Hence
bipolar data is better than binary data.
Missing values are represented by 0 and
mistakes by reversing the input values from +1
to -1 or vice versa.
Department of Information Technology 17Soft Computing (ITC4256 )
3. Hebb Network
Department of Information Technology 18Soft Computing (ITC4256 )
Hebb Network
• Donald Hebb stated in 1949 that “ In brain, the learning is performed by the change in the synaptic gap”.
• When an axon of cell A is near enough to excite cell B, and repeatedly or permanently takes place in firing it,
some growth process or metabolic change takes place in one or both the cells such than A’s efficiency, as one
of the cells firing B, is increased.
Department of Information Technology 19Soft Computing (ITC4256 )
Hebb Network (Cont…)
• According to Hebb rule, the weight
vector is found to increase
proportionately to the product of the
input and the learning signal.
• In Hebb learning, two interconnected
neurons are ‘on’ simultaneously.
• The weight update in Hebb rule is
given by,
Wi(new) = wi (old)+ xi y
Department of Information Technology 20Soft Computing (ITC4256 )
Hebb Network (Cont…)
• The Hebb rule is more suited for bipolar data.
• If binary data is used, the weight updation formula cannot distinguish two conditions namely,
- A training pair in which an input unit is “on” and the target value is “off”
- A training pair in which both the input unit and the target value is “off”.
• Thus there are limitations in Hebb rule application over binary data.
• Hence representation using bipolar data is advantageous.
• Hebb rule can be used for pattern association, pattern categorization, pattern classification and over a
range of other areas.
Department of Information Technology 21Soft Computing (ITC4256 )
Department of Information Technology 22Soft Computing (ITC4256 )
Hebb Network - Training Algorithm
Steps:
Step 0: First initialize the weights.
Step 1: Steps 2-4 have to be performed for each input training vector and target output pair, s:t
Step 2: Input activations are set. The activation function for input layer is identity function.
Xi =Si for i=1 to n
Step 3: Output activations are set.
Step 4: Weight adjustment and bias adjustments are performed.
Wi(new) = wi(old)+xiy
b(new)=b(old)+y
In step 4, the weight updation formula can be written in vector form as
w(new)=w(old)+y
Change in weight is expressed as
Δw = xy
Hence,
w(new)=w(old)+Δw
Department of Information Technology 23Soft Computing (ITC4256 )
Hebb Network - Flowchart
Department of Information Technology 24Soft Computing (ITC4256 )
Quiz - Questions
1. What are the properties exhibited by an equivalence relation R?
2. What are the properties exhibited by a tolerance relation R?
3. The independent events in probability theory are ---------- to non-interactive fuzzy sets in fuzzy theory.
a) analogous b) digital c) both a & b d) none
4. Relations can be also be used to represent -----------.
a) ambiguity b) dissimilarity c) similarity d) none
5. A binary relation is called an --------------- if it is reflexive, symmetric and transitive.
a) tolerance relation b) tuple c) crisp relation d) equivalence relation
Department of Information Technology 25Soft Computing (ITC4256 )
Quiz - Answers
1. i. Reflexivity ii. Symmetry iii. Transitivity
2. i. Reflexivity ii. Symmetry
3. a) analogous
4. c) similarity
5. d) equivalence relation

More Related Content

What's hot

Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural NetworksDatabricks
 
Fuzzy Sets Introduction With Example
Fuzzy Sets Introduction With ExampleFuzzy Sets Introduction With Example
Fuzzy Sets Introduction With Exampleraisnasir
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Muhammad Haroon
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagationParveenMalik18
 
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Simplilearn
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Gaurav Mittal
 
Mc Culloch Pitts Neuron
Mc Culloch Pitts NeuronMc Culloch Pitts Neuron
Mc Culloch Pitts NeuronShajun Nisha
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...Simplilearn
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree LearningMilind Gokhale
 
Neural networks...
Neural networks...Neural networks...
Neural networks...Molly Chugh
 
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...Simplilearn
 
Deep Feed Forward Neural Networks and Regularization
Deep Feed Forward Neural Networks and RegularizationDeep Feed Forward Neural Networks and Regularization
Deep Feed Forward Neural Networks and RegularizationYan Xu
 
AlexNet, VGG, GoogleNet, Resnet
AlexNet, VGG, GoogleNet, ResnetAlexNet, VGG, GoogleNet, Resnet
AlexNet, VGG, GoogleNet, ResnetJungwon Kim
 
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)Attention is all you need (UPC Reading Group 2018, by Santi Pascual)
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)Universitat Politècnica de Catalunya
 
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersArtificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersMohammed Bennamoun
 

What's hot (20)

Introduction to Neural Networks
Introduction to Neural NetworksIntroduction to Neural Networks
Introduction to Neural Networks
 
Fuzzy Sets Introduction With Example
Fuzzy Sets Introduction With ExampleFuzzy Sets Introduction With Example
Fuzzy Sets Introduction With Example
 
Associative memory network
Associative memory networkAssociative memory network
Associative memory network
 
Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)Convolutional Neural Network (CNN)
Convolutional Neural Network (CNN)
 
Lecture 5 backpropagation
Lecture 5 backpropagationLecture 5 backpropagation
Lecture 5 backpropagation
 
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
Deep Learning Tutorial | Deep Learning TensorFlow | Deep Learning With Neural...
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
Mc Culloch Pitts Neuron
Mc Culloch Pitts NeuronMc Culloch Pitts Neuron
Mc Culloch Pitts Neuron
 
Neural network
Neural networkNeural network
Neural network
 
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
 
Decision Tree Learning
Decision Tree LearningDecision Tree Learning
Decision Tree Learning
 
Soft computing
Soft computing Soft computing
Soft computing
 
Neural networks...
Neural networks...Neural networks...
Neural networks...
 
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
TensorFlow Tutorial | Deep Learning With TensorFlow | TensorFlow Tutorial For...
 
Deep Feed Forward Neural Networks and Regularization
Deep Feed Forward Neural Networks and RegularizationDeep Feed Forward Neural Networks and Regularization
Deep Feed Forward Neural Networks and Regularization
 
AlexNet, VGG, GoogleNet, Resnet
AlexNet, VGG, GoogleNet, ResnetAlexNet, VGG, GoogleNet, Resnet
AlexNet, VGG, GoogleNet, Resnet
 
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)Attention is all you need (UPC Reading Group 2018, by Santi Pascual)
Attention is all you need (UPC Reading Group 2018, by Santi Pascual)
 
Perceptron
PerceptronPerceptron
Perceptron
 
Introduction to soft computing
 Introduction to soft computing Introduction to soft computing
Introduction to soft computing
 
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersArtificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
 

Similar to Neural networks

Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsDrBaljitSinghKhehra
 
soft computing
soft computingsoft computing
soft computingAMIT KUMAR
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...cscpconf
 
Feed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxFeed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxneelamsanjeevkumar
 
Module 1: Fundamentals of neural network.pptx
Module 1: Fundamentals of neural network.pptxModule 1: Fundamentals of neural network.pptx
Module 1: Fundamentals of neural network.pptxPriya Kaul
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkAtul Krishna
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Networkssuserab4f3e
 
Back Propagation Network (Soft Computing)
Back Propagation Network (Soft Computing)Back Propagation Network (Soft Computing)
Back Propagation Network (Soft Computing)Amit Kumar Rathi
 
Multilayer Backpropagation Neural Networks for Implementation of Logic Gates
Multilayer Backpropagation Neural Networks for Implementation of Logic GatesMultilayer Backpropagation Neural Networks for Implementation of Logic Gates
Multilayer Backpropagation Neural Networks for Implementation of Logic GatesIJCSES Journal
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101AMIT KUMAR
 
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...cscpconf
 
Perceptron Study Material with XOR example
Perceptron Study Material with XOR examplePerceptron Study Material with XOR example
Perceptron Study Material with XOR exampleGSURESHKUMAR11
 

Similar to Neural networks (20)

Supervised learning network
Supervised learning networkSupervised learning network
Supervised learning network
 
Neural
NeuralNeural
Neural
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
Artificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning ModelsArtificial Neural Networks-Supervised Learning Models
Artificial Neural Networks-Supervised Learning Models
 
soft computing
soft computingsoft computing
soft computing
 
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
 
Feed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptxFeed forward back propogation algorithm .pptx
Feed forward back propogation algorithm .pptx
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Module 1: Fundamentals of neural network.pptx
Module 1: Fundamentals of neural network.pptxModule 1: Fundamentals of neural network.pptx
Module 1: Fundamentals of neural network.pptx
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
2-Perceptrons.pdf
2-Perceptrons.pdf2-Perceptrons.pdf
2-Perceptrons.pdf
 
Back Propagation Network (Soft Computing)
Back Propagation Network (Soft Computing)Back Propagation Network (Soft Computing)
Back Propagation Network (Soft Computing)
 
Unit 6: Application of AI
Unit 6: Application of AIUnit 6: Application of AI
Unit 6: Application of AI
 
Multilayer Backpropagation Neural Networks for Implementation of Logic Gates
Multilayer Backpropagation Neural Networks for Implementation of Logic GatesMultilayer Backpropagation Neural Networks for Implementation of Logic Gates
Multilayer Backpropagation Neural Networks for Implementation of Logic Gates
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
 
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
DESIGN AND IMPLEMENTATION OF BINARY NEURAL NETWORK LEARNING WITH FUZZY CLUSTE...
 
Unsupervised learning networks
Unsupervised learning networksUnsupervised learning networks
Unsupervised learning networks
 
Perceptron Study Material with XOR example
Perceptron Study Material with XOR examplePerceptron Study Material with XOR example
Perceptron Study Material with XOR example
 

More from Dr. C.V. Suresh Babu (20)

Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Association rules
Association rulesAssociation rules
Association rules
 
Clustering
ClusteringClustering
Clustering
 
Classification
ClassificationClassification
Classification
 
Blue property assumptions.
Blue property assumptions.Blue property assumptions.
Blue property assumptions.
 
Introduction to regression
Introduction to regressionIntroduction to regression
Introduction to regression
 
DART
DARTDART
DART
 
Mycin
MycinMycin
Mycin
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Bayes network
Bayes networkBayes network
Bayes network
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
Rule based system
Rule based systemRule based system
Rule based system
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Production based system
Production based systemProduction based system
Production based system
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Diagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AIDiagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AI
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
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 communicationnomboosow
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
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
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 

Neural networks

  • 1. Department of Information Technology 1Soft Computing (ITC4256 ) Neural Networks Dr. C.V. Suresh Babu Professor Department of IT Hindustan Institute of Science & Technology
  • 2. Department of Information Technology 2Soft Computing (ITC4256 ) Discussion Topics • Introduction Video • McCulloch-Pitts Neuron • Linear Separability • Hebb Network
  • 3. Department of Information Technology 3Soft Computing (ITC4256 ) Introduction https://www.youtube.com/watch?v=bfmFfD2RIcg
  • 4. Department of Information Technology 4Soft Computing (ITC4256 ) 1. McCulloch-Pitts neuron • Mankind’s First Mathematical Model Of A Biological Neuron. • The very first step towards the perceptron used today was taken in 1943 by McCulloch and Pitts. • The first computational model of a neuron was proposed by Warren McCulloch (neuroscientist) and Walter Pitts (logician) in 1943. - It may be divided into 2 parts - the first part, g takes an input, performs an aggregation and based on the aggregated value the second part, f makes a decision.
  • 5. Department of Information Technology 5Soft Computing (ITC4256 )
  • 6. Department of Information Technology 6Soft Computing (ITC4256 ) McCulloch-Pitts neuron - Example Example: Lets suppose in order to predict one’s own decision, whether to watch a random football game or not on TV. The inputs are all boolean i.e., {0,1} and output variable is also boolean {0: Will watch it, 1: Won’t watch it}. • So, x_1 could be isPremierLeagueOn (I like Premier League more) • x_2 could be isItAFriendlyGame (I tend to care less about the friendlies) • x_3 could be isNotHome (Can’t watch it when I’m running errands. Can I?) • x_4 could be isManUnitedPlaying (I am a big Man United fan. GGMU!) and so on. • Inputs can either be excitatory or inhibitory. • Inhibitory inputs are those that have maximum effect on the decision making irrespective of other inputs i.e., if x_3 is 1 (not home) then the output will always be 0 i.e., the neuron will never fire, so x_3 is an inhibitory input. • Excitatory inputs are NOT the ones that will make the neuron fire on their own but they might fire it when combined together.
  • 7. Department of Information Technology 7Soft Computing (ITC4256 ) McCulloch-Pitts neuron - Example • It can be seen that g(x) is just doing a sum of the inputs — a simple aggregation. • And theta here is called thresholding parameter. • For example, if the person always watch the game when the sum turns out to be 2 or more, the theta is 2 here. This is called the thresholding logic.
  • 8. Department of Information Technology 8Soft Computing (ITC4256 ) Boolean Functions using M-P Neuron • Let’s see how this neuron can be used to represent a few boolean functions. • Inputs are all boolean and the output is also boolean so essentially, the neuron is just trying to learn a boolean function. M-P Neuron: A Concise Representation • This representation just denotes that, for the boolean inputs x_1, x_2 and x_3 if the g(x) i.e., sum ≥ theta, the neuron will fire otherwise, it won’t.
  • 9. Department of Information Technology 9Soft Computing (ITC4256 ) Boolean Functions using M-P Neuron (Cont…) AND Function: • An AND function neuron would only fire when ALL the inputs are ON i.e., g(x) ≥ 3 here. OR Function: • An OR function neuron would fire if ANY of the inputs is ON i.e., g(x) ≥ 1 here.
  • 10. Department of Information Technology 10Soft Computing (ITC4256 ) Boolean Functions using M-P Neuron (Cont…) A Function With An Inhibitory Input: • Given an inhibitory input i.e., x_2 so whenever x_2 is 1, the output will be 0. • Keeping that in mind, we know that x_1 AND !x_2 would output 1 only when x_1 is 1 and x_2 is 0 so it is obvious that the threshold parameter should be 1. • Lets verify that, the g(x) i.e., x_1 + x_2 would be ≥ 1 in only 3 cases: Case 1: when x_1 is 1 and x_2 is 0 Case 2: when x_1 is 1 and x_2 is 1 Case 3: when x_1 is 0 and x_2 is 1 • But in both Case 2 and Case 3, we know that the output will be 0 because x_2 is 1 in both of them and also x_1 AND !x_2 will output 1 for Case 1 so the thresholding parameter holds good for the given function.
  • 11. Department of Information Technology 11Soft Computing (ITC4256 ) Boolean Functions using M-P Neuron (Cont…) NOR Function: • For a NOR neuron to fire, we want ALL the inputs to be 0 so the thresholding parameter should also be 0 and we take them all as inhibitory input. NOT Function: • For a NOT neuron, 1 outputs 0 and 0 outputs 1. So we take the input as an inhibitory input and set the thresholding parameter to 0. It works!
  • 12. Department of Information Technology 12Soft Computing (ITC4256 ) Geometric Interpretation Of M-P Neuron OR Function: AND Function:
  • 13. Department of Information Technology 13Soft Computing (ITC4256 ) Geometric Interpretation Of M-P Neuron (Cont…) OR Function With 3 Inputs:
  • 14. Department of Information Technology 14Soft Computing (ITC4256 ) 2. Linear Separability
  • 15. Department of Information Technology 15Soft Computing (ITC4256 ) Linear Separability • It is a concept wherein the separation of the input space into regions is based on whether the network response is positive or negative. • A decision line is drawn to separate positive or negative response. • The decision line is also called as decision-making line or decision-support line or linear-separable line. • The net input calculation to the output unit is given as • The region which is called as decision boundary is determined by the relation
  • 16. Department of Information Technology 16Soft Computing (ITC4256 ) Linear Separability (Cont…) Consider a network having positive response in the first quadrant and negative response in all other quadrants with either binary or bipolar data. Decision line is drawn separating two regions as shown in Fig. Using bipolar data representation, missing data can be distinguished from mistaken data. Hence bipolar data is better than binary data. Missing values are represented by 0 and mistakes by reversing the input values from +1 to -1 or vice versa.
  • 17. Department of Information Technology 17Soft Computing (ITC4256 ) 3. Hebb Network
  • 18. Department of Information Technology 18Soft Computing (ITC4256 ) Hebb Network • Donald Hebb stated in 1949 that “ In brain, the learning is performed by the change in the synaptic gap”. • When an axon of cell A is near enough to excite cell B, and repeatedly or permanently takes place in firing it, some growth process or metabolic change takes place in one or both the cells such than A’s efficiency, as one of the cells firing B, is increased.
  • 19. Department of Information Technology 19Soft Computing (ITC4256 ) Hebb Network (Cont…) • According to Hebb rule, the weight vector is found to increase proportionately to the product of the input and the learning signal. • In Hebb learning, two interconnected neurons are ‘on’ simultaneously. • The weight update in Hebb rule is given by, Wi(new) = wi (old)+ xi y
  • 20. Department of Information Technology 20Soft Computing (ITC4256 ) Hebb Network (Cont…) • The Hebb rule is more suited for bipolar data. • If binary data is used, the weight updation formula cannot distinguish two conditions namely, - A training pair in which an input unit is “on” and the target value is “off” - A training pair in which both the input unit and the target value is “off”. • Thus there are limitations in Hebb rule application over binary data. • Hence representation using bipolar data is advantageous. • Hebb rule can be used for pattern association, pattern categorization, pattern classification and over a range of other areas.
  • 21. Department of Information Technology 21Soft Computing (ITC4256 )
  • 22. Department of Information Technology 22Soft Computing (ITC4256 ) Hebb Network - Training Algorithm Steps: Step 0: First initialize the weights. Step 1: Steps 2-4 have to be performed for each input training vector and target output pair, s:t Step 2: Input activations are set. The activation function for input layer is identity function. Xi =Si for i=1 to n Step 3: Output activations are set. Step 4: Weight adjustment and bias adjustments are performed. Wi(new) = wi(old)+xiy b(new)=b(old)+y In step 4, the weight updation formula can be written in vector form as w(new)=w(old)+y Change in weight is expressed as Δw = xy Hence, w(new)=w(old)+Δw
  • 23. Department of Information Technology 23Soft Computing (ITC4256 ) Hebb Network - Flowchart
  • 24. Department of Information Technology 24Soft Computing (ITC4256 ) Quiz - Questions 1. What are the properties exhibited by an equivalence relation R? 2. What are the properties exhibited by a tolerance relation R? 3. The independent events in probability theory are ---------- to non-interactive fuzzy sets in fuzzy theory. a) analogous b) digital c) both a & b d) none 4. Relations can be also be used to represent -----------. a) ambiguity b) dissimilarity c) similarity d) none 5. A binary relation is called an --------------- if it is reflexive, symmetric and transitive. a) tolerance relation b) tuple c) crisp relation d) equivalence relation
  • 25. Department of Information Technology 25Soft Computing (ITC4256 ) Quiz - Answers 1. i. Reflexivity ii. Symmetry iii. Transitivity 2. i. Reflexivity ii. Symmetry 3. a) analogous 4. c) similarity 5. d) equivalence relation