CSE543: Machine Learning: Lecture 2: August 6, 2014
CSE543: Machine Learning: Lecture 2: August 6, 2014
Labels
3
Example
• Learning Phase
Outloo Play=Ye Play=No Temperature Play=Yes Play=No
k s Hot 2/5
2/9
Sunny 2/9 3/5 Mild
4/9 2/5
Overcas 4/9 0/5
t
Cool
3/9 1/5
Rain 3/9 2/5
Humidity Play=Yes Play=No Wind Play=Yes Play=No
Strong 3/5
High 3/9 4/5 3/9
Weak
Normal 6/9 1/5 6/9 2/5
x’=(Outlook=Sunny, Temperature=Cool,
Humidity=High, Wind=Strong)
Is Play possible?
• Test Phase
x’=(Outlook=Sunny, Temperature=Cool,
Humidity=High, Wind=Strong)
Is Play possible?
This is the task of ML algorithms …
• Target concept:
▫ “Days on which Aldo enjoys his favourite water sport”
▫ Two categories: yes/no
• Determine
▫ A hypothesis h such that h(x)=c(x) for
all x in X
EnjoySport Concept Learning Task
• h<--<Sunny,Warm,Normal,Strong,Warm,Same>
Example 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
• h<--<Sunny,Warm,?,Strong,?>
• No negative training
• What happens with a negative test case?
Major drawback of FIND-S
• No negative training
• What happens with a negative test case?