SLIDE 1
Neural Networks Overview CS89.11/189.2 - Spring 2020 Our Neurons - - PowerPoint PPT Presentation
Neural Networks Overview CS89.11/189.2 - Spring 2020 Our Neurons - - PowerPoint PPT Presentation
Neural Networks Overview CS89.11/189.2 - Spring 2020 Our Neurons Our Neurons Dendrites Our Neurons Dendrites Axon Our Neurons Dendrites Axon terminals Axon Our Neurons Dendrites I 0 I 1 Axon terminals I 2 I 3 Axon I 4 I 5 I m Our
SLIDE 2
SLIDE 3
Dendrites
Our Neurons
SLIDE 4
Axon
Our Neurons
Dendrites
SLIDE 5
Axon
Our Neurons
Dendrites Axon terminals
SLIDE 6
Axon
Our Neurons
I1 I2 I0 I3 I4 I5 … Im Dendrites Axon terminals
SLIDE 7
Axon
Our Neurons
I1 I2 I0 I3 I4 I5 … Im Nucleus decides what to do based on the Im and its activation function
Dendrites Axon terminals
SLIDE 8
Dendrites Axon
Our Neurons
I1 I2 I0 I3 I4 I5 … Im
Axon terminals
SLIDE 9
Axon Axon terminals
Our Neurons
I1 I2 I0 I3 I4 I5 … Im O0 O1 O2 O3 … On
Dendrites
SLIDE 10
Artificial Neuron
I0 I1 I2 Neuron Activation Output
SLIDE 11
Artificial Neuron
I0 I1 I2 Neuron
Activation Function
Output
∑
i
(Ii × Wi) ϕ(∑
i
(Ii × Wi))
W1 W2 W0
SLIDE 12
Artificial Neural Network
SLIDE 13
Artificial Neural Network Layers
Input Layer Hidden Layer Output Layer
SLIDE 14
Simplified Neural Network
Input Layer Hidden Layer Output Layer
Σ|ϕ Σ|ϕ Σ|ϕ
SLIDE 15
Each layer is fully connected to the next
Σ|ϕ Σ|ϕ Σ|ϕ
SLIDE 16
A simple pseudo-neural network example
(adapted from Andrew Ng)
Size # Bedrooms Zipcode Average Income Expected Price SchoolQuality Commute FamilyFit
SLIDE 17
All neurons in a level have the same
ϕ
ϕ0 ϕ1
Σ|ϕ0 Σ|ϕ0 Σ|ϕ1
SLIDE 18
Bias neurons can shift at a level
ϕ
B0 B1
ϕ0 ϕ1
Σ|ϕ0 Σ|ϕ0 Σ|ϕ1
SLIDE 19
Neural network examples
B I0 I1 O 1 1
- 1.5
AND
B I0 I1 O 1 1
- 0.5
OR
B I0 O
- 1
0.5
NOT
from AI for Humans, Vol 3., J. Heaton
SLIDE 20
Neural network example: XOR
H00
1 1
- 1.5
adapted from AI for Humans, Vol 3., J. Heaton
1 1
- 0.5
H10
O 0.5
- 1
1
- 1.5
B2 B0 I0 I1
H01
B1 1
I0 I1 H00 H’00 H01 H’01 H10 H’10 O O’
- 1.5
- 0.5
0.5 1
- 0.5
1
- 0.5
0.5 1 0.5 1 0.5 1 1
- 0.5
0.5 1 0.5 1 0.5 1 1 1 0.5 1 1.5 1
- 0.5
- 0.5