Answered step by step
Verified Expert Solution
Question
1 Approved Answer
yes The following shows a history of customers with their incomes, ages and an attribute called Have_iPhone indicating whether they have an iPhone. We also
yes The following shows a history of customers with their incomes, ages and an attribute called Have_iPhone indicating whether they have an iPhone. We also indicate whether they will buy a VR headset or not in the last column. The first column No. is just for you to refer the record number only and you do not need to use this column for generating the classifier. You cannot use XLMiner in this question. No. Income Age Have iPhone Buy_VR-Headset 1 high young yes 2 high old yes yes medium young yes 4 high old yes 5 medium young 6 medium young 7 medium old 8 medium old 3 no no no no no no no no no no (a) We want to train a CART decision tree classifier to predict whether a new customer will buy a VR headset or not. We define the value of attribute Buy_VR-Headset to be the label of a record. (i) Please find a CART decision tree according to the above example. In the decision tree, whenever we process (1) a node containing at least 85% records with the same label or (2) a node containing at most 3 records, we stop to process this node for splitting. (ii) Consider a new young customer whose income is medium and he has an iPhone. Please predict whether this new customer will buy a VR headset or not. (b) What is the difference between the C4.5 decision tree and the ID3 decision tree? Why is there a difference
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started