SlideShare a Scribd company logo
1 of 14
Artificial Neural Network
Definition
• Artificial Neural network or ANN is a very
popular method for predictive or optimization
or simulation objectives.
• ANN mimics the human nervous system to
solve problems in a parallel manner.
• ANN are known to be adaptable with
situations, flexible with data and efficient
enough for predicting any kind of problems.
Mathematical Representation of ANN
Single Layer Neural Network Multi Layer Neural Network
Mathematical Representation of ANN
Single Layer Neural Network
Multi Layer Neural Network
Yj = gA ( ∑hij x Xi + aj )
Where Y ,Z are the output hj are the hidden nodes and Xi are the inputs, f and g are the
activation function for the hidden to output and input to hidden layers respectively, Xi are
the inputs, w and h are the weights of respectively for hidden to output and input to
hidden layer connections and a,b are the bias. i = 1…n,j = 1…h.
Zk = fA ( ∑wjk x hj + bk)
and
hj = gA (∑ hij x Xi + aj )
Eqn 1
Eqn 2
Eqn A
Basic Methodology of ANN
1. Selection of the Model Topology : ANN have an input and output
layer. Between this two layers, lies the hidden layer which actually
separates the ANN model from the other linear and non-linear
models. Selection of the number of hidden layers influences the
efficiency of the model. More the number of hidden layers more
complex but efficient will be the model and vice versa.
2. Training for determination of the optimal value of the weights.
The weight of the inputs are changed to equate the predicted
value with the desired value of the output. Whenever both the
desired and predicted value becomes equal or nearly equal to the
satisfaction of the developer the training is stopped.
3. Validation of the Model by predicting the known outputs.
Problem 1
• A two input-one output model is required to
be developed. The training data for the model
is as follows :
• Input 1 : 10
• Input 2 : 12
• Output 1 : 24.
• Find the value of the output when Input 1 is 5
and Input 2 is 7 if number of hidden layer is 1
and node is 2.
Solution
• The architecture of the ANN will be as below :
Input 1
Input 2
Hidden 1
Hidden 2
Output 1
h 11
h 12
h 21
h 22
w 11
w 21
Solution
• As the ANN will be multilayer : Input, Hidden
and Output layers we will use Eqn 1 and Eqn 2
to find the optimal weights first.
• Then we will use the optimal weights in the
same equation to find the output or answer of
the problem
Solution
• Zk = fA ( ∑wjk x hj + bk)
And
• hj = gA (∑ hij x Xi + aj )
Here X1 and X2 is 10 and 12 respectively
And Z1 is 24
Let hij the weights be 0.5 and wjk be 05.
Solution
• Replacing we have :
• Eqn 2 =
• h1 = ga(h11X10+h21X12)+ a1)
• if ga = Logarithmic function(aLog(X)) and a1 is
negligible then taking h11 and h22 as 0.5 will give
the following :
• 10xLOG (0.5x10+0.5x12) = 10xLOG(5+6) =
10xLOG(11) =10.41 = h1
• Similarly h2 will also be 10.41
Solution
• As, Zk = fA ( ∑wjk x hj + bk)
• Then we can write :
• Eqn 1 =
• Z1 = fA ( 0.5xh1 + 0.5xh2) + b1 )
• If fA is taken as Logarithmic and we know that h1 =
h2 = 10.41
• then
• Z1 = 10xLog(0.5x10.41+0.5x10.41)
• = 10.17 = Eqn.1
Solution
• Now the desired or given output is 24
• So Absolute Error or AE = 24-10.17 =13.82
• So we have to change the value of h and w
and recalculate the output.
• When the AE is less than 20% the value of
weights (h and w) will be taken as optimal.
• The same Eqn 1 and 2 will be used. This time
we know the value of inputs and weights but
do not know the value of output.
Solution
• Eqn 2 =
• h1 = ga(h11X5+h21X7)+ a1)
• if ga = Logarithmic function and a1 is negligible
and optimal value h11 and h22 as 1.5 will give
the following :
• 10xLOG (1.5x5+1.5x7) = 12.55 = h1
• Similarly h2 will also be 12.55
Solution
• As, Zk = fA ( ∑wjk x hj + bk)
• Then we can write :
• Eqn 1 =
• Z1 = fA ( 1.5xh1 + 1.5xh2) + b1 )
• If fA is taken as Logarithmic and we know that h1 =
h2 = 12.55
• then
• Z1 = 10xLog(1.5x12.55+1.5x12.55)
• = 15.75 = Eqn.1
• So the output or answer is 15.75.

More Related Content

What's hot

Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksFrancesco Collova'
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkKnoldus Inc.
 
Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer PerceptronsESCOM
 
Back propagation
Back propagationBack propagation
Back propagationNagarajan
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applicationsSangeeta Tiwari
 
Autoencoders
AutoencodersAutoencoders
AutoencodersCloudxLab
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkmustafa aadel
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptronomaraldabash
 
Activation function
Activation functionActivation function
Activation functionAstha Jain
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural NetworksAshray Bhandare
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashrisheetal katkar
 
Neural network
Neural networkNeural network
Neural networkSilicon
 
Recurrent Neural Networks. Part 1: Theory
Recurrent Neural Networks. Part 1: TheoryRecurrent Neural Networks. Part 1: Theory
Recurrent Neural Networks. Part 1: TheoryAndrii Gakhov
 
Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset PreparationAndrew Ferlitsch
 
Multi Layer Perceptron & Back Propagation
Multi Layer Perceptron & Back PropagationMulti Layer Perceptron & Back Propagation
Multi Layer Perceptron & Back PropagationSung-ju Kim
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural NetworksDatabricks
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relationsnaugariya
 

What's hot (20)

Machine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural NetworksMachine Learning: Introduction to Neural Networks
Machine Learning: Introduction to Neural Networks
 
Introduction to Recurrent Neural Network
Introduction to Recurrent Neural NetworkIntroduction to Recurrent Neural Network
Introduction to Recurrent Neural Network
 
Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer Perceptrons
 
Back propagation
Back propagationBack propagation
Back propagation
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applications
 
Autoencoders
AutoencodersAutoencoders
Autoencoders
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Activation function
Activation functionActivation function
Activation function
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Radial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and DhanashriRadial basis function network ppt bySheetal,Samreen and Dhanashri
Radial basis function network ppt bySheetal,Samreen and Dhanashri
 
Perceptron
PerceptronPerceptron
Perceptron
 
Neural network
Neural networkNeural network
Neural network
 
Recurrent Neural Networks. Part 1: Theory
Recurrent Neural Networks. Part 1: TheoryRecurrent Neural Networks. Part 1: Theory
Recurrent Neural Networks. Part 1: Theory
 
HOPFIELD NETWORK
HOPFIELD NETWORKHOPFIELD NETWORK
HOPFIELD NETWORK
 
Machine Learning - Dataset Preparation
Machine Learning - Dataset PreparationMachine Learning - Dataset Preparation
Machine Learning - Dataset Preparation
 
Multi Layer Perceptron & Back Propagation
Multi Layer Perceptron & Back PropagationMulti Layer Perceptron & Back Propagation
Multi Layer Perceptron & Back Propagation
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relations
 

Similar to A brief introduction of Artificial neural network by example

Introduction to Neural Netwoks
Introduction to Neural Netwoks Introduction to Neural Netwoks
Introduction to Neural Netwoks Abdallah Bashir
 
2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptx2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptxsaadhaq6
 
Elliptical curve cryptography
Elliptical curve cryptographyElliptical curve cryptography
Elliptical curve cryptographyBarani Tharan
 
Introduction to Neural networks (under graduate course) Lecture 6 of 9
Introduction to Neural networks (under graduate course) Lecture 6 of 9Introduction to Neural networks (under graduate course) Lecture 6 of 9
Introduction to Neural networks (under graduate course) Lecture 6 of 9Randa Elanwar
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural NetworkAtul Krishna
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphsRevanth Kumar
 
Knowledge engg using & in fol
Knowledge engg using & in folKnowledge engg using & in fol
Knowledge engg using & in folchandsek666
 
Support Vector Machines Simply
Support Vector Machines SimplySupport Vector Machines Simply
Support Vector Machines SimplyEmad Nabil
 
Introduction to Deep Neural Network
Introduction to Deep Neural NetworkIntroduction to Deep Neural Network
Introduction to Deep Neural NetworkLiwei Ren任力偉
 
Line drawing Algorithm DDA in computer Graphics.pdf
Line drawing Algorithm DDA in computer Graphics.pdfLine drawing Algorithm DDA in computer Graphics.pdf
Line drawing Algorithm DDA in computer Graphics.pdfRAJARATNAS
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the thesanjaibalajeessn
 

Similar to A brief introduction of Artificial neural network by example (20)

Introduction to Neural Netwoks
Introduction to Neural Netwoks Introduction to Neural Netwoks
Introduction to Neural Netwoks
 
2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptx2. Fixed Point Iteration.pptx
2. Fixed Point Iteration.pptx
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Elliptical curve cryptography
Elliptical curve cryptographyElliptical curve cryptography
Elliptical curve cryptography
 
ECC_basics.ppt
ECC_basics.pptECC_basics.ppt
ECC_basics.ppt
 
Introduction to Neural networks (under graduate course) Lecture 6 of 9
Introduction to Neural networks (under graduate course) Lecture 6 of 9Introduction to Neural networks (under graduate course) Lecture 6 of 9
Introduction to Neural networks (under graduate course) Lecture 6 of 9
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Lec10.pptx
Lec10.pptxLec10.pptx
Lec10.pptx
 
ECC_basics.ppt
ECC_basics.pptECC_basics.ppt
ECC_basics.ppt
 
Daa chapter7
Daa chapter7Daa chapter7
Daa chapter7
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphs
 
CS767_Lecture_04.pptx
CS767_Lecture_04.pptxCS767_Lecture_04.pptx
CS767_Lecture_04.pptx
 
Knowledge engg using & in fol
Knowledge engg using & in folKnowledge engg using & in fol
Knowledge engg using & in fol
 
Activation function
Activation functionActivation function
Activation function
 
cyclic_code.pdf
cyclic_code.pdfcyclic_code.pdf
cyclic_code.pdf
 
Support Vector Machines Simply
Support Vector Machines SimplySupport Vector Machines Simply
Support Vector Machines Simply
 
Neural network
Neural networkNeural network
Neural network
 
Introduction to Deep Neural Network
Introduction to Deep Neural NetworkIntroduction to Deep Neural Network
Introduction to Deep Neural Network
 
Line drawing Algorithm DDA in computer Graphics.pdf
Line drawing Algorithm DDA in computer Graphics.pdfLine drawing Algorithm DDA in computer Graphics.pdf
Line drawing Algorithm DDA in computer Graphics.pdf
 
Support Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the theSupport Vector Machines is the the the the the the the the the
Support Vector Machines is the the the the the the the the the
 

More from Mrinmoy Majumder

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesMrinmoy Majumder
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxMrinmoy Majumder
 
When was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptxWhen was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptxMrinmoy Majumder
 
Fluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryFluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryMrinmoy Majumder
 
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...Mrinmoy Majumder
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for PapersMrinmoy Majumder
 
Ten Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agricultureTen Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agricultureMrinmoy Majumder
 
Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...Mrinmoy Majumder
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmMrinmoy Majumder
 
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...Mrinmoy Majumder
 
Ten Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptxTen Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptxMrinmoy Majumder
 
Five Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green WaterFive Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green WaterMrinmoy Majumder
 
What is next in AI ML Modeling of Water Resource Development.pdf
What is next in AI  ML Modeling of Water Resource Development.pdfWhat is next in AI  ML Modeling of Water Resource Development.pdf
What is next in AI ML Modeling of Water Resource Development.pdfMrinmoy Majumder
 
Very Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdfVery Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdfMrinmoy Majumder
 
Most Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformaticsMost Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformaticsMrinmoy Majumder
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxMrinmoy Majumder
 
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...Mrinmoy Majumder
 
Five New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptxFive New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptxMrinmoy Majumder
 
Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...Mrinmoy Majumder
 

More from Mrinmoy Majumder (20)

Introduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization TechniquesIntroduction to Ant Colony Optimization Techniques
Introduction to Ant Colony Optimization Techniques
 
Ten Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptxTen Ideas to open startups in smart agriculture.pptx
Ten Ideas to open startups in smart agriculture.pptx
 
When was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptxWhen was the first bottled drinking water sold.pptx
When was the first bottled drinking water sold.pptx
 
Fluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryFluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from History
 
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
Vulnerability Analysis of Wetlands under Changed Climate Scenarios with the h...
 
10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers10 Most Recent Special Issues Calls for Papers
10 Most Recent Special Issues Calls for Papers
 
Ten Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agricultureTen Ideas to open startups in smart agriculture
Ten Ideas to open startups in smart agriculture
 
Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...Explore the latest advancements in hydro and energy informatics with seven ne...
Explore the latest advancements in hydro and energy informatics with seven ne...
 
An Introduction to Water Cycle Algorithm
An Introduction to Water Cycle AlgorithmAn Introduction to Water Cycle Algorithm
An Introduction to Water Cycle Algorithm
 
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
What is the difference between Free and Paid Subscriber of HydroGeek Newslett...
 
Ten Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptxTen Most Recognizable Case Studies of Using Outlier.pptx
Ten Most Recognizable Case Studies of Using Outlier.pptx
 
Five Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green WaterFive Ideas for opening startups in Virtual and Green Water
Five Ideas for opening startups in Virtual and Green Water
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
 
What is next in AI ML Modeling of Water Resource Development.pdf
What is next in AI  ML Modeling of Water Resource Development.pdfWhat is next in AI  ML Modeling of Water Resource Development.pdf
What is next in AI ML Modeling of Water Resource Development.pdf
 
Very Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdfVery Short Term Course on MAUT in Water Resource Management.pdf
Very Short Term Course on MAUT in Water Resource Management.pdf
 
Most Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformaticsMost Recommended news,products and publications from hydroinformatics
Most Recommended news,products and publications from hydroinformatics
 
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptxLatest Jobs, Scholarship Opportunities and CFPs in.pptx
Latest Jobs, Scholarship Opportunities and CFPs in.pptx
 
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
Seven Techniques that you will learn when you enrol forMTech in Hydroinformat...
 
Five New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptxFive New Ideas of Start Up under Hydro.pptx
Five New Ideas of Start Up under Hydro.pptx
 
Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...Five Example Application of Hydroinformatics for Optimal Management of Ground...
Five Example Application of Hydroinformatics for Optimal Management of Ground...
 

Recently uploaded

办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Cantervoginip
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一F La
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort servicejennyeacort
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxBoston Institute of Analytics
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 

Recently uploaded (20)

办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
办美国阿肯色大学小石城分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
ASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel CanterASML's Taxonomy Adventure by Daniel Canter
ASML's Taxonomy Adventure by Daniel Canter
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
办理(UWIC毕业证书)英国卡迪夫城市大学毕业证成绩单原版一比一
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
9711147426✨Call In girls Gurgaon Sector 31. SCO 25 escort service
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 

A brief introduction of Artificial neural network by example

  • 2. Definition • Artificial Neural network or ANN is a very popular method for predictive or optimization or simulation objectives. • ANN mimics the human nervous system to solve problems in a parallel manner. • ANN are known to be adaptable with situations, flexible with data and efficient enough for predicting any kind of problems.
  • 3. Mathematical Representation of ANN Single Layer Neural Network Multi Layer Neural Network
  • 4. Mathematical Representation of ANN Single Layer Neural Network Multi Layer Neural Network Yj = gA ( ∑hij x Xi + aj ) Where Y ,Z are the output hj are the hidden nodes and Xi are the inputs, f and g are the activation function for the hidden to output and input to hidden layers respectively, Xi are the inputs, w and h are the weights of respectively for hidden to output and input to hidden layer connections and a,b are the bias. i = 1…n,j = 1…h. Zk = fA ( ∑wjk x hj + bk) and hj = gA (∑ hij x Xi + aj ) Eqn 1 Eqn 2 Eqn A
  • 5. Basic Methodology of ANN 1. Selection of the Model Topology : ANN have an input and output layer. Between this two layers, lies the hidden layer which actually separates the ANN model from the other linear and non-linear models. Selection of the number of hidden layers influences the efficiency of the model. More the number of hidden layers more complex but efficient will be the model and vice versa. 2. Training for determination of the optimal value of the weights. The weight of the inputs are changed to equate the predicted value with the desired value of the output. Whenever both the desired and predicted value becomes equal or nearly equal to the satisfaction of the developer the training is stopped. 3. Validation of the Model by predicting the known outputs.
  • 6. Problem 1 • A two input-one output model is required to be developed. The training data for the model is as follows : • Input 1 : 10 • Input 2 : 12 • Output 1 : 24. • Find the value of the output when Input 1 is 5 and Input 2 is 7 if number of hidden layer is 1 and node is 2.
  • 7. Solution • The architecture of the ANN will be as below : Input 1 Input 2 Hidden 1 Hidden 2 Output 1 h 11 h 12 h 21 h 22 w 11 w 21
  • 8. Solution • As the ANN will be multilayer : Input, Hidden and Output layers we will use Eqn 1 and Eqn 2 to find the optimal weights first. • Then we will use the optimal weights in the same equation to find the output or answer of the problem
  • 9. Solution • Zk = fA ( ∑wjk x hj + bk) And • hj = gA (∑ hij x Xi + aj ) Here X1 and X2 is 10 and 12 respectively And Z1 is 24 Let hij the weights be 0.5 and wjk be 05.
  • 10. Solution • Replacing we have : • Eqn 2 = • h1 = ga(h11X10+h21X12)+ a1) • if ga = Logarithmic function(aLog(X)) and a1 is negligible then taking h11 and h22 as 0.5 will give the following : • 10xLOG (0.5x10+0.5x12) = 10xLOG(5+6) = 10xLOG(11) =10.41 = h1 • Similarly h2 will also be 10.41
  • 11. Solution • As, Zk = fA ( ∑wjk x hj + bk) • Then we can write : • Eqn 1 = • Z1 = fA ( 0.5xh1 + 0.5xh2) + b1 ) • If fA is taken as Logarithmic and we know that h1 = h2 = 10.41 • then • Z1 = 10xLog(0.5x10.41+0.5x10.41) • = 10.17 = Eqn.1
  • 12. Solution • Now the desired or given output is 24 • So Absolute Error or AE = 24-10.17 =13.82 • So we have to change the value of h and w and recalculate the output. • When the AE is less than 20% the value of weights (h and w) will be taken as optimal. • The same Eqn 1 and 2 will be used. This time we know the value of inputs and weights but do not know the value of output.
  • 13. Solution • Eqn 2 = • h1 = ga(h11X5+h21X7)+ a1) • if ga = Logarithmic function and a1 is negligible and optimal value h11 and h22 as 1.5 will give the following : • 10xLOG (1.5x5+1.5x7) = 12.55 = h1 • Similarly h2 will also be 12.55
  • 14. Solution • As, Zk = fA ( ∑wjk x hj + bk) • Then we can write : • Eqn 1 = • Z1 = fA ( 1.5xh1 + 1.5xh2) + b1 ) • If fA is taken as Logarithmic and we know that h1 = h2 = 12.55 • then • Z1 = 10xLog(1.5x12.55+1.5x12.55) • = 15.75 = Eqn.1 • So the output or answer is 15.75.