SlideShare a Scribd company logo
1 of 15
Knowledge base Systems
Neural Networks
What are Artificial Neural Networks?
Neural Networks Composed of many “neurons”. Each neuron has
one or more inputs. Each input is associated weight which
modifies the strength of each input. The neuron simply adds
together all the inputs and calculates an output to be passed on.
Neural Networks (con…)
 The activation of a neuron is binary. That is, the
neuron either fires (activation of one) or does not
fire (activation of zero).
 Each neuron has a fixed threshold. If the output
is greater than or equal to the threshold, the
neuron fires else not fire
Example:
If the inputs: x1= 2, x2= 0, x3= 3, weights w1=
0.5, w2= 0,2 , w3= 0.8, and bias is -1. What is
the output?
Output = 2 * 0.5 + 0 * 0.2 + 3 * 0.8 +
(-1) = 2.4
Assuming Output Threshold = 2.2
2.4 > 2.2
Example 2:
• Example calculation: x1=-1, x2=1, x3=1, x4=-1
– S = 0.25*(-1) + 0.25*(1) + 0.25*(1) + 0.25*(-1) = 0
• 0 > -0.1, so the output from the ANN is +1
– So the image is categorised as “bright”
A single-layer neural network
A single-layer net has one layer of connection weights
A multilayer neural network
 Multilayer net is a net with one or more layers (or
levels) of nodes (the so-called hidden units) between the
input units and output units. Typically, there is a layer of
weights between two adjacent levels of units ( input,
hidden, or output)
Example :
The input x1=0.6, x2=0.1 , and the weights are set
as in the picture, Calculate the output o6 and o7?
 Activations of the hidden units:
net3= x1 *w11+ x2*w21+b3=0.6*0.1+0.1*(-0.2)+0.1=0.14
ox3= 1/(1+e-net3) =0.53.
net4= x1 *w12+ x2*w22+b4=0.6*0+0.1*0.2+0.2=0.22
ox4= 1/(1+e-net4) =0.55
net5= x1 *w13+ x2*w23+b5=0.6*0.3+0.1*(-0.4)+0.5=0.64
ox5= 1/(1+e-net5) =0.65
 Activations of the output units:
net6= x3 *w31+ x4*w41+ x5*w51 +b6=
0.53*(-0.4)+0.55*0.1+0.65*0.6-0.1=0.13
oo6= 1/(1+e-net6) =0.53
net7= x3 *w32+ x4*w42+ x5*w52 +b7=
0.53*0.2+0.55*(-0.1)+0.65*(-0.2)+0.6=0.52
oo7= 1/(1+e-net7) =0.63
Exercise:
Try calculating the output of this network.
Hot and Cold Model:
 If we touch something cold we perceive heat
 If we keep touching something cold we will
perceive cold
 If we touch something hot we will perceive
heat
 To model this we will assume that time is
discrete
 If cold is applied for one time step then heat
will be perceived
 If a cold stimulus is applied for two time steps
then cold will be perceived
 If heat is applied then we should perceive heat
Hot and Cold Model:
It takes time for the stimulus (applied at X1 and X2) to
make its way to Y1 and Y2 where we perceive either heat
or cold
Hot and Cold Model:
• Neurons X1 and X2 represent heat and cold
• Neurons Z1 and Z2 auxiliary units needed
for the problem.
Hot and Cold Example:

More Related Content

Similar to Neurvvvvvvvvvvvvvvvvvvvval Networks.pptx

Similar to Neurvvvvvvvvvvvvvvvvvvvval Networks.pptx (20)

Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
DNN.pptx
DNN.pptxDNN.pptx
DNN.pptx
 
CS767_Lecture_04.pptx
CS767_Lecture_04.pptxCS767_Lecture_04.pptx
CS767_Lecture_04.pptx
 
Neural Networks.pptx
Neural Networks.pptxNeural Networks.pptx
Neural Networks.pptx
 
Lect аі 2 n net p2
Lect аі 2 n net p2Lect аі 2 n net p2
Lect аі 2 n net p2
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
neural.ppt
neural.pptneural.ppt
neural.ppt
 
neural.ppt
neural.pptneural.ppt
neural.ppt
 
neural.ppt
neural.pptneural.ppt
neural.ppt
 
neural (1).ppt
neural (1).pptneural (1).ppt
neural (1).ppt
 
neural.ppt
neural.pptneural.ppt
neural.ppt
 
neural.ppt
neural.pptneural.ppt
neural.ppt
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
Introduction to Artificial Neural Networks - PART III.pdf
Introduction to Artificial Neural Networks - PART III.pdfIntroduction to Artificial Neural Networks - PART III.pdf
Introduction to Artificial Neural Networks - PART III.pdf
 
Artificial Neural Network
Artificial Neural Network Artificial Neural Network
Artificial Neural Network
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
 
ann-ics320Part4.ppt
ann-ics320Part4.pptann-ics320Part4.ppt
ann-ics320Part4.ppt
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 

More from eman458700

arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptx
arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptxarrhythnnnnnnnnnnnnnnnnnnnnmia post.pptx
arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptxeman458700
 
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptx
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptxarrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptx
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptxeman458700
 
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptx
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptxexamnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptx
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptxeman458700
 
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppt
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.pptCh0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppt
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppteman458700
 
ntokghghgjgjhghfgfghfhghghghhhhhhhho.ppt
ntokghghgjgjhghfgfghfhghghghhhhhhhho.pptntokghghgjgjhghfgfghfhghghghhhhhhhho.ppt
ntokghghgjgjhghfgfghfhghghghhhhhhhho.ppteman458700
 
9780273786597ghghghghgggfgfgffgfgfgf.ppt
9780273786597ghghghghgggfgfgffgfgfgf.ppt9780273786597ghghghghgggfgfgffgfgfgf.ppt
9780273786597ghghghghgggfgfgffgfgfgf.ppteman458700
 

More from eman458700 (6)

arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptx
arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptxarrhythnnnnnnnnnnnnnnnnnnnnmia post.pptx
arrhythnnnnnnnnnnnnnnnnnnnnmia post.pptx
 
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptx
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptxarrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptx
arrhythbbbbbbbbbbbbbbbbbbbbbbbbmia .pptx
 
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptx
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptxexamnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptx
examnnnnnnnnnnnnnnnnnnnnnnnnnnnnple.pptx
 
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppt
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.pptCh0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppt
Ch0nkjkjkjlkkjkjkjkjkjkjkjkjkjkjkjk1.ppt
 
ntokghghgjgjhghfgfghfhghghghhhhhhhho.ppt
ntokghghgjgjhghfgfghfhghghghhhhhhhho.pptntokghghgjgjhghfgfghfhghghghhhhhhhho.ppt
ntokghghgjgjhghfgfghfhghghghhhhhhhho.ppt
 
9780273786597ghghghghgggfgfgffgfgfgf.ppt
9780273786597ghghghghgggfgfgffgfgfgf.ppt9780273786597ghghghghgggfgfgffgfgfgf.ppt
9780273786597ghghghghgggfgfgffgfgfgf.ppt
 

Recently uploaded

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

Neurvvvvvvvvvvvvvvvvvvvval Networks.pptx

  • 2. What are Artificial Neural Networks? Neural Networks Composed of many “neurons”. Each neuron has one or more inputs. Each input is associated weight which modifies the strength of each input. The neuron simply adds together all the inputs and calculates an output to be passed on.
  • 3. Neural Networks (con…)  The activation of a neuron is binary. That is, the neuron either fires (activation of one) or does not fire (activation of zero).  Each neuron has a fixed threshold. If the output is greater than or equal to the threshold, the neuron fires else not fire
  • 4. Example: If the inputs: x1= 2, x2= 0, x3= 3, weights w1= 0.5, w2= 0,2 , w3= 0.8, and bias is -1. What is the output? Output = 2 * 0.5 + 0 * 0.2 + 3 * 0.8 + (-1) = 2.4 Assuming Output Threshold = 2.2 2.4 > 2.2
  • 5. Example 2: • Example calculation: x1=-1, x2=1, x3=1, x4=-1 – S = 0.25*(-1) + 0.25*(1) + 0.25*(1) + 0.25*(-1) = 0 • 0 > -0.1, so the output from the ANN is +1 – So the image is categorised as “bright”
  • 6. A single-layer neural network A single-layer net has one layer of connection weights
  • 7. A multilayer neural network  Multilayer net is a net with one or more layers (or levels) of nodes (the so-called hidden units) between the input units and output units. Typically, there is a layer of weights between two adjacent levels of units ( input, hidden, or output)
  • 8. Example : The input x1=0.6, x2=0.1 , and the weights are set as in the picture, Calculate the output o6 and o7?
  • 9.  Activations of the hidden units: net3= x1 *w11+ x2*w21+b3=0.6*0.1+0.1*(-0.2)+0.1=0.14 ox3= 1/(1+e-net3) =0.53. net4= x1 *w12+ x2*w22+b4=0.6*0+0.1*0.2+0.2=0.22 ox4= 1/(1+e-net4) =0.55 net5= x1 *w13+ x2*w23+b5=0.6*0.3+0.1*(-0.4)+0.5=0.64 ox5= 1/(1+e-net5) =0.65
  • 10.  Activations of the output units: net6= x3 *w31+ x4*w41+ x5*w51 +b6= 0.53*(-0.4)+0.55*0.1+0.65*0.6-0.1=0.13 oo6= 1/(1+e-net6) =0.53 net7= x3 *w32+ x4*w42+ x5*w52 +b7= 0.53*0.2+0.55*(-0.1)+0.65*(-0.2)+0.6=0.52 oo7= 1/(1+e-net7) =0.63
  • 11. Exercise: Try calculating the output of this network.
  • 12. Hot and Cold Model:  If we touch something cold we perceive heat  If we keep touching something cold we will perceive cold  If we touch something hot we will perceive heat
  • 13.  To model this we will assume that time is discrete  If cold is applied for one time step then heat will be perceived  If a cold stimulus is applied for two time steps then cold will be perceived  If heat is applied then we should perceive heat Hot and Cold Model:
  • 14. It takes time for the stimulus (applied at X1 and X2) to make its way to Y1 and Y2 where we perceive either heat or cold Hot and Cold Model:
  • 15. • Neurons X1 and X2 represent heat and cold • Neurons Z1 and Z2 auxiliary units needed for the problem. Hot and Cold Example: