SlideShare a Scribd company logo
1 of 13
Neural Networks
Chad Eatman - July 21, 2015
What is a Neural Network?
- It connects together Artificial Neurons
(objects which are roughly based on
biological neurons)
- It can “learn” to do simple or complex tasks;
particularly useful when we don’t know
exactly how to program an algorithm/function
The Perceptron
- Basic Model
- Inputs to Neuron: x1, x2, … , xi
- Weights of Each Input to that
Neuron: w1,w2, … , wi
- Output = StepFunction(Sum(xi * wi))
- Can add a bias, b, to the sum
A Simple Network
- Inputs: Activated by something
external to network
- Hidden Layer: Not seen
directly; helps map input
combination to outputs
- Outputs: The result of putting
inputs into the network
- Perceptrons can be used to model any digital circuit
- ...but, we don’t know what the biases and weights
should be, and small changes in them either make no
impact to a neuron’s output or a large one
- ...and we can already model digital circuits, with actual
digital circuits, so this is not very impressive
So what we want is a neuron with an output that behaves
similar to a step function, but allows us to make small
changes, and have output values other than 1 and
0…………...how about a Sigmoid function for the output?
The Sigmoid Neuron
- With a Sigmoid Neuron, we use the same
principles as the Perceptron, but now:
Output = Sigmoid( Sum(xi*wi)+b )
- Now, a small change in xi, wi, or b will have
a small change in the output, and we don’t
have to stick to binary logic
How Does a Neural Network Learn?
We have to create a method to find the ideal weights and
biases.
- Backpropagation
- Genetic Algorithms
Backpropagation
- Define a Cost function, which is minimized
when the network performs performs better
- Run the network, as is, through a few tests
- Use some calculus to figure out how to
adjust the biases and weights for the output
layer
- Using information about how we changed
the layer to the right, change weights and
biases moving to the left
Example Using Backpropagation
- Red Ball wants to chase Blue Ball (controlled by mouse)
- Red Ball knows whether the blue ball is above, below, to the left, or to the
right
- Red Ball knows where it should move, but it’s network starts out not
knowing how to control its movement (up, down, left, right)
- Actual movement of red ball compared to how it should move, and
backpropagation used to change weights and biases
Example Using Backpropagation
- Neurons drawn as circles, with the color
representing the activation, red(0) -> blue(1)
- The color of each path represents the weight
of the connection, red(0) -> blue(1)
- The graph shows the weights of the paths
into the top-most neuron of the hidden layer
over time
- See the Example Here
Genetic Algorithms
- Use a “genetic sequence” which contains all the information of the weights
and biases in a network
- Make a ton of these sequences, randomly
- Test each sequence with a network, and score them based upon how well
they perform the desired task
- Take the sequences that perform the best, “breed” them to create several
children, and and go back to testing
- Over several generations of this process, the sequences should get closer
and closer to the desired functionality
- Example: https://www.youtube.com/watch?v=qv6UVOQ0F44 (this uses a
more advanced technique called NEAT, but it’s still using genetic
algorithms)
Deep Learning
- Uses multiple hidden layers which feed into
each other
- Concept: Data inputted into network can be
understood as an interaction between multiple
factors in various levels of abstraction
- Can be supervised or unsupervised
- Example - Google DeepDream:
https://github.com/google/deepdream
Sources and Useful Links
- http://neuralnetworksanddeeplearning.com/in
dex.html
- http://nn.cs.utexas.edu/downloads/papers/st
anley.ec02.pdf
- https://en.wikipedia.org/wiki/Deep_learning
- http://www.ai-junkie.com/ga/intro/gat1.html
And visit our website: http://woodridgesoftware.com

More Related Content

What's hot

Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
DEEPASHRI HK
 
Mitchell's Face Recognition
Mitchell's Face RecognitionMitchell's Face Recognition
Mitchell's Face Recognition
butest
 

What's hot (20)

Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)Artificial Neural Network(Artificial intelligence)
Artificial Neural Network(Artificial intelligence)
 
Ann
Ann Ann
Ann
 
2.5 backpropagation
2.5 backpropagation2.5 backpropagation
2.5 backpropagation
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
 
Backpropagation algo
Backpropagation  algoBackpropagation  algo
Backpropagation algo
 
Artificial Neural Network seminar presentation using ppt.
Artificial Neural Network seminar presentation using ppt.Artificial Neural Network seminar presentation using ppt.
Artificial Neural Network seminar presentation using ppt.
 
04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks04 Multi-layer Feedforward Networks
04 Multi-layer Feedforward Networks
 
Artificial Neural Networks - ANN
Artificial Neural Networks - ANNArtificial Neural Networks - ANN
Artificial Neural Networks - ANN
 
Classification using back propagation algorithm
Classification using back propagation algorithmClassification using back propagation algorithm
Classification using back propagation algorithm
 
Introduction to Artificial Neural Network
Introduction to Artificial Neural Network Introduction to Artificial Neural Network
Introduction to Artificial Neural Network
 
Neural net and back propagation
Neural net and back propagationNeural net and back propagation
Neural net and back propagation
 
Modeling of neural image compression using gradient decent technology
Modeling of neural image compression using gradient decent technologyModeling of neural image compression using gradient decent technology
Modeling of neural image compression using gradient decent technology
 
Artificial Neural Networks
Artificial Neural NetworksArtificial Neural Networks
Artificial Neural Networks
 
Neural networks1
Neural networks1Neural networks1
Neural networks1
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Back propagation method
Back propagation methodBack propagation method
Back propagation method
 
Perceptron
PerceptronPerceptron
Perceptron
 
Introduction to Applied Machine Learning
Introduction to Applied Machine LearningIntroduction to Applied Machine Learning
Introduction to Applied Machine Learning
 
Mitchell's Face Recognition
Mitchell's Face RecognitionMitchell's Face Recognition
Mitchell's Face Recognition
 
Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...Artificial neural network model & hidden layers in multilayer artificial neur...
Artificial neural network model & hidden layers in multilayer artificial neur...
 

Similar to Introduction to Neural Networks

The Introduction to Neural Networks.ppt
The Introduction to Neural Networks.pptThe Introduction to Neural Networks.ppt
The Introduction to Neural Networks.ppt
moh2020
 
2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
Parneet Kaur
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
AMIT KUMAR
 

Similar to Introduction to Neural Networks (20)

Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 
Artificial Neural Networks ppt.pptx for final sem cse
Artificial Neural Networks  ppt.pptx for final sem cseArtificial Neural Networks  ppt.pptx for final sem cse
Artificial Neural Networks ppt.pptx for final sem cse
 
Acem neuralnetworks
Acem neuralnetworksAcem neuralnetworks
Acem neuralnetworks
 
Artificial neural networks
Artificial neural networks Artificial neural networks
Artificial neural networks
 
Artificial Neural networks
Artificial Neural networksArtificial Neural networks
Artificial Neural networks
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in RUnderstanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
 
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
 
Artificial neural network by arpit_sharma
Artificial neural network by arpit_sharmaArtificial neural network by arpit_sharma
Artificial neural network by arpit_sharma
 
Neural-Networks.ppt
Neural-Networks.pptNeural-Networks.ppt
Neural-Networks.ppt
 
ANN.pptx
ANN.pptxANN.pptx
ANN.pptx
 
The Introduction to Neural Networks.ppt
The Introduction to Neural Networks.pptThe Introduction to Neural Networks.ppt
The Introduction to Neural Networks.ppt
 
2011 0480.neural-networks
2011 0480.neural-networks2011 0480.neural-networks
2011 0480.neural-networks
 
Soft Computing-173101
Soft Computing-173101Soft Computing-173101
Soft Computing-173101
 
Data Science - Part VIII - Artifical Neural Network
Data Science - Part VIII -  Artifical Neural NetworkData Science - Part VIII -  Artifical Neural Network
Data Science - Part VIII - Artifical Neural Network
 
7 nn1-intro.ppt
7 nn1-intro.ppt7 nn1-intro.ppt
7 nn1-intro.ppt
 
Neural networks of artificial intelligence
Neural networks of artificial  intelligenceNeural networks of artificial  intelligence
Neural networks of artificial intelligence
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Basics of Artificial Neural Network
Basics of Artificial Neural Network Basics of Artificial Neural Network
Basics of Artificial Neural Network
 
08 neural networks
08 neural networks08 neural networks
08 neural networks
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Recently uploaded (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456LEVEL 5   - SESSION 1 2023 (1).pptx - PDF 123456
LEVEL 5 - SESSION 1 2023 (1).pptx - PDF 123456
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 

Introduction to Neural Networks

  • 1. Neural Networks Chad Eatman - July 21, 2015
  • 2. What is a Neural Network? - It connects together Artificial Neurons (objects which are roughly based on biological neurons) - It can “learn” to do simple or complex tasks; particularly useful when we don’t know exactly how to program an algorithm/function
  • 3. The Perceptron - Basic Model - Inputs to Neuron: x1, x2, … , xi - Weights of Each Input to that Neuron: w1,w2, … , wi - Output = StepFunction(Sum(xi * wi)) - Can add a bias, b, to the sum
  • 4. A Simple Network - Inputs: Activated by something external to network - Hidden Layer: Not seen directly; helps map input combination to outputs - Outputs: The result of putting inputs into the network
  • 5. - Perceptrons can be used to model any digital circuit - ...but, we don’t know what the biases and weights should be, and small changes in them either make no impact to a neuron’s output or a large one - ...and we can already model digital circuits, with actual digital circuits, so this is not very impressive So what we want is a neuron with an output that behaves similar to a step function, but allows us to make small changes, and have output values other than 1 and 0…………...how about a Sigmoid function for the output?
  • 6. The Sigmoid Neuron - With a Sigmoid Neuron, we use the same principles as the Perceptron, but now: Output = Sigmoid( Sum(xi*wi)+b ) - Now, a small change in xi, wi, or b will have a small change in the output, and we don’t have to stick to binary logic
  • 7. How Does a Neural Network Learn? We have to create a method to find the ideal weights and biases. - Backpropagation - Genetic Algorithms
  • 8. Backpropagation - Define a Cost function, which is minimized when the network performs performs better - Run the network, as is, through a few tests - Use some calculus to figure out how to adjust the biases and weights for the output layer - Using information about how we changed the layer to the right, change weights and biases moving to the left
  • 9. Example Using Backpropagation - Red Ball wants to chase Blue Ball (controlled by mouse) - Red Ball knows whether the blue ball is above, below, to the left, or to the right - Red Ball knows where it should move, but it’s network starts out not knowing how to control its movement (up, down, left, right) - Actual movement of red ball compared to how it should move, and backpropagation used to change weights and biases
  • 10. Example Using Backpropagation - Neurons drawn as circles, with the color representing the activation, red(0) -> blue(1) - The color of each path represents the weight of the connection, red(0) -> blue(1) - The graph shows the weights of the paths into the top-most neuron of the hidden layer over time - See the Example Here
  • 11. Genetic Algorithms - Use a “genetic sequence” which contains all the information of the weights and biases in a network - Make a ton of these sequences, randomly - Test each sequence with a network, and score them based upon how well they perform the desired task - Take the sequences that perform the best, “breed” them to create several children, and and go back to testing - Over several generations of this process, the sequences should get closer and closer to the desired functionality - Example: https://www.youtube.com/watch?v=qv6UVOQ0F44 (this uses a more advanced technique called NEAT, but it’s still using genetic algorithms)
  • 12. Deep Learning - Uses multiple hidden layers which feed into each other - Concept: Data inputted into network can be understood as an interaction between multiple factors in various levels of abstraction - Can be supervised or unsupervised - Example - Google DeepDream: https://github.com/google/deepdream
  • 13. Sources and Useful Links - http://neuralnetworksanddeeplearning.com/in dex.html - http://nn.cs.utexas.edu/downloads/papers/st anley.ec02.pdf - https://en.wikipedia.org/wiki/Deep_learning - http://www.ai-junkie.com/ga/intro/gat1.html And visit our website: http://woodridgesoftware.com