Neural Networks - Virginia Tech
Transcript of Neural Networks - Virginia Tech
Outline
• Logistic regression and perceptron as neural networks
• Multi-layered perceptron
• Nonlinearity
https://en.wikipedia.org/wiki/Neuron#/media/File:Chemical_synapse_schema_cropped.jpg
https://en.wikipedia.org/wiki/Neuron#/media/File:Chemical_synapse_schema_cropped.jpg
https://en.wikipedia.org/wiki/Neuron#/media/File:GFPneuron.png
Parameterizing p(y|x)p(y |x) := f
f : Rd ! [0, 1]
f (x) :=
1
1 + exp(�w
>x)
x1 x2 x3 x4 x5
w1w2 w3w4 w5
y
Multi-Layered Perceptronx1 x2 x3 x4 x5
h1 h2
y
raw data
representation
prediction
pixel values
shapes
faces
roundshadows
Multi-Layered Perceptron
x1 x2 x3 x4 x5
h1 h2
yh = [h1, h2]>
h1 = �(w>11x) h2 = �(w>
12x)
p(y |x) = �(w>21h)
p(y |x) = �⇣w
>21
⇥�(w>
11x),�(w>12x)
⇤>⌘
Decision Surface: More Layers, More Hidden Units
4 layers, 10 hidden units each layer10 layers, 5 hidden units per layer