SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente

Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer Perceptrons
ESCOM
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theory
sia16
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
Slideshare
 

La actualidad más candente (20)

Adaptive Resonance Theory
Adaptive Resonance TheoryAdaptive Resonance Theory
Adaptive Resonance Theory
 
Multi-Layer Perceptrons
Multi-Layer PerceptronsMulti-Layer Perceptrons
Multi-Layer Perceptrons
 
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
Introduction to Graph Neural Networks: Basics and Applications - Katsuhiko Is...
 
Recurrent Neural Networks
Recurrent Neural NetworksRecurrent Neural Networks
Recurrent Neural Networks
 
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron ClassifiersArtificial Neural Network Lect4 : Single Layer Perceptron Classifiers
Artificial Neural Network Lect4 : Single Layer Perceptron Classifiers
 
Graph Neural Network - Introduction
Graph Neural Network - IntroductionGraph Neural Network - Introduction
Graph Neural Network - Introduction
 
Deep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural NetworksDeep Learning - Convolutional Neural Networks
Deep Learning - Convolutional Neural Networks
 
Training Neural Networks
Training Neural NetworksTraining Neural Networks
Training Neural Networks
 
Artifical Neural Network and its applications
Artifical Neural Network and its applicationsArtifical Neural Network and its applications
Artifical Neural Network and its applications
 
Neural network
Neural networkNeural network
Neural network
 
Bayseian decision theory
Bayseian decision theoryBayseian decision theory
Bayseian decision theory
 
Neural network
Neural networkNeural network
Neural network
 
Reinforcement learning 7313
Reinforcement learning 7313Reinforcement learning 7313
Reinforcement learning 7313
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
Artificial Neural Network Lecture 6- Associative Memories & Discrete Hopfield...
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Explainable AI
Explainable AIExplainable AI
Explainable AI
 

Similar a A brief introduction of Artificial neural network by example

Knowledge engg using & in fol
Knowledge engg using & in folKnowledge engg using & in fol
Knowledge engg using & in fol
chandsek666
 

Similar a 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
 

Más de 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
 
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
 
Water and Energy in style
Water and Energy in styleWater and Energy in style
Water and Energy in style
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
 

Más de 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...
 

Último

Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
gajnagarg
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdf
SayantanBiswas37
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
gajnagarg
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
nirzagarg
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Klinik kandungan
 

Último (20)

Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Statistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbersStatistics notes ,it includes mean to index numbers
Statistics notes ,it includes mean to index numbers
 
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
 
Computer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdfComputer science Sql cheat sheet.pdf.pdf
Computer science Sql cheat sheet.pdf.pdf
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
Kings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about themKings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about them
 
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
Jual obat aborsi Bandung ( 085657271886 ) Cytote pil telat bulan penggugur ka...
 
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
Gomti Nagar & best call girls in Lucknow | 9548273370 Independent Escorts & D...
 

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.