Lecture 19 NN
Lecture 19 NN
Biological Neuron
●
Neurons are interconnected nerve cells in the human brain
that are involved in:
–Processing and transmitting chemical and electrical signals
A human brain has billions of neurons
●
●
Dendrites are branches that receive information from other
neurons
Biological Neurons
●
Dendrites are branches that
receive information from other
neurons
●
Cell nucleus or Soma
processes the information
received from dendrites
●
Axon is a cable that is used by
neurons to send information
●
Synapse is the connection
between an axon and other
neuron dendrites
Artificial Neuron
●
An artificial neuron is a
mathematical function based on
a model of biological neurons,
where each neuron takes:
–Inputs
Rosenblatt in 1957
●
A Perceptron is an algorithm for
supervised learning of binary
classifiers
●
This algorithm enables neurons to
learn and processes elements in the
training set one at a time
Types of Perceptron
●
There are two types of Perceptrons:
–Single layer
–Multilayer
●
Single layer Perceptrons can learn only linearly separable patterns
Multilayer Perceptrons or feedforward neural networks with two or
●
●
Where:
–“w” = vector of real-valued weights
–“b”= bias (an element that adjusts the boundary away from origin without any dependence on the
input value)
–“x” = vector of input x values
●
“m” = number of inputs to the Perceptron
The output can be represented as “1” or “0.” It can also be represented as “1” or “-1” depending on
●
●
Activation unit will return 0 because sum unit is 0 and it is
less than the threshold value 0.5. The output of the 1st
instance should be 0 as well. This means that the instance is
classified correctly.
No update in weights
●
Round-2 (2nd Instance)
Feed forward for the 2nd instance. x1 = 0 and x2 = 1
●
●
Activation unit will return 0 because sum unit is less than the
threshold 0.5.
Output will be 0 and means that it is classified correctly and
●
●
Use Softmax on output layers with more than two categories
to be predicted
Use Sigmoid on an output layer with two categories
●