Machine Learning�
1
What is Machine Learning?
2
What We Talk About When We Talk About “Learning”
People who bought “Da Vinci Code” also bought “The Five People You Meet in Heaven” (www.amazon.com)
3
Types of Learning Tasks
4
Learning Associations
P (Y | X ) probability that somebody who buys X also buys Y where X and Y are products/services.
Example: P ( chips | beer ) = 0.7
5
Classification
6
Discriminant: IF income > θ1 AND savings > θ2
THEN low-risk ELSE high-risk
Classification: Applications
7
Face Recognition
8
Training examples of a person
Test images
The Role of Learning
9
10
Regression
y : price
y = g (x, θ )
g ( ) model,
θ parameters
11
y = wx+w0
Supervised Learning: Uses
12
Unsupervised Learning
13
Displaying the structure of a set of documents
14
Example: Netflix
15
Example: Zipcodes
16
What makes a 2?
17
Example: Google
18
Example: Call Centers
19
Example: Stock Market
20
Web-based examples of machine learning
21
What is a Learning Problem?
22
Develop methods, techniques and tools for building intelligent learning machines, that can solve the problem in combination with an available data set of training examples.
When a learning machine improves its performance at a given task over time, without reprogramming, it can be said to have learned something.
Learning Example
23
Components of a Learning Problem�
24
25
H. Simon:
Learning denotes changes in the system that are adaptive in the sense that they enable the system to do the task or tasks drawn from the same population more efficiently and more effectively the next time.”
The ability to perform a task in a situation which has never been encountered before
Learning = Generalization
Hypothesis Space
26
Generalization
27
Goodness of Fit vs. Model Complexity
28
A Sampling Assumption
29
A Simple Example: Fitting a Polynomial
30
from Bishop
Some fits to the data: which is best?
31
from Bishop
A simple way to reduce model complexity
32
from Bishop
Ockham’s Razor
What Experience E to Use?
33
What Exactly Should be Learned?
34
A Possible Target Function V For Checkers
35
⌃
How Might Target Function be Represented?
36
Obtaining Training Examples
37
Example of LMS Weight Update Rule
1. Compute
2. for each board feature xi, update weight wi
3. If error > 0, wi increases and vice versa
38
)
(
b
.error
x
c.
w
w
i
i
i
+
←
Gradient descent
Some Issues in Machine Learning
39
Learning Feedback
40
Ways of Learning
41
Inductive and Deductive Learning
42
Assessment of Learning Algorithms
43
Some Theoretical Settings
44
Key Aspects of Learning
45
An Owed to the Spelling Checker
I have a spelling checker.
It came with my PC
It plane lee marks four my revue
Miss steaks aye can knot sea.
Eye ran this poem threw it.
your sure reel glad two no.
Its vary polished in it's weigh
My checker tolled me sew.
……..
46
The Role of Learning
47