SlideShare a Scribd company logo
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 with neural networks
Machine learning with neural networksMachine learning with neural networks
Machine learning with neural networks
Let's talk about IT
 
MobileNet - PR044
MobileNet - PR044MobileNet - PR044
MobileNet - PR044
Jinwon Lee
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders
Akash Goel
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
Tamer Ahmed Farrag, PhD
 
Boosting Approach to Solving Machine Learning Problems
Boosting Approach to Solving Machine Learning ProblemsBoosting Approach to Solving Machine Learning Problems
Boosting Approach to Solving Machine Learning Problems
Dr Sulaimon Afolabi
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
Aboul Ella Hassanien
 
Neural network final NWU 4.3 Graphics Course
Neural network final NWU 4.3 Graphics CourseNeural network final NWU 4.3 Graphics Course
Neural network final NWU 4.3 Graphics Course
Mohaiminur Rahman
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
Mostafa G. M. Mostafa
 
Neural networks introduction
Neural networks introductionNeural networks introduction
Neural networks introduction
آيةالله عبدالحكيم
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
Northwestern University
 
Introduction to Keras
Introduction to KerasIntroduction to Keras
Introduction to Keras
John Ramey
 
Introduction to Soft Computing
Introduction to Soft Computing Introduction to Soft Computing
Introduction to Soft Computing
Aakash Kumar
 
Deep Learning - CNN and RNN
Deep Learning - CNN and RNNDeep Learning - CNN and RNN
Deep Learning - CNN and RNN
Ashray Bhandare
 
Soft computing
Soft computingSoft computing
Soft computing
ganeshpaul6
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applications
Sangeeta Tiwari
 
Lstm
LstmLstm
Deep learning - A Visual Introduction
Deep learning - A Visual IntroductionDeep learning - A Visual Introduction
Deep learning - A Visual Introduction
Lukas Masuch
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
Megha V
 
Deep learning
Deep learningDeep learning
Deep learning
Mohamed Loey
 

What's hot (20)

Machine learning with neural networks
Machine learning with neural networksMachine learning with neural networks
Machine learning with neural networks
 
MobileNet - PR044
MobileNet - PR044MobileNet - PR044
MobileNet - PR044
 
Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)Convolutional Neural Networks (CNN)
Convolutional Neural Networks (CNN)
 
Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders Intro to Deep learning - Autoencoders
Intro to Deep learning - Autoencoders
 
03 Single layer Perception Classifier
03 Single layer Perception Classifier03 Single layer Perception Classifier
03 Single layer Perception Classifier
 
Boosting Approach to Solving Machine Learning Problems
Boosting Approach to Solving Machine Learning ProblemsBoosting Approach to Solving Machine Learning Problems
Boosting Approach to Solving Machine Learning Problems
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
 
Neural network final NWU 4.3 Graphics Course
Neural network final NWU 4.3 Graphics CourseNeural network final NWU 4.3 Graphics Course
Neural network final NWU 4.3 Graphics Course
 
Neural Networks: Multilayer Perceptron
Neural Networks: Multilayer PerceptronNeural Networks: Multilayer Perceptron
Neural Networks: Multilayer Perceptron
 
Neural networks introduction
Neural networks introductionNeural networks introduction
Neural networks introduction
 
Optimization tutorial
Optimization tutorialOptimization tutorial
Optimization tutorial
 
Introduction to Keras
Introduction to KerasIntroduction to Keras
Introduction to Keras
 
Introduction to Soft Computing
Introduction to Soft Computing Introduction to Soft Computing
Introduction to Soft Computing
 
Deep Learning - CNN and RNN
Deep Learning - CNN and RNNDeep Learning - CNN and RNN
Deep Learning - CNN and RNN
 
Soft computing
Soft computingSoft computing
Soft computing
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applications
 
Lstm
LstmLstm
Lstm
 
Deep learning - A Visual Introduction
Deep learning - A Visual IntroductionDeep learning - A Visual Introduction
Deep learning - A Visual Introduction
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Deep learning
Deep learningDeep learning
Deep learning
 

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.pptx
saadhaq6
 
Elliptical curve cryptography
Elliptical curve cryptographyElliptical curve cryptography
Elliptical curve cryptography
Barani Tharan
 
ECC_basics.ppt
ECC_basics.pptECC_basics.ppt
ECC_basics.ppt
RudraChandanSingh
 
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
Randa Elanwar
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Atul Krishna
 
Lec10.pptx
Lec10.pptxLec10.pptx
Lec10.pptx
AbrahamTadesse11
 
ECC_basics.ppt
ECC_basics.pptECC_basics.ppt
ECC_basics.ppt
BLACKSPAROW
 
Daa chapter7
Daa chapter7Daa chapter7
Daa chapter7
B.Kirron Reddi
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphs
Revanth Kumar
 
CS767_Lecture_04.pptx
CS767_Lecture_04.pptxCS767_Lecture_04.pptx
CS767_Lecture_04.pptx
ShujatHussainGadi
 
Knowledge engg using & in fol
Knowledge engg using & in folKnowledge engg using & in fol
Knowledge engg using & in fol
chandsek666
 
Activation function
Activation functionActivation function
Activation function
RakshithGowdakodihal
 
cyclic_code.pdf
cyclic_code.pdfcyclic_code.pdf
cyclic_code.pdf
rahelbirhanu1
 
Support Vector Machines Simply
Support Vector Machines SimplySupport Vector Machines Simply
Support Vector Machines Simply
Emad Nabil
 
Neural network
Neural networkNeural network
Neural network
Mahmoud Hussein
 
Introduction to Deep Neural Network
Introduction to Deep Neural NetworkIntroduction to Deep Neural Network
Introduction to Deep Neural Network
Liwei 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.pdf
RAJARATNAS
 
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
sanjaibalajeessn
 
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
The Statistical and Applied Mathematical Sciences Institute
 

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
 
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
 
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
QMC: Operator Splitting Workshop, A Splitting Method for Nonsmooth Nonconvex ...
 

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 Techniques
Mrinmoy 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.pptx
Mrinmoy 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.pptx
Mrinmoy Majumder
 
Fluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from HistoryFluid Mechanics : Five Factos from History
Fluid Mechanics : Five Factos from History
Mrinmoy 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 Papers
Mrinmoy 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 agriculture
Mrinmoy 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 Algorithm
Mrinmoy 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.pptx
Mrinmoy 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 Water
Mrinmoy Majumder
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
Mrinmoy 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.pdf
Mrinmoy 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.pdf
Mrinmoy 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 hydroinformatics
Mrinmoy 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.pptx
Mrinmoy 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.pptx
Mrinmoy 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

一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
y3i0qsdzb
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
xclpvhuk
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
VyNguyen709676
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
ihavuls
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 

Recently uploaded (20)

一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
一比一原版(Unimelb毕业证书)墨尔本大学毕业证如何办理
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
writing report business partner b1+ .pdf
writing report business partner b1+ .pdfwriting report business partner b1+ .pdf
writing report business partner b1+ .pdf
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 

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.