Presentation is loading. Please wait.

Presentation is loading. Please wait.

Non-linear hypotheses

Similar presentations


Presentation on theme: "Non-linear hypotheses"— Presentation transcript:

1 Non-linear hypotheses
Neural Networks: Representation Non-linear hypotheses Machine Learning

2 Non-linear Classification
x2 x1 size # bedrooms # floors age

3 What is this? You see this: But the camera sees this:

4 Computer Vision: Car detection
Cars Not a car Testing: What is this?

5 Learning Algorithm pixel 1 pixel 2 Raw image pixel 2 pixel 1 Cars
“Non”-Cars pixel 1

6 Learning Algorithm pixel 1 pixel 2 Raw image pixel 2 pixel 1 Cars
“Non”-Cars pixel 1

7 Learning Algorithm 50 x 50 pixel images→ 2500 pixels (7500 if RGB)
Raw image 50 x 50 pixel images→ 2500 pixels (7500 if RGB) pixel 2 pixel 1 intensity pixel 2 intensity pixel 2500 intensity pixel 1 Quadratic features ( ): ≈3 million features Cars “Non”-Cars

8

9 Neural Networks: Representation
Neurons and the brain Machine Learning

10 Neural Networks Origins: Algorithms that try to mimic the brain. Was very widely used in 80s and early 90s; popularity diminished in late 90s. Recent resurgence: State-of-the-art technique for many applications

11 The “one learning algorithm” hypothesis
Auditory Cortex Auditory cortex learns to see [Roe et al., 1992] [Roe et al., 1992]

12 The “one learning algorithm” hypothesis
Somatosensory Cortex Somatosensory cortex learns to see [Metin & Frost, 1989]

13 Sensor representations in the brain
Seeing with your tongue Human echolocation (sonar) Haptic belt: Direction sense Implanting a 3rd eye [BrainPort; Welsh & Blasch, 1997; Nagel et al., 2005; Constantine-Paton & Law, 2009]

14

15 Model representation I Neural Networks: Representation
Machine Learning

16 Neuron in the brain

17 Neurons in the brain [Credit: US National Institutes of Health, National Institute on Aging]

18 Neuron model: Logistic unit
Sigmoid (logistic) activation function.

19 Neural Network Layer 1 Layer 2 Layer 3

20 Neural Network “activation” of unit in layer
matrix of weights controlling function mapping from layer to layer If network has units in layer , units in layer , then will be of dimension

21

22 Model representation II
Neural Networks: Representation Model representation II Machine Learning

23 Forward propagation: Vectorized implementation
Add

24 Neural Network learning its own features
Layer 1 Layer 2 Layer 3

25 Other network architectures
Layer 1 Layer 2 Layer 3 Layer 4

26

27 Examples and intuitions I
Neural Networks: Representation Examples and intuitions I Machine Learning

28 Non-linear classification example: XOR/XNOR , are binary (0 or 1).

29 Simple example: AND 1.0 1

30 Example: OR function 1 -10 20 20

31

32 Examples and intuitions II
Neural Networks: Representation Examples and intuitions II Machine Learning

33 Negation: 1

34 Putting it together: -30 10 -10 20 -20 20 20 -20 20 1

35 Neural Network intuition
Layer 1 Layer 2 Layer 3 Layer 4

36 Handwritten digit classification
[Courtesy of Yann LeCun]

37

38 Multi-class classification
Neural Networks: Representation Multi-class classification Machine Learning

39 Multiple output units: One-vs-all.
Pedestrian Car Motorcycle Truck Want , , , etc. when pedestrian when car when motorcycle

40 Multiple output units: One-vs-all.
Want , , , etc. when pedestrian when car when motorcycle Training set: one of , , , pedestrian car motorcycle truck

41


Download ppt "Non-linear hypotheses"

Similar presentations


Ads by Google