Concept Learning
Concept Learning
Concept Learning
References:
Machine Learning by Tom Mitchell, 1997, Chapter 2
Artificial Intelligence: A Modern Approach, by Russell and Norvig,
Second Edition, 2003, pages 678 – 686
Elements of Machine Learning, by Pat Langley, 1996, Chapter 2
EnjoySport: X (0,1)
h j g hk iff (h j g hk ) (hk g h j )
Specific
General
X B Yes
X C No
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
G-set G1 G2 G3 ... Gm
S-set S1 S2 S3 ... Sn
Inconsistent
Region
Definitions of general and
specific boundaries
• Definition : The general boundary G, with respect to
hypothesis space H and training data D, is the set of
maximally general members of H consistent with D.
G {g H | Consistent( g , D) (g ' H [( g ' g g ) Consistent( g ' , D)]}
Training Example 1:
<Sunny, Warm, Normal, Strong, Warm, Same>, Enjoy Sport = Yes
{<Sunny, Warm, {<Sunny, Warm, ?,
S1 : S2: Normal,Warm,
Strong, Strong,
Normal, Strong,
Warm, Same>} Warm, Same>}
Same>}
Training Example 2:
<Sunny, Warm, High, Strong, Warm, Same>, Enjoy Sport = Yes
S2: {<Sunny, Warm, S3: {<Sunny, Warm, ?,
Normal, Strong, Strong, Warm,
Warm, Same>} Same>}
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
<Sunny, ?, ?, Strong, ?, ?> <Sunny, Warm, ?, ?, ?, ?> {<?, Warm, ?, Strong, ?, ?,>
(xi X )[(B Dc xi ) L( xi , Dc )]
Computer Science Department
CS 9633 KDD
Inductive System
Training Examples
Candidate Elimination Classification of new
Algorithm instance or “don’t
New Instance Using Hypothesis know”
Space H
Training Examples