Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following dataset gives all the previous customers a store had. The dataset shows their age, status (student/not student), credit history, and whether they buy
- The following dataset gives all the previous customers a store had. The dataset shows their age, status (student/not student), credit history, and whether they buy or no:
I.A) Construct a classification tree based on customers database and calculate the purity for each node (Gini Index formula is provided in the appendix section in page 6). Provide your answer in the next page.
I.B) Based on the constructed tree in section I.A, classify the following data (provide your answers in the table):
Age | Student | Credit Rating | Buy? |
Middle-aged | Yes | Excellent | |
Senior | No | Excellent | |
Young | No | Fair |
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