Answered step by step
Verified Expert Solution
Question
1 Approved Answer
URGENT ANSWER... I NEED THIS ANSWER WITHIN 1/2 HOURS Solve question c) i) ii) iii). c) Consider the following training dataset where CLASS is the
URGENT ANSWER... I NEED THIS ANSWER WITHIN 1/2 HOURS
Solve question c) i) ii) iii).
c) Consider the following training dataset where CLASS is the target. Cases Furniture 1 Furniture 2 Furniture 3 Furniture 4 Furniture 5 Furniture 6 Furniture 7 Furniture 8 Density Heavy Heavy Heavy Light Light Heavy Heavy Heavy Grain Small Large Small Large Large Small Large Small Hardness Hard Hard Hard Soft Soft Soft Soft Soft Class Oak Oak Pine Oak Pine Pine Pine Pine i) Calculate the information gain for HARDNESS. If the information gain scores for DENSITY and GRAIN are 0.9387 and 0.9055, respectively, determine which input should be used as the first splitting variable? (4 marks) ii) Build a decision tree using the information obtained in (). (2 marks) ii) Assume Furniture 9 has a missing value "?" for DENSITY. Explain how the missing value is managed during the model training process. (1 mark) c) Consider the following training dataset where CLASS is the target. Cases Furniture 1 Furniture 2 Furniture 3 Furniture 4 Furniture 5 Furniture 6 Furniture 7 Furniture 8 Density Heavy Heavy Heavy Light Light Heavy Heavy Heavy Grain Small Large Small Large Large Small Large Small Hardness Hard Hard Hard Soft Soft Soft Soft Soft Class Oak Oak Pine Oak Pine Pine Pine Pine i) Calculate the information gain for HARDNESS. If the information gain scores for DENSITY and GRAIN are 0.9387 and 0.9055, respectively, determine which input should be used as the first splitting variable? (4 marks) ii) Build a decision tree using the information obtained in (). (2 marks) ii) Assume Furniture 9 has a missing value "?" for DENSITY. Explain how the missing value is managed during the model training process. (1 mark)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