Answered step by step
Verified Expert Solution
Question
1 Approved Answer
X H Study the data set in Table Q3 and construct a Decision Tree that classifies the Risk of a person (response variable) as either
X H Study the data set in Table Q3 and construct a Decision Tree that classifies the Risk of a person (response variable) as either High or Low, depending on the following predictor variables: Age Car Table Q3 Point Age Car Risk 25 Sports L 20 Vintage H 25 Sports L 45 SUV H 20 Sports 25 SUV H Note: Data for Q3: Age is numeric and Car is categorical. Risk gives the class label for each point: high (II) or low (L) a. Using a purity threshold of 100% and Information gain as the splitting point for evaluation measure, What is the root node for this problem (2 marks) b. Show details of your entropy and Information gain calculation for each nodes (8 marks) c. Present your final answer by constructing a decision tree for the problem (4 marks) d. Classify the point (Age=27, Car=Vintage). (3 marks) e. Create two Decision Rules (If-Then) from the final tree (Table below can be used) Given the instances below, determine the Risk-Decision (High/Low) as appropriate. (3 marks) Point Age Car Risk
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