Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

(a) Convert the following decision list into a binary decision tree. (4)
if A =1 then 1
else if B =0 then 1
else 1
(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. Why is Entropy used as a measure in constructing
Decision Trees? (5)
(d) Calculate Entropy(C ancer) for the data in the Table 1. Show your assumptions and define your notation clearly (use the Table on p.7 in your calculations).
Show all your calculations. (5)
sample Size Type Other C ancer
s1 M macule flat Y
s2 S tumour sharp Y
s3 L plaque elevated Y
s4 L plaque sharp Y
s5 S tumour localised N
s6 L tumour localised N
s7 L tumour elevated N
Table 1: Objects with attributes and their classification as C ancer(Y, N).
(e) Calculate the Information Gain for the Type attribute in Table 1.(6)
(f) Without doing any further calculations, which attribute would be used for the
root node of the decision tree?F15

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

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions