SlideShare a Scribd company logo
Neural Networks
Chris Sharkey
today
@shark2900
Vs
Types of Neurons
STypesofNeuronsS
Linear
Binary Threshold
Rectifier
Sigmoid
Stochastic Binary
Simple neurons. Computationally limited.
Fixed output upon passing a threshold
Variable output upon passing a threshold
Outputs a smooth bounded function
Outputs a smooth bounded probability function
Linear Neuron
• simple and consequently computationally limited
𝑦 = 𝑏 +
𝑖
𝑎
𝑥𝑖 𝑤𝑖
𝑎
output
bias i th input
weight on i th input
sum of all incoming connections with each connection considered
the activity on the input neuron multiplied by the weight on the line
Linear Neuron
𝑏 +
𝑖
𝑎
𝑥𝑖 𝑤𝑖
𝑎
y
• plotting the output by the bias +
the weighted activity on the
input lines produces a straight
line that travels thought the
origin
Binary Threshold Neurons
• computes a weighted sum of inputs
• sends out a fixed spike of activity if the weighted sum exceeds a threshold
z = 𝑖 𝑥𝑖 𝑤𝑖
𝑎
y
1 𝑖𝑓 𝑧 ≥ 𝜃
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
z = 𝑏 + 𝑖
𝑎
𝑥𝑖 𝑤𝑖
𝑎
y
1 𝑖𝑓 𝑧 ≥ 0
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝜃 = −𝑏
Binary Threshold Neurons
• binary output either a spike in
activity or no activity
• spike is like a truth value
threshold weighted input
output
1
0 threshold
Rectifier Linear Neurons
• zero as an output or no output until a threshold is passed
• when threshold is passed the output z is equivalent to the output y
z = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖
𝑎
y
𝑧 𝑖𝑓 𝑧 > 0
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Rectifier Linear Neurons
• allows for the nice properties of
linear systems above zero and
allows for decision making below
at 0
y
z
0
Sigmoid Neurons
• give a more real-valued output
• output is a smooth and bounded function of the total input
z = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖
𝑎
y =
1
1+𝑒−𝑧
Sigmoid Neurons
• nice derivatives of the curve
exist
• nice derivatives are
advantageous for easier learning
algorithms
• (more details in next talk)
z
y
.5
0
Stochastic Binary Neurons
• same equation as sigmoid or logistic neurons
• treat the output of the logistics as the probability of producing a spike in a short
window of time
y = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖
𝑎
𝑝(𝑠 = 1) =
1
1+𝑒−𝑧
Stochastic Binary Neurons
• use same as logistic units but
are bounded by measures of
probability
z
p
.5
0
Question?
Perceptrons
• first generation of neural networks
• good first example of a neural network
• binary threshold neurons
• trained binary neurons work as classifiers
• example of ability includes pattern recognition
• popularized by Frank Rosenblatt in the 1960’s 1
x1
x2
b
w1
w2
Perceptrons
• learning procedure:
• add an extra component with value 1 to each input vector
• this accounts for the bias values
• pick training cases using any policy that ensures every training case will keep getting
picked. To begin randomly assign weights then using an iterative method adjust
the weights:
‣ if the output unit is correct do not change the weight
‣ if the output unit is incorrect and output is a 0 add the input vector to the weight vector
‣ if the output unit is incorrect and the output is a 1 subtract the input vector from the weight vector
• stop when the set of weights that correctly classifies all training cases are found
• assuming such set of weights exists
Perceptrons
• Weight space
an input vector
with correct
answer (=1)
good weight
vector
bad weight
vector
bad weight
vector
an input vector
with correct
answer (=1)
an input vector
with correct
answer (=1)
bad weight
vectorgood weight
vector
an input vector
with correct
answer (=1)
Limitation of perceptron
The flaws and advantageous of perceptrons
What is next?
types of network architectures
Thank you

More Related Content

Viewers also liked

Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Manasa Mona
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
Mohammed Bennamoun
 
Artificial Neural Network
Artificial Neural Network Artificial Neural Network
Artificial Neural Network
Iman Ardekani
 
Neural networks...
Neural networks...Neural networks...
Neural networks...Molly Chugh
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.pptbutest
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
Yasir Khan
 
Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications
Ahmed_hashmi
 
Artificial neural network for load forecasting in smart grid
Artificial neural network for load forecasting in smart gridArtificial neural network for load forecasting in smart grid
Artificial neural network for load forecasting in smart grid
Ehsan Zeraatparvar
 

Viewers also liked (9)

Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
 
Artificial Neural Network
Artificial Neural Network Artificial Neural Network
Artificial Neural Network
 
Neural networks...
Neural networks...Neural networks...
Neural networks...
 
Frames
FramesFrames
Frames
 
lecture07.ppt
lecture07.pptlecture07.ppt
lecture07.ppt
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
Neural network & its applications
Neural network & its applications Neural network & its applications
Neural network & its applications
 
Artificial neural network for load forecasting in smart grid
Artificial neural network for load forecasting in smart gridArtificial neural network for load forecasting in smart grid
Artificial neural network for load forecasting in smart grid
 

Similar to Neural Networks - Types of Neurons

20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf
TitleTube
 
Neural Networks
Neural NetworksNeural Networks
CS767_Lecture_04.pptx
CS767_Lecture_04.pptxCS767_Lecture_04.pptx
CS767_Lecture_04.pptx
ShujatHussainGadi
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
Atul Krishna
 
Lect аі 2 n net p2
Lect аі 2 n net p2Lect аі 2 n net p2
Lect аі 2 n net p2
Halyna Melnyk
 
Artificial Neural Network_VCW (1).pptx
Artificial Neural Network_VCW (1).pptxArtificial Neural Network_VCW (1).pptx
Artificial Neural Network_VCW (1).pptx
pratik610182
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksSivagowry Shathesh
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
abhishek upadhyay
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphs
Revanth Kumar
 
Deep learning
Deep learningDeep learning
Deep learning
Kuppusamy P
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
ssuserab4f3e
 
Machine learning with neural networks
Machine learning with neural networksMachine learning with neural networks
Machine learning with neural networks
Let's talk about IT
 
Basics Of Neural Network Analysis
Basics Of Neural Network AnalysisBasics Of Neural Network Analysis
Basics Of Neural Network Analysis
bladon
 
Neural_Networks_scalability_consntency.ppt
Neural_Networks_scalability_consntency.pptNeural_Networks_scalability_consntency.ppt
Neural_Networks_scalability_consntency.ppt
VGaneshKarthikeyan
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
arjitkantgupta
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
EdutechLearners
 
Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)
gokulprasath06
 
Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
San Kim
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
SanaMateen7
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
RINUSATHYAN
 

Similar to Neural Networks - Types of Neurons (20)

20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf20200428135045cfbc718e2c.pdf
20200428135045cfbc718e2c.pdf
 
Neural Networks
Neural NetworksNeural Networks
Neural Networks
 
CS767_Lecture_04.pptx
CS767_Lecture_04.pptxCS767_Lecture_04.pptx
CS767_Lecture_04.pptx
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Lect аі 2 n net p2
Lect аі 2 n net p2Lect аі 2 n net p2
Lect аі 2 n net p2
 
Artificial Neural Network_VCW (1).pptx
Artificial Neural Network_VCW (1).pptxArtificial Neural Network_VCW (1).pptx
Artificial Neural Network_VCW (1).pptx
 
Principles of soft computing-Associative memory networks
Principles of soft computing-Associative memory networksPrinciples of soft computing-Associative memory networks
Principles of soft computing-Associative memory networks
 
nural network ER. Abhishek k. upadhyay
nural network ER. Abhishek  k. upadhyaynural network ER. Abhishek  k. upadhyay
nural network ER. Abhishek k. upadhyay
 
Deep neural networks & computational graphs
Deep neural networks & computational graphsDeep neural networks & computational graphs
Deep neural networks & computational graphs
 
Deep learning
Deep learningDeep learning
Deep learning
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
Machine learning with neural networks
Machine learning with neural networksMachine learning with neural networks
Machine learning with neural networks
 
Basics Of Neural Network Analysis
Basics Of Neural Network AnalysisBasics Of Neural Network Analysis
Basics Of Neural Network Analysis
 
Neural_Networks_scalability_consntency.ppt
Neural_Networks_scalability_consntency.pptNeural_Networks_scalability_consntency.ppt
Neural_Networks_scalability_consntency.ppt
 
Artificial neural networks
Artificial neural networksArtificial neural networks
Artificial neural networks
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)Artificial Neural Networks (ANN)
Artificial Neural Networks (ANN)
 
Deep learning study 2
Deep learning study 2Deep learning study 2
Deep learning study 2
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
 
artificial-neural-networks-rev.ppt
artificial-neural-networks-rev.pptartificial-neural-networks-rev.ppt
artificial-neural-networks-rev.ppt
 

More from Christopher Sharkey

Concepts on Mean Stack Development
Concepts on Mean Stack DevelopmentConcepts on Mean Stack Development
Concepts on Mean Stack Development
Christopher Sharkey
 
Concepts on Hadoop
Concepts on HadoopConcepts on Hadoop
Concepts on Hadoop
Christopher Sharkey
 
Introduction to Machine Learning & Classification
Introduction to Machine Learning & ClassificationIntroduction to Machine Learning & Classification
Introduction to Machine Learning & Classification
Christopher Sharkey
 
Senti Sense Pitch Deck
Senti Sense Pitch DeckSenti Sense Pitch Deck
Senti Sense Pitch Deck
Christopher Sharkey
 
Launch Box application for Senti Sense
Launch Box application for Senti SenseLaunch Box application for Senti Sense
Launch Box application for Senti Sense
Christopher Sharkey
 
E ship course application for Senti Sense
E ship course application for Senti SenseE ship course application for Senti Sense
E ship course application for Senti Sense
Christopher Sharkey
 

More from Christopher Sharkey (6)

Concepts on Mean Stack Development
Concepts on Mean Stack DevelopmentConcepts on Mean Stack Development
Concepts on Mean Stack Development
 
Concepts on Hadoop
Concepts on HadoopConcepts on Hadoop
Concepts on Hadoop
 
Introduction to Machine Learning & Classification
Introduction to Machine Learning & ClassificationIntroduction to Machine Learning & Classification
Introduction to Machine Learning & Classification
 
Senti Sense Pitch Deck
Senti Sense Pitch DeckSenti Sense Pitch Deck
Senti Sense Pitch Deck
 
Launch Box application for Senti Sense
Launch Box application for Senti SenseLaunch Box application for Senti Sense
Launch Box application for Senti Sense
 
E ship course application for Senti Sense
E ship course application for Senti SenseE ship course application for Senti Sense
E ship course application for Senti Sense
 

Recently uploaded

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 

Recently uploaded (20)

De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 

Neural Networks - Types of Neurons

  • 2. Vs
  • 3. Types of Neurons STypesofNeuronsS Linear Binary Threshold Rectifier Sigmoid Stochastic Binary Simple neurons. Computationally limited. Fixed output upon passing a threshold Variable output upon passing a threshold Outputs a smooth bounded function Outputs a smooth bounded probability function
  • 4. Linear Neuron • simple and consequently computationally limited 𝑦 = 𝑏 + 𝑖 𝑎 𝑥𝑖 𝑤𝑖 𝑎 output bias i th input weight on i th input sum of all incoming connections with each connection considered the activity on the input neuron multiplied by the weight on the line
  • 5. Linear Neuron 𝑏 + 𝑖 𝑎 𝑥𝑖 𝑤𝑖 𝑎 y • plotting the output by the bias + the weighted activity on the input lines produces a straight line that travels thought the origin
  • 6. Binary Threshold Neurons • computes a weighted sum of inputs • sends out a fixed spike of activity if the weighted sum exceeds a threshold z = 𝑖 𝑥𝑖 𝑤𝑖 𝑎 y 1 𝑖𝑓 𝑧 ≥ 𝜃 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 z = 𝑏 + 𝑖 𝑎 𝑥𝑖 𝑤𝑖 𝑎 y 1 𝑖𝑓 𝑧 ≥ 0 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 𝜃 = −𝑏
  • 7. Binary Threshold Neurons • binary output either a spike in activity or no activity • spike is like a truth value threshold weighted input output 1 0 threshold
  • 8. Rectifier Linear Neurons • zero as an output or no output until a threshold is passed • when threshold is passed the output z is equivalent to the output y z = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖 𝑎 y 𝑧 𝑖𝑓 𝑧 > 0 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
  • 9. Rectifier Linear Neurons • allows for the nice properties of linear systems above zero and allows for decision making below at 0 y z 0
  • 10. Sigmoid Neurons • give a more real-valued output • output is a smooth and bounded function of the total input z = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖 𝑎 y = 1 1+𝑒−𝑧
  • 11. Sigmoid Neurons • nice derivatives of the curve exist • nice derivatives are advantageous for easier learning algorithms • (more details in next talk) z y .5 0
  • 12. Stochastic Binary Neurons • same equation as sigmoid or logistic neurons • treat the output of the logistics as the probability of producing a spike in a short window of time y = 𝑏 + 𝑖 𝑥𝑖 𝑤𝑖 𝑎 𝑝(𝑠 = 1) = 1 1+𝑒−𝑧
  • 13. Stochastic Binary Neurons • use same as logistic units but are bounded by measures of probability z p .5 0
  • 15. Perceptrons • first generation of neural networks • good first example of a neural network • binary threshold neurons • trained binary neurons work as classifiers • example of ability includes pattern recognition • popularized by Frank Rosenblatt in the 1960’s 1 x1 x2 b w1 w2
  • 16. Perceptrons • learning procedure: • add an extra component with value 1 to each input vector • this accounts for the bias values • pick training cases using any policy that ensures every training case will keep getting picked. To begin randomly assign weights then using an iterative method adjust the weights: ‣ if the output unit is correct do not change the weight ‣ if the output unit is incorrect and output is a 0 add the input vector to the weight vector ‣ if the output unit is incorrect and the output is a 1 subtract the input vector from the weight vector • stop when the set of weights that correctly classifies all training cases are found • assuming such set of weights exists
  • 17. Perceptrons • Weight space an input vector with correct answer (=1) good weight vector bad weight vector bad weight vector an input vector with correct answer (=1) an input vector with correct answer (=1) bad weight vectorgood weight vector an input vector with correct answer (=1)
  • 18. Limitation of perceptron The flaws and advantageous of perceptrons
  • 19. What is next? types of network architectures