AI Society
AI Society
What is a neural network
INPUT LAYER
OUTPUT LAYER
HIDDEN LAYERS
LEGAL?
LEGAL?
ZOOM IN
2 Parts: Summation and Activation
∑
σ
Activation Functions
ReLU
(The one we will use in this
tutorial)
Sigmoid
(The one she tells you not to worry about)
Alright, let’s solve a problem.
Input A | Input B | Output |
1 | 1 | 0 |
1 | 0 | 1 |
0 | 1 | 1 |
0 | 0 | 0 |
XOR
1
1
0
XOR
1.0
-2.0
1.0
1.0
1.0
XOR
1.0
-2.0
1.0
1.0
1.0
-1.0
XOR
1.0
-2.0
1.0
1.0
1.0
-1.0
1
1
XOR
1.0
-2.0
1.0
1.0
1.0
-1.0
1
1
XOR
1.0
-2.0
1.0
1.0
1.0
-1.0
1
1
1
max(0, 1*1 + 1*1 + -1)
XOR
1.0
-2.0
1.0
1.0
1.0
-1.0
1
1
1
0
max(0, 1*1 + 1*1 + -2.0*1 + 0)