Question: 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?
 CSC691 Assignment 2 Decision Tree and Nave Bayesian classification The following

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!