Consider the following data set.. Considering 'profitable' as the binary valued attribute we are?
... trying to predict, which of the attributes would you select as the root in a decision tree with multi-way splits using the cross-entropy impurity
... trying to predict, which of the attributes would you select as the root in a decision tree with multi-way splits using the cross-entropy impurity measure?
price
airbag
profitable
low
maintenance low
capacity
2
4
no
yes
med
yes
yes
low low
no
yes
4 4
no
no
low med
high
med
low
n10
no
med
no
no
4
4
med
med
ves
yes
med
2
yes
no
med
high
high
med med
5
no
yes
4
yes
yes
2
yes
yes
high
high
high
high
yes
no
high
high
5
yes
yes
or:... trying to predict, which of the attributes would you select as the root in a decision tree with multi-way splits using the cross-entropy impurity measure?priceairbagprofitablelowmaintenance lowcapacity24noyesmedyesyeslow lownoyes4 4nonolow medhighmedlown10nomednono44medmedvesyesmed2yesnomedhighhighmed med5noyes4yesyes2yesyeshighhighhighhighyesnohighhigh5yesyes
Tags: