Session XX - Neural Network
Session XX - Neural Network
SESSION XX
Control System
INTRODUCTION
Application of Neural Network
Sound Recognition
PERCEPTRON
PERCEPTRON
• One of the early attempts to build an artificial neuron is that of
Frank Rosenblatt.
II
I
PERCEPTRON
• Mathematically, the perceptron function could be expressed by:
Where:
PERCEPTRON
• The perceptron algorithm, and architecture, has a major limitation,
its inability to deal with non-linearly separable pattern.
• This drawback restricts the use of Rosenblatt’s perceptron to
simple tasks
• To deal with such issue, artifficial neurons tweak the perceptron
architecture to include a differentiable activation function that
replaces the thresholding function.
PERCEPTRON
ACTIVATION FUNCTION
• Activation function is a non-linear operation applied on the output of the combiner.
b B
𝑏 {1} =0.1
𝑏 {3 }=0.05
𝑏 {2 }=0.2
𝑊 {1 ,1 }=0.5 𝑊 {1 ,𝑂 } =0.3
H1
X1
4 O
H2 𝑊 {2 , 𝑂} =−0.5
𝑊 {2 , 2}=0.1
X2 𝑊 {1 ,2 }=− 0.6
EXAMPLE
b
𝑏 {1} =0.1
𝑏 {2 }=0.2
𝑊 {1 ,1 }=0.5
H1
X1
4
Since the activation function is linear, the output is the same as the
H2 input.
𝑊 {2 , 2}=0.1
X2 𝑊 {1 ,2 }=− 0.6
EXAMPLE
b
𝑏 {1} =0.1
𝑏 {2 }=0.2
𝑊 {1 ,1 }=0.5
H1
X1
4
Since the activation function is linear, the output is the same as the
H2 input.
𝑊 {2 , 2}=0.1
X2 𝑊 {1 ,2 }=− 0.6
EXAMPLE
B
𝑏 {3 }=0.05
𝑊 {1 ,𝑂 } =0.3
H1
O
H2 𝑊 {2 , 𝑂} =−0.5
EXAMPLE
𝑊 {1 ,𝑂 } =0.3
H1
O After obtaining the loss, we search for the gradient of the loss with
respect to
H2 𝑊 {2 , 𝑂} =−0.5
EXAMPLE
For H1 neuron:
For H2 neuron:
EXAMPLE
359
EXAMPLE