












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













Purdue University
February 10, 2009
1
3
missionaries.
7
possible actions)
9
13
with the best fit to the data
15
representation
learning method
19
positive" or "all negative"
15
CS 590 D 30
CS 590 D 31
Training Dataset
age income student credit_rating buys_computer
<= 30 high no fair no
<= 30 high no excellent no
31 … 40 high no fair yes
> 40 medium no fair yes
> 40 low yes fair yes
> 40 low yes excellent no
31 … 40 low yes excellent yes
<= 30 medium no fair no
<= 30 low yes fair yes
> 40 medium yes fair yes
<= 30 medium yes excellent yes
31 … 40 medium no excellent yes
31 … 40 high yes fair yes
> 40 medium no excellent no
!"#$%
&'((')$%*+%%
,-*./(,%
& 0 '.%
12 #+(*+ 3 $%
456
no
no
yes
yes
yes
no
yes
yes
yes
no
yes
no
yes
yes
High Low Med
21
22
x
25
no
no
yes
yes
yes
no
yes
yes
yes
no
yes
no
yes
yes
25
26
Type?
Patrons?
27
27
28
Buy No buy
High 2 2
Med 4 2
Low 3 1
31
Buy No buy
High 2 2
Med 4 2
Low 3 1
Buy No buy
High 2.57 1.
Med 3.86 2.
Low 2.57 1.
2
i
i ( )
2
i = 1 i
k
2
2
2
2
2
2
31
Gini index
Simple to complex, hill-climbing
search
When leaves are pure
Cross-validation to select gini
threshold
gain
Simple to complex, hill-climbing
search
When leaves are pure
Reduce error pruning
33
34
Movement in the table
r
e
d
i
c
t
e
d
- c d
Actual
Can be used to make search more efficient
37