Coursera Machine Learning Course Week 6 - Slides
Coursera Machine Learning Course Week 6 - Slides
Coursera Machine Learning Course Week 6 - Slides
Too many
options online…
“Dress shoes”
Sentence
Classifier
from
review MODEL
Output: y
Input: x
Predicted class
Input: x Output: y
Image pixels Predicted object
8
©2015 Emily Fox & Carlos Guestrin Machine Learning Specialization
Neural networks
ê
Learning *very*
non-linear features
w2
x2 y
…
> 0, output 1
xd < 0, output 0
1 1
x1 y x1 y
x2 x2
XOR
the counterexample
to everything
1 -0.5 1
x1 z1 y
-1
1
-1
1
x2 z2
Thresholded to 0 or 1
©2015 Emily Fox & Carlos Guestrin Machine Learning Specialization
A neural network
• Layers and layers and layers of
linear models and non-linear transformations
1 1
x1 z1 y
x2 z2
Nose
Eye
Face!
Eye
Mouth
17
©2015 Emily Fox & Carlos Guestrin Machine Learning Specialization
Typical local detectors look for
locally “interesting points” in image
• Image features: collections of
locally interesting points
- Combined to build classifiers
Face!
• Spin Images
[Johnson & Herbert ‘99]
• Textons
[Malik et al. ‘99]
• RIFT
[Lazebnik ’04]
• GLOH
[Mikolajczyk & Schmid ‘05]
• HoG
[Dalal & Triggs ‘05]
Hand-created
Face?
features
Example
detectors
learned
Example
interest
points
detected
0.25
Huge
0.2
gain
0.15
0.1
0.05
0
SuperVision ISI OXFORD_VGG
Deep learning
+
Transfer learning
Can we learn
features from Face?
Hand-created
data, even
featureswhen
we don’t have
data or time?
36
©2015 Emily Fox & Carlos Guestrin Machine Learning Specialization
Transfer learning: Use data from
one task to help learn on another
Old idea, explored for deep learning by Donahue et al. ’14 & others
vs.
Example
detectors
learned
Example
interest
points
detected
Learn
Training
Extract simple
set
features classifier
Some with
labeled neural net
data trained on
different
task Validation
Validate
set
©2015 Emily Fox & Carlos Guestrin Machine Learning Specialization
How general are deep features?