Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( a ) Expand the following binary decision tree. ( 3 ) A 0 B 0 1 0 1 0 1 Figure 1 : Decision

(a) Expand the following binary decision tree. (3)
A
0 B
01
01
01
Figure 1: Decision tree for f1(A, B).
(b) Derive a Boolean function for the binary decision tree in Figure 1. Use a truth
table and a Karnaugh map to derive your answer. (7)
(c) Convert the decision tree in (a) to a decision list. (3)
(d) Calculate Entropy(V ) for the data in the Table 1. Show your assumptions and
define your notation clearly (use Table 4 on p.6 in your calculations).(5)
I S C F V
i1 m b b T
i2 s r s T
i3 l g p T
i4 l g s T
i5 s r w F
i6 l r w F
i7 l r p F
Table 1: Objects with attributes and their classification as V (T, F).
(e) What is the purpose of using Information Gain in the construction of decision
trees? (2)
(f) Calculate the Information Gain for the F attribute in Table 1.(8)
(g) Given the following Information Gain values:
InformationGain(V, C )=0.799
InformationGain(V, F)=0.286
which attribute becomes the root node for a decision tree for the data in
Table 1? Explain why this attribute is the correct root node.

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

Recommended Textbook for

More Books

Students also viewed these Databases questions