980 likes | 1.87k Views
Introduction of Machine Learning. Disclaimer : This PPT is modified based on Dr. Hung- yi Lee http://speech.ee.ntu.edu.tw/~ tlkagk/courses_ML17.html. Course references--Books. What is Machine Learning?. What is Machine Learning (speech recognition)?. Learning. “Hi”. “How are you”.
E N D
Introduction of Machine Learning Disclaimer: This PPT is modified based on Dr. Hung-yi Lee http://speech.ee.ntu.edu.tw/~tlkagk/courses_ML17.html
What is Machine Learning (speech recognition)? Learning ...... “Hi” “How are you” You said “Hello” “Good bye” You write the program for learning. A large amount of audio data
What is Machine Learning? Learning ...... “monkey” “cat” This is “cat” “dog” You write the program for learning. A large amount of images
Machine Learning ≈ Looking for a Function • Speech Recognition • Image Recognition • Playing Go • Dialogue System “How are you” “Cat” “5-5” (next move) “Hi” “Hello” (system response) (what the user said)
Image Recognition: Framework A set of function Model “cat” “cat” “monkey” “dog” “snake”
Image Recognition: Framework A set of function Model “cat” Better! Goodness of function f Training Data function input: function output: “dog” “monkey” “cat”
Image Recognition: Framework Testing A set of function Training Model “cat” “cat” Step 1 Using Goodness of function f Pick the “Best” Function Step 2 Step 3 Training Data “dog” “monkey” “cat”
Machine Learning is so simple …… Similar to put an elephant into a refrigerator……
Learning Map scenario task method Learning Theory Semi-supervised Learning Transfer Learning Regression Unsupervised Learning Reinforcement Learning Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Learning Map The output of the target function is “scalar”. Regression Today’s morning PM2.5 Predict: PM2.5 f Tomorrow’s morning PM2.5 Yesterday’s morning PM2.5 (scalar) ……. Training Data: Output: Input: 9/02morningPM2.5 = 65 9/03morningPM2.5 = 100 9/01morningPM2.5 = 63 Input: Output: 9/12morningPM2.5 = 30 9/13morningPM2.5 = 25 9/14morningPM2.5 = 20
Learning Map Regression Classification
Classification • Binary Classification • Multi-class Classification Yes or No Class 1, Class 2, … Class N Function f Function f Input Input
Binary Classification Function Spam filtering Yes/No Yes Training Data No (http://spam-filter-review.toptenreviews.com/)
Multi-class Classification Policy Document Classification Function Econ Sports Training Data Sport Policy Econ http://top-breaking-news.com/
Learning Map Regression Linear Model Deep Learning Non-linear Model Classification
Classification - Deep Learning • ImageRecognition Training Data Hierarchical Structure “monkey” “monkey” “cat” Function “cat” “dog” Each possible object is a class “dog”
Classification - Deep Learning Next move Function • Playing GO Each position is a class (19 x 19 classes) Training Data
Hard to collect a large amount of labelled data Learning Map Semi-supervised Learning Regression Linear Model Training Data: Deep Learning SVM, decision tree, K-NN… Input/output pair of target function Non-linear Model Classification Function output = label Supervised Learning
Semi-supervised Learning For example, recognizing cats and dogs Labelled data dog cat Unlabeled data (Images of cats and dogs)
Learning Map Semi-supervised Learning Transfer Learning Regression Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Transfer Learning For example, recognizing cats and dogs Labelled data dog cat elephant Haruhi Data not related to the task considered (can be either labeled or unlabeled)
Learning Map Semi-supervised Learning Transfer Learning Regression Unsupervised Learning Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Unsupervised Learning • Machine Reading: Machine learns the meaning of wordsfrom reading a lot of documents http://top-breaking-news.com/
Unsupervised Learning • Machine Reading: Machine learns the meaning of wordsfrom reading a lot of documents Apple Training data is a lot of text Function ? https://garavato.files.wordpress.com/2011/11/stacksdocuments.jpg?w=490
Unsupervised Learning Draw something! http://ttic.uchicago.edu/~klivescu/MLSLP2016/ (slides of Ian Goodfellow)
Unsupervised Learning • Machine Drawing Training data is a lot of images ? code Function
Learning Map Semi-supervised Learning Transfer Learning Regression Unsupervised Learning Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Structured Learning - Beyond Classification “Welcome to Machine Learning” f Speech Recognition f “機器學習” “Machine Learning” Machine Translation Face Recognition
Structured Learning - Beyond Classification Face Recognition https://github.com/yu4u/age-gender-estimation
Learning Map Semi-supervised Learning Transfer Learning Regression Unsupervised Learning Reinforcement Learning Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
Transfer Learning - Machine Learning's Next Frontier http://ruder.io/transfer-learning/
Reinforcement learning https://www.marutitech.com/businesses-reinforcement-learning/
Reinforcement learning https://becominghuman.ai/the-very-basics-of-reinforcement-learning-154f28a79071
Face Aging https://medium.com/syncedreview/face-aging-with-conditional-generative-adversarial-networks-d41076379047
Supervised v.s. Reinforcement • Supervised • Reinforcement “Hello” Say “Hi” Learning from teacher “Bye bye” Say “Good bye” …… ……. ……. • Hello Bad …… Learning from critics Agent Agent
Supervised v.s. Reinforcement • Supervised: • Reinforcement Learning Next move: “5-5” Next move: “3-3” First move …… many moves …… Win! Alpha Go is supervised learning + reinforcement learning.
Learning Map scenario task method Learning Theory Semi-supervised Learning Transfer Learning Regression Unsupervised Learning Reinforcement Learning Linear Model Deep Learning SVM, decision tree, K-NN… Structured Learning Non-linear Model Classification Supervised Learning
Why we need to learn Machine Learning? http://www.express.co.uk/news/science/651202/First-step-towards-The-Terminator-becoming-reality-AI-beats-champ-of-world-s-oldest-game New job:AI trainer Will AI replace our jobs?