Neural Networks: Representation: Non-Linear Hypotheses
Neural Networks: Representation: Non-Linear Hypotheses
Representation
Non-linear
hypotheses
Machine Learning
Non-linear Classification
x2
x1
size
# bedrooms
# floors
age
Andrew Ng
What is this?
You see this:
Andrew Ng
Computer Vision: Car detection
Testing:
What is this?
Andrew Ng
pixel 1
Learning
Algorithm
pixel 2
Raw image
pixel 2
Cars pixel 1
“Non”-Cars Andrew Ng
pixel 1
Learning
Algorithm
pixel 2
Raw image
pixel 2
Cars pixel 1
“Non”-Cars Andrew Ng
pixel 1
Learning
Algorithm
pixel 2
pixel 1 intensity
pixel 2 intensity
Andrew Ng
The “one learning algorithm” hypothesis
Auditory Cortex
Somatosensory Cortex
Andrew Ng
Neurons in the brain
Andrew Ng
Neural Network
Add .
Andrew Ng
Neural Network learning its own features
Andrew Ng
Other network architectures
Andrew Ng
Neural Networks:
Representation
Examples and
intuitions I
Machine Learning
Non-linear classification example: XOR/XNOR
, are binary (0 or 1).
x2
x2
x1
x1
Andrew Ng
1.0
Simple example: AND
0 0
0 1
1 0
1 1
Andrew Ng
Example: OR function
-10
20
0 0
0 1
20
1 0
1 1
Andrew Ng
Neural Networks:
Representation
Examples and
intuitions II
Machine Learning
Negation:
0
1
Andrew Ng
Putting it together:
-30 10 -10
20 -20 20
20 -20 20
0 0
0 1
1 0
1 1
Andrew Ng
Neural Network intuition
Andrew Ng
Handwritten digit classification
Andrew Ng
Multiple output units: One-vs-all.
Want , , , etc.
when pedestrian when car when motorcycle
Andrew Ng
Multiple output units: One-vs-all.
Want , , , etc.
when pedestrian when car when motorcycle
Training set:
one of , , ,
pedestrian car motorcycle truck
Andrew Ng