Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSC 6 9 1 Assignment 2 Decision Tree and Na ve Bayesian classification The following table consists of training data from an employee database. The

CSC691 Assignment 2
Decision Tree and Nave Bayesian classification
The following table consists of training data from an employee database. The data have been generalized. For example, "31dots35" for age represents the age range of 31 to 35. For a given row entry, count represents the number of data tuples having the values for department, status, age, and salary given in that row.
\table[[department,status,age,salary,count],[sales,senior,31dots35,46Kdots50K,30],[sales,junior,26dots30,26Kdots30K,40],[sales,junior,31dots35,31Kdots35K,40],[systems,junior,21dots25,46Kdots50K,20],[systems,senior,31dots35,66Kdots70K,5],[systems,junior,26dots30,46Kdots50K,3],[systems,senior,41dots45,66Kdots70K,3],[marketing,senior,36dots40,46Kdots50K,10],[marketing,junior,31dots35,41Kdots45K,4],[secretary,senior,46dots50,36Kdots40K,4],[secretary,junior,26dots30,26Kdots30K,6]]
Let status be the class label attribute.
(a) How would you modify the basic decision tree algorithm to take into consideration the count of each generalized data tuple (i.e., of each row entry)?
(b) Use your algorithm to construct a decision tree from the given data.
(c) Given a data tuple having the values "systems," "26...30," and "46-50K" for the attributes department, age, and salary, respectively, what would a nave Bayesian classification of the status for the tuple be?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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