non linear hypotheses
play

Non-linear hypotheses Machine Learning Non-linear Classification x - PowerPoint PPT Presentation

Neural Networks: Representation Non-linear hypotheses Machine Learning Non-linear Classification x 2 x 1 size # bedrooms # floors age Andrew Ng What is this? You see this: But the camera sees this: Andrew Ng Computer Vision: Car


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

  2. Non-linear Classification x 2 x 1 size # bedrooms # floors age Andrew Ng

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

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

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

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

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

  8. Neural Networks: Representation Neurons and the brain Machine Learning

  9. 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 Andrew Ng

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

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

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

  13. Neural Networks: Representation Model representation I Machine Learning

  14. Neuron in the brain Andrew Ng

  15. Neurons in the brain [Credit: US National Institutes of Health, National Institute on Aging] Andrew Ng

  16. Neuron model: Logistic unit Sigmoid (logistic) activation function. Andrew Ng

  17. Neural Network Layer 1 Layer 2 Layer 3 Andrew Ng

  18. 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 . Andrew Ng

  19. Neural Networks: Representation Model representation II Machine Learning

  20. Forward propagation: Vectorized implementation Add . Andrew Ng

  21. Neural Network learning its own features Layer 1 Layer 2 Layer 3 Andrew Ng

  22. Other network architectures Layer 1 Layer 2 Layer 3 Layer 4 Andrew Ng

  23. Neural Networks: Representation Examples and intuitions I Machine Learning

  24. Non-linear classification example: XOR/XNOR , are binary (0 or 1). x 2 x 2 x 1 x 1 Andrew Ng

  25. Simple example: AND 1.0 0 0 0 1 1 0 1 1 Andrew Ng

  26. Example: OR function -10 0 0 20 0 1 20 1 0 1 1 Andrew Ng

  27. Neural Networks: Representation Examples and intuitions II Machine Learning

  28. Negation: 0 1 Andrew Ng

  29. Putting it together: -10 -30 10 20 20 -20 20 20 -20 0 0 0 1 1 0 1 1 Andrew Ng

  30. Neural Network intuition Layer 1 Layer 2 Layer 3 Layer 4 Andrew Ng

  31. Handwritten digit classification [Courtesy of Yann LeCun] Andrew Ng

  32. Handwritten digit classification [Courtesy of Yann LeCun] Andrew Ng

  33. Andrew Ng

  34. Neural Networks: Representation Multi-class classification Machine Learning Andrew Ng

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

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

  37. Andrew Ng

Recommend


More recommend