Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 2 a) A manager of the AA Electronics Company is interested to do customer profile in predicting whether the customer will buy or not

image text in transcribed
QUESTION 2 a) A manager of the AA Electronics Company is interested to do customer profile in predicting whether the customer will buy or not the computer based on their profile condition. In this dataset, there are four categorical attributes which are Age (Youth, Middle Aged and Senior), Income (High, Medium and Low), Student (No and Yes) and Credit Rating (Fair and Excellent). Based on this 14 customer's data information, answer the following questions. ID Age Income Student Credit rating Buy Computer 1 Youth High No Fair No 2 Youth High No Excellent No Middle Aged High No Fair Yes Senior Medium No -air Yes Senior Low Yes Fair Yes 6 Senior Low Yes Excellent No Middle Aged Low Yes Excellent Yes 8 Youth Medium No Fair No Youth Low Yes Fair Yes 10 Senior Medium Yes Fair Yes 11 Youth Medium Yes Excellent Yes 12 Middle Aged Medium No Excellent Yes 13 Middle Aged High Yes Fair Yes 14 Senior Medium No Excellent No i) Given the entropy value for Age and Income are 0.6934 and 0.9110 respectively. Compute the entropy value for Student and Credit Rating. (6 marks) ii) Based on (i), determine the variable that should become the first splitting attributes as the root node and explain the reason. (2 marks) iii) Draw the decision tree that can be obtained from (i). (2 marks)

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

Finite Mathematics

Authors: Stefan Waner, Steven Costenoble

7th Edition

133751554X, 9781337515542

More Books

Students also viewed these Mathematics questions

Question

What factors can be used to measure efficiency?

Answered: 1 week ago