CH2 ConceptLearning
CH2 ConceptLearning
Instructors:
Prof. Hachemi BinNaceur
Dr. Waad Alhoshan
Outline
2
Central problem in learning
4
Concept learning task (Cont.)
• A machine learning hypothesis is a candidate model
that approximates a target function for mapping
inputs to outputs
• Representing hypotheses
• Various representations for a hypothesis h.
– e.g. h is a conjunction of constraints on attributes.
5
Concept learning task (Cont.)
• e.g. h is a conjunction of constraints on attributes.
– Each constraint can be
• A specific value (e.g. Water = Warm)
• Don’t care, any value is acceptable (e.g. Water = ?)
• No value allowed (e.g. Water = Ø)
Sky AirTemp Humid Wind Water Forecst
<Sunny, ?, ?, Strong, ?, Same>
7
Concept learning task (Cont.)
• If some instance x satisfies all the constraints of
hypothesis h, then h classifies x as a positive
example (h(x) =1)
8
The inductive learning hypothesis
9
Concept learning as search
11
Instance, hypotheses, and more-general-
than
Given hypotheses hj and hk, hj is more-general-
than-or-equal-to hk if and only if any instance
that satisfies hk also satisfies hj.
12
Instance, hypotheses, and more-general-
than (Cont.)
13
Find-S algorithm
14
Hypothesis space search by Find-S
15
Unanswered questions by Find-S
17
Consistent vs. Satisfies
18
Version Spaces
19
Version Space: Example
20
Representing Version Spaces
21
The List-Then-Eliminate Algorithm
22
Candidate Elimination Algorithm (Cont.)
24
Candidate Elimination Algorithm (Cont.)
G0:
Candidate Elimination Algorithm (Cont.)
G0, G1:
Candidate Elimination Algorithm (Cont.)
G0, G1:
Candidate Elimination Algorithm (Cont.)
34
Candidate Elimination Algorithm: Example (Cont.)
S and G delimit the VS of candidate hypotheses
35
How Should These Be Classified?
36
How Should These Be Classified? (Cont.)
03/12/10
References
38