Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 4. Consider a dataset with three columns of binary attributes A1, A, and a binary label attribute Y. There are eight types of data
Problem 4. Consider a dataset with three columns of binary attributes A1, A, and a binary label attribute Y. There are eight types of data point in total, and their corresponding proportions in the dataset are captured in the column P. 0 type A1 A2 Y 1 0 0 0 2 0 0 1 3 0 1 0 4 0 1 5 1 0 0 6 1 0 1 7 1 1 0 8 1 1 1 OOOO P 8% 29% 2% 18% 16% 2% 1% 24% (a) What is the GINI index of the dataset? (b) What is the GINI index of the split on A ? (C) What is the GINI index of the split on Az? (d) Construct a decision tree of exactly five nodes for the dataset using the Hunt's algorithm. (e) What is the accuracy of the decision tree built in (a)
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