Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are given a three - dimensional binary classification data set with six data points. You use the three binary features , and { :

You are given a three-dimensional binary classification data set with six data points.
You use the three binary features , and {:x3) to predict the class label using a
decision tree classifier. You use the entropy as the impurity measure. In the case of
ties when splitting, prefer using the feature with the smaller index (x1 over x2,x1 over
x3, and x2 over x3). You might find the following values useful.
log2(1)=0.00,log2(2)=1.00,log2(3)=1.58,log2(4)=2.00
log2(5)=2.32,log2(6)=2.58,log2(7)=2.81,log2(8)=3.00
(a) Which variable would you use in the first split at the root node? Justify your
answer.
(b) Construct the whole decision tree learned on this data set.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions