Question: ( a ) Convert the following decision list into a binary decision tree. ( 4 ) if A = 0 then 1 else if B

(a) Convert the following decision list into a binary decision tree. (4)
if A =0 then 1
else if B =0 then 1
else 0
(b) Write down the truth table for the decision list in (a), and derive a Boolean
function from the truth table. (5)
(c) What is meant by the term entropy? Define the entropy of a data set S in
mathematical terms. (3)
(d) Why is Entropy used as a measure in constructing Decision Trees? (1)
(e) Name another measure used in constructing Decision Trees. (1)
(f) Calculate Entropy(C ) for the data in the Table 4. Show your assumptions
and define your notation clearly (use the Table on p.7 in your calculations).
Show all your calculations. (5)
sample S T O C
s1 M m f Y
s2 S t s Y
s3 L p e Y
s4 L p s Y
s5 S t l N
s6 L t l N
s7 L t e N
Table 4: Objects with attributes and their classification as C (Y, N).
(g) Calculate the Information Gain for the T attribute in Table 4.(6)
(h) Which attribute would be used for the root node of the decision tree (HINT: you
dont need to do any calculations)?(1)

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 Databases Questions!