Applied Machine Learning
Spring 2018, CS 519
- Prof. Liang Huang
School of EECS Oregon State University
liang.huang@oregonstate.edu
Applied Machine Learning Spring 2018, CS 519 Prof. Liang Huang - - PowerPoint PPT Presentation
Applied Machine Learning Spring 2018, CS 519 Prof. Liang Huang School of EECS Oregon State University liang.huang@oregonstate.edu Machine Learning is Everywhere A breakthrough in machine learning would be worth ten Microsofts (Bill
Spring 2018, CS 519
School of EECS Oregon State University
liang.huang@oregonstate.edu
Machine Learning
2
Machine Learning
3
Artificial Intelligence machine learning natural language processing (NLP) computer vision data mining
information retrieval
planning AI search robotics
Machine Learning
3
Artificial Intelligence machine learning natural language processing (NLP) computer vision data mining
information retrieval
planning AI search
IBM Deep Blue, 1997 AI search (no learning)
robotics
Machine Learning
3
Artificial Intelligence machine learning natural language processing (NLP) computer vision data mining
information retrieval
planning AI search
IBM Deep Blue, 1997 AI search (no learning)
IBM Watson, 2011 NLP + very little ML
robotics
Machine Learning
3
Artificial Intelligence machine learning natural language processing (NLP) computer vision data mining
information retrieval
planning AI search
Google DeepMind AlphaGo, 2017 deep reinforcement learning + AI search
IBM Deep Blue, 1997 AI search (no learning)
IBM Watson, 2011 NLP + very little ML
robotics
Machine Learning
3
Artificial Intelligence machine learning natural language processing (NLP) computer vision data mining
information retrieval
planning AI search
Google DeepMind AlphaGo, 2017 deep reinforcement learning + AI search
IBM Deep Blue, 1997 AI search (no learning)
IBM Watson, 2011 NLP + very little ML
RL DL robotics
Machine Learning
by autonomous cars) but the programmers in those companies will be too, by automatic program generators.” --- an Uber driver to an ML prof
4
Uber uses tons of AI/ML: route planning, speech/dialog, recommendation, etc.
Machine Learning
5
Machine Learning
5
liang’s rule: if you see “X carefully” in China, just don’t do it.
Machine Learning
6
Machine Learning
7
Machine Learning
7
clear evidence that AI/ML is used in real life.
Machine Learning
Algorithms; Different Types of Learning
8
Machine Learning
9
Output Traditional Programming Machine Learning Computer Input Program Computer Input Output Program
I love Oregon
私はオレゴンが大好き
rule-based translation
(1950-2000)
I love Oregon
私はオレゴンが大好き (2003-now)
Machine Learning
No, more like gardening
You
10
“There is no better data than more data”
Machine Learning
components:
–Representation –Evaluation –Optimization
11
Machine Learning
12
Machine Learning
13
Machine Learning
14
Machine Learning
15
Machine Learning
16
cat dog cat dog
white win
rules
Machine Learning
17
Machine Learning
18
Machine Learning
19
Machine Learning
19
(not a good feature)
Machine Learning
19
(not a good feature) (a good feature)
Machine Learning
19
(not a good feature) (a good feature)
Machine Learning
20
Machine Learning
21
Machine Learning
Vector Machines (weeks 4-5)
22
Machine Learning
Underfitting and Overfitting; Methods to Prevent Overfitting; Cross-Validation and Leave-One-Out
23
Machine Learning
24
Machine Learning
25
underfitting underfitting underfitting
(model complexity)
Machine Learning
(aka “validation set”, “dev set”, etc)
26
polynomials of degree 9
Machine Learning
folds 1..(N-1), test on fold N; etc.
generalization error
27
Machine Learning
28
Machine Learning
29
majority of the closest neighbors in training set
k=1: red k=3: red k=5: blue
Machine Learning
the following data set, using 1-NN and 3-NN?
30
Machine Learning
the following data set, using 1-NN and 3-NN?
30
Ans: 1-NN: 5/10; 3-NN: 1/10