





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























Lecture 10: Neural Networks
Cho-Jui Hsieh
Feb 20, 2019
How to generate this nonlinear hypothesis?
Combining multiple linear hyperplanes to construct nonlinear hypothesis
Input layer: d neurons (input features)
Neurons from layer 1 to L: Linear combination of previous layers +
activation function
θ(w
T
x), θ : activation function
Final layer: one neuron ⇒ prediction by sign(h(x))
w
(l)
ij
1 ≤ l ≤ L : layers
0 ≤ i ≤ d
(l−1) : inputs
1 ≤ j ≤ d
(l) : outputs
w
(l)
ij
1 ≤ l ≤ L : layers
0 ≤ i ≤ d
(l−1) : inputs
1 ≤ j ≤ d
(l) : outputs
j-th neuron in the l-the layer:
x
(l)
j
= θ(s
(l)
j
) = θ(
d
(l−1)
∑
i=
w
(l)
ij
x
(l−1)
i
All the weights W = {W 1
L
} determine h(x)