


























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
An overview of knowledge representation, focusing on decision tables, decision trees, and rules. It covers the basics of each representation method, their advantages and limitations, and how they determine the underlying learning methods. Understanding these output formats is crucial for comprehending various machine learning techniques.
Typology: Slides
1 / 34
This page cannot be seen from the preview
Don't miss anything!



























Docsity.com
2
Decision tables
Decision trees Decision rules Rules involving relations Instance-based representation Prototypes, Clusters
4
Simplest way of representing output: Use the same format as input! Decision table for the weather problem:
What do you think is the main problem?
Outlook Humidity Play Sunny High No Sunny Normal Yes Overcast High Yes Overcast Normal Yes Rainy High No Rainy Normal No
5
Decision table for the weather problem:
Main problem: selecting the right attributes Also, not flexible enough
Outlook Humidity Play Sunny High No Sunny Normal Yes Overcast High Yes Overcast Normal Yes Rainy High No Rainy Normal No
Docsity.com
7
Build a decision tree using this information:
Outlook Humidity Play Sunny High No Sunny Normal Yes Overcast High Yes Overcast Normal Yes Rainy High No Rainy Normal No
Docsity.com
8
overcast
high normal
sunny (^) rain
No
No
Yes
Yes
Outlook
Humidity
Docsity.com
10
Does absence of value have some significance? Yes ⇒ “missing” is a separate value
No ⇒ “missing” must be treated in a special way Solution A: assign instance to most popular branch Solution B: split instance into pieces Pieces receive weight according to fraction of training instances that go down each branch Classifications from leave nodes are combined using the weights that have percolated to them
11
Popular alternative to decision trees
like the tests at the nodes of a decision tree)
Tests are usually logically ANDed together (but may also be general logical expressions)
probability distribution assigned by rule
Individual rules are often logically ORed together Conflicts arise if different conclusions apply
13
overcast
high normal
sunny (^) rain
No
No
Yes
Yes
Outlook
Humidity
Write rules for this tree.
Docsity.com
14
If outlook=sunny and humidity=high
then play=no
If outlook=sunny and humidity=normal
then play=yes
If outlook=overcast then play=yes
If outlook=rain then play=no
Docsity.com
16
17
If x = 1 and y = 0 then class = a If x = 0 and y = 1 then class = a If x = 0 and y = 0 then class = b If x = 1 and y = 1 then class = b
19
Are rules independent pieces of knowledge? (It seems easy to add a rule to an existing rule base.)
Problem: ignores how rules are executed
Two ways of executing a rule set:
Ordered set of rules (“decision list”) Order is important for interpretation Unordered set of rules Rules may overlap and lead to different conclusions for the same instance
20
What if two or more rules conflict?
Give no conclusion at all? Go with rule that is most popular on training data? …
What if no rule applies to a test instance?
Give no conclusion at all? Go with class that is most frequent in training data? …