SlideShare una empresa de Scribd logo
1 de 14
Artificial Neural Network
Introduction
• Motivated by the possibility of creating an artificial
computing network similar to the brain and nerve cells in
our body.
• These networks are computing systems composed of a
number of highly interconnected layers of simple neuron-
like processing elements.
• The entire network collectively performs computations,
with the knowledge represented as distributed patterns
of activity all over processing elements.
• The collective activities result in a high degree of
parallelism, which enables the network to solve complex
problems.
• The distributed representation leads to greater fault
tolerance and to graceful degradation when problems
• They have the capability of simulating non-linear
patterns.
• Their advantage relies on the fact that they demand less
time for development than traditional mathematical
models.
ANN Architecture
There are three layers:-
1. Input Layer:- The first layer of an ANN that receives the
input information in the form of various texts, numbers,
audio files, image pixels, etc.
2. Hidden Layer:- In the middle of the ANN model are
the hidden layers. There can be a single hidden layer or
multiple hidden layers. These hidden layers perform
various types of mathematical computation on the input
data and recognize the patterns that are part of.
3. Output Layer:- In the output layer, we obtain the result
that we obtain through rigorous computations performed
by the middle layer.
Types of ANN
1. Feedforward ANN:-
• The flow of information takes place only in one direction.
• no feedback loops
• mostly used in supervised learning for instances such
as classification, image recognition etc.
• used in cases where the data is not sequential in nature.
1. Feedback ANN:-
• the feedback loops are a part of it.
• Such type of neural networks are mainly for memory
retention such as in the case of recurrent neural
networks.
• These types of networks are most suited for areas where
Back-Propagation
• Back-propagation is used to train the neural network of
the chain rule method.
• After each feed-forward passes through a network,
this algorithm does the backward pass to adjust the
model's parameters based on weights and biases.
• It is a process in which the internal parameters to the
network, the weighing factors W, and bias B, are
adjusted.
• The bias is an adjusting parameter, which reduces the
error in the system. Values of these parameters are
calculated using multiple-variable optimization
algorithms.
• the change that has to be made to the weighing factors
and bias is calculated using the derivative vector D and
the input data to that layer according to the following
rule:
Wnew = Wold + lrDvT
Bnew = Bold + lrD
where Ir is the learning rate.
Back-Propagation Pseudo-code
• Initialize the weights and offsets.
• Set all of them to low random values. Present inputs and
desired outputs. This is done by presenting a continuous-
valued input vector and specifying the desired outputs. If the
network is used as a classifier, all desired outputs are set to 1.
The input could be new on each turn or one could use a cyclic
pattern to train.
• Calculate the actual outputs using the sigmoidal non-linearity.
• Adapt weights using a recursive algorithm starting at the
output nodes and working back.
• Adjust the weights using the formula
Wij(t + 1) = Wij(t) +ηδjxt’
where Wij is the weight from node i to node j at time t, η is the
gain term, and δj is the error term for node j. If node j is an output
node, then
δ = y (1- y )(d - y )
where dj is the desired output of nodej and yj is the actual
output. If node j is an internal hidden node, then
where k is the number of overall nodes in the layers above
node j. If a momentum term α is added, the network
sometimes becomes faster and the weight changes are
smoothed by:-
• Repeat Step 2
• Stop
Network Training
1. Supervised learning :-
• An input stimulus is applied to the network, which results
in an output response.
• This is compared with the desired target response and
an error signal is generated.
• The learning in back-propagation networks is
supervised.
2. Unsupervised learning: -
• During training, the network receives different input
excitations and arbitrarily organizes the patterns into
categories.
• When a stimulus is later applied, the network indicates
the class to which it belongs and an entirely new class of
stimuli is generated.
3. Reinforced learning :-
• In this case, the network indicates whether the output is
matching with the target or not-a pass or fail indication.
In other words, the generated signal is binary. This kind
of learning is used in applications such as fault
diagnosis.
Modes of Training
• Pattern mode :- Consider a training set having N
patterns. The first pattern is presented to the network,
and the whole sequence of forward and backward
computations is performed, resulting in weight
adjustment. Then the second pattern is presented and
weights updated and so on until the Nth pattern.
• Batch mode:- Here, weight updating is done after the
presentation of one full epoch. One complete
presentation of the entire training set is called an epoch.

Más contenido relacionado

La actualidad más candente

Face recognition using artificial neural network
Face recognition using artificial neural networkFace recognition using artificial neural network
Face recognition using artificial neural network
Sumeet Kakani
 

La actualidad más candente (20)

Introduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of OptimalityIntroduction to Dynamic Programming, Principle of Optimality
Introduction to Dynamic Programming, Principle of Optimality
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
 
Activation functions
Activation functionsActivation functions
Activation functions
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Restricted Boltzmann Machine | Neural Network Tutorial | Deep Learning Tutori...
Restricted Boltzmann Machine | Neural Network Tutorial | Deep Learning Tutori...Restricted Boltzmann Machine | Neural Network Tutorial | Deep Learning Tutori...
Restricted Boltzmann Machine | Neural Network Tutorial | Deep Learning Tutori...
 
Handwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTHandwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPT
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Face recognition using artificial neural network
Face recognition using artificial neural networkFace recognition using artificial neural network
Face recognition using artificial neural network
 
Deep Belief Networks
Deep Belief NetworksDeep Belief Networks
Deep Belief Networks
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
 
Associative memory network
Associative memory networkAssociative memory network
Associative memory network
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications
 
AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)AI Lecture 7 (uncertainty)
AI Lecture 7 (uncertainty)
 
Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
 
Genetic programming
Genetic programmingGenetic programming
Genetic programming
 
region-filling
region-fillingregion-filling
region-filling
 

Similar a Artificial neural network

2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
Parneet Kaur
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
RINUSATHYAN
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
SanaMateen7
 
intro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptxintro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptx
ssuser3aa461
 

Similar a Artificial neural network (20)

Lec 6-bp
Lec 6-bpLec 6-bp
Lec 6-bp
 
Introduction to Neural networks (under graduate course) Lecture 9 of 9
Introduction to Neural networks (under graduate course) Lecture 9 of 9Introduction to Neural networks (under graduate course) Lecture 9 of 9
Introduction to Neural networks (under graduate course) Lecture 9 of 9
 
NEURAL NETWORK IN MACHINE LEARNING FOR STUDENTS
NEURAL NETWORK IN MACHINE LEARNING FOR STUDENTSNEURAL NETWORK IN MACHINE LEARNING FOR STUDENTS
NEURAL NETWORK IN MACHINE LEARNING FOR STUDENTS
 
Unit ii supervised ii
Unit ii supervised iiUnit ii supervised ii
Unit ii supervised ii
 
Introduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptxIntroduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptx
 
2.5 backpropagation
2.5 backpropagation2.5 backpropagation
2.5 backpropagation
 
2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
 
Artificial Neural Network (ANN
Artificial Neural Network (ANNArtificial Neural Network (ANN
Artificial Neural Network (ANN
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
Deep learning notes.pptx
Deep learning notes.pptxDeep learning notes.pptx
Deep learning notes.pptx
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
 
Lecture 11 neural network principles
Lecture 11 neural network principlesLecture 11 neural network principles
Lecture 11 neural network principles
 
Artificial neural network by arpit_sharma
Artificial neural network by arpit_sharmaArtificial neural network by arpit_sharma
Artificial neural network by arpit_sharma
 
Module 2 softcomputing.pptx
Module 2 softcomputing.pptxModule 2 softcomputing.pptx
Module 2 softcomputing.pptx
 
ai7.ppt
ai7.pptai7.ppt
ai7.ppt
 
Facial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional FaceFacial Emotion Detection on Children's Emotional Face
Facial Emotion Detection on Children's Emotional Face
 
intro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptxintro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptx
 

Más de IshaneeSharma

Más de IshaneeSharma (9)

ISA 75.01.01-2007 notes
ISA 75.01.01-2007 notesISA 75.01.01-2007 notes
ISA 75.01.01-2007 notes
 
Why every control valve is a flow control valve?
Why every control valve is a flow control valve?Why every control valve is a flow control valve?
Why every control valve is a flow control valve?
 
Adipic Acid Plant Energy Balance
Adipic Acid Plant Energy BalanceAdipic Acid Plant Energy Balance
Adipic Acid Plant Energy Balance
 
Material Balance of Adipic Acid Plant
Material Balance of Adipic Acid PlantMaterial Balance of Adipic Acid Plant
Material Balance of Adipic Acid Plant
 
Rotary drilling rig (onshore)
Rotary drilling rig (onshore)Rotary drilling rig (onshore)
Rotary drilling rig (onshore)
 
Use of biofilters for air pollution control
Use of biofilters for air pollution controlUse of biofilters for air pollution control
Use of biofilters for air pollution control
 
Production of Dextran
Production of DextranProduction of Dextran
Production of Dextran
 
Social Ills that ail Indian Society: Child Labour
Social Ills that ail Indian Society: Child LabourSocial Ills that ail Indian Society: Child Labour
Social Ills that ail Indian Society: Child Labour
 
Applications of polymers in everyday life
Applications of polymers in everyday lifeApplications of polymers in everyday life
Applications of polymers in everyday life
 

Último

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 

Artificial neural network

  • 2. Introduction • Motivated by the possibility of creating an artificial computing network similar to the brain and nerve cells in our body. • These networks are computing systems composed of a number of highly interconnected layers of simple neuron- like processing elements. • The entire network collectively performs computations, with the knowledge represented as distributed patterns of activity all over processing elements. • The collective activities result in a high degree of parallelism, which enables the network to solve complex problems. • The distributed representation leads to greater fault tolerance and to graceful degradation when problems
  • 3. • They have the capability of simulating non-linear patterns. • Their advantage relies on the fact that they demand less time for development than traditional mathematical models.
  • 4. ANN Architecture There are three layers:- 1. Input Layer:- The first layer of an ANN that receives the input information in the form of various texts, numbers, audio files, image pixels, etc. 2. Hidden Layer:- In the middle of the ANN model are the hidden layers. There can be a single hidden layer or multiple hidden layers. These hidden layers perform various types of mathematical computation on the input data and recognize the patterns that are part of. 3. Output Layer:- In the output layer, we obtain the result that we obtain through rigorous computations performed by the middle layer.
  • 5.
  • 6. Types of ANN 1. Feedforward ANN:- • The flow of information takes place only in one direction. • no feedback loops • mostly used in supervised learning for instances such as classification, image recognition etc. • used in cases where the data is not sequential in nature. 1. Feedback ANN:- • the feedback loops are a part of it. • Such type of neural networks are mainly for memory retention such as in the case of recurrent neural networks. • These types of networks are most suited for areas where
  • 7.
  • 8. Back-Propagation • Back-propagation is used to train the neural network of the chain rule method. • After each feed-forward passes through a network, this algorithm does the backward pass to adjust the model's parameters based on weights and biases. • It is a process in which the internal parameters to the network, the weighing factors W, and bias B, are adjusted. • The bias is an adjusting parameter, which reduces the error in the system. Values of these parameters are calculated using multiple-variable optimization algorithms.
  • 9. • the change that has to be made to the weighing factors and bias is calculated using the derivative vector D and the input data to that layer according to the following rule: Wnew = Wold + lrDvT Bnew = Bold + lrD where Ir is the learning rate.
  • 10. Back-Propagation Pseudo-code • Initialize the weights and offsets. • Set all of them to low random values. Present inputs and desired outputs. This is done by presenting a continuous- valued input vector and specifying the desired outputs. If the network is used as a classifier, all desired outputs are set to 1. The input could be new on each turn or one could use a cyclic pattern to train. • Calculate the actual outputs using the sigmoidal non-linearity. • Adapt weights using a recursive algorithm starting at the output nodes and working back. • Adjust the weights using the formula Wij(t + 1) = Wij(t) +ηδjxt’ where Wij is the weight from node i to node j at time t, η is the gain term, and δj is the error term for node j. If node j is an output node, then δ = y (1- y )(d - y )
  • 11. where dj is the desired output of nodej and yj is the actual output. If node j is an internal hidden node, then where k is the number of overall nodes in the layers above node j. If a momentum term α is added, the network sometimes becomes faster and the weight changes are smoothed by:- • Repeat Step 2 • Stop
  • 12. Network Training 1. Supervised learning :- • An input stimulus is applied to the network, which results in an output response. • This is compared with the desired target response and an error signal is generated. • The learning in back-propagation networks is supervised. 2. Unsupervised learning: - • During training, the network receives different input excitations and arbitrarily organizes the patterns into categories. • When a stimulus is later applied, the network indicates the class to which it belongs and an entirely new class of stimuli is generated.
  • 13. 3. Reinforced learning :- • In this case, the network indicates whether the output is matching with the target or not-a pass or fail indication. In other words, the generated signal is binary. This kind of learning is used in applications such as fault diagnosis.
  • 14. Modes of Training • Pattern mode :- Consider a training set having N patterns. The first pattern is presented to the network, and the whole sequence of forward and backward computations is performed, resulting in weight adjustment. Then the second pattern is presented and weights updated and so on until the Nth pattern. • Batch mode:- Here, weight updating is done after the presentation of one full epoch. One complete presentation of the entire training set is called an epoch.