Question: Problem 1 . Consider a dataset with three columns of binary attributes A 1 , A 2 and a binary label attribute Y . There

Problem 1. Consider a dataset with three columns of binary attributes A1,A2 and a binary
label attribute Y. There are eight types of data points in total, and their corresponding
proportions in the dataset are captured in the column P.
(a) What is the GINI index of the dataset?
(b) What is the GINI index of the split on A1 and that on A2 respectively?
(c) Jonstruct a decision tree of exactly five nodes for the dataset using Hunt's algorithm.
(d)10% What is the accuracy of the decision tree built on (c)?
Problem 1 . Consider a dataset with three columns

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!