


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
CptS 570 Machine Learning School of EECS Washington State University
Typology: Lecture notes
1 / 42
This page cannot be seen from the preview
Don't miss anything!



































Sky^ AirTemp
Humidity^
Wind^ Water
Forecast^
EnjoySport
1 Sunny
Warm^
Normal^ Strong
Warm^ Same
Yes
2 Sunny
Warm^
High^ Strong
Warm^ Same
Yes
3 Rainy
Cold^
High^ Strong
Warm^ Change
No
4 Sunny
Warm^
High^ Strong
Cool^ Change
Yes
X : Possible days Each described by the attributes: Sky, AirTemp, Humidity,Wind, Water, Forecast ^ Target function
c : EnjoySport
Æ^ {0,1}
^ Hypotheses
H : Conjunctions of literals E.g., , Cold, High, ?, ?, ?> ^ Training examples
D ^ Positive and negative examples of the target function ^ <x,c(x)>, …, <x^11
,c(x)>mm ^ Determine^ ^ A hypothesis
h^ in^ H^ such that
h(x) = c(x)
for all^ x^ in
D
^ Set of all possible input items ^ E.g.,^ x^ = <Sunny, Warm, Normal, Strong, Warm, Same> ^ | X | = 32222*2 = 96 Target concept
c^ :^ X^ Æ^
^ Concept or function to be learned ^ E.g.,^ c(x)
=1 if EnjoySport=yes,
c(x) =0 if EnjoySport=no
^ Training examples
D^ = { <x, c(x)>
^ Positive examples,
c(x)^ = 1, members of target concept ^ Negative examples,
c(x)^ = 0, non-members of target concept
H
h is more general than or equal^1 to hypothesis
(x)=1^ ← 1
h(x)=1^2
^ Written
h≥h^1 g^2 ^ h strictly more general than^1
h ( h >^2
h ) g 2
when^ h
≥h and 1 g^2
h≥h^2 g^1 ^ Also implies
h≤h ,^2 g^1
h more specific than^2
h^1
^ Defines partial order over
H
ever cover a negative example? No, if^ c^ ∈^ H^
and training examples consistent ^ Problems with Find-S^ ^ Cannot tell if converged on target concept^ ^ Why prefer the most specific hypothesis?^ ^ Handling inconsistent training examples due toerrors or noise^ ^ What if more than one maximally-specificconsistent hypothesis?
G^ of version space
VS is H,D^
the set of its maximally general members The^ specific boundary
S^ of version space
VS is H,D^
the set of its maximally specific members Every member of the version space lies in or betweenthese members^ ^ “Between” means more specific than
G^ and more general
than^ S Thm. 2.1. Version space representation theorem So, version space can be represented by just
G^ and^ S