
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!

Make decision trees for the following data (using CART and C4.5 for both problems). Show all calculations.
Part a: Class is the output variable.
RID Age Income Student Credit Rating Class: Buys Computer 1 <= 30 High No Fair No 2 <=30 High No Excellent No 3 31ā¦40 High No Fair Yes 4 >40 Medium No Fair Yes 5 >40 Low Yes Fair Yes 6 >40 Low Yes Excellent no 7 31ā¦40 Low Yes Excellent Yes 8 <=30 Medium No Fair No 9 <=30 Low Yes Fair Yes 10 >40 Medium Yes Fair Yes 11 <=30 Medium Yes Excellent Yes 12 31ā¦40 Medium No Excellent Yes 13 31ā¦40 High Yes Fair Yes 14 >40 Medium No Excellent no
Part b: Salary is the output variable.
Department Status Age Salary Sales Senior^ 31ā¦35^ 46K-50K Sales Junior 26ā¦30 26K-30K Sales Junior 31ā¦35 31K-35K Systems Junior 21ā¦25 46K-50K Systems Senior 31ā¦35 66K-70K Systems Junior 26ā¦.30 46K-50K Systems Senior 41ā¦.45 66K-70K Marketing Senior^ 36ā¦.40^ 46K-50K Marketing Junior 31ā¦.35 41K-45K Secretary Senior 46ā¦50 36K-40K Secretary Junior 26ā¦30 26K-30K