Question: Q4.(Total 25 points) The following table consists of training data from an employee database. The data have been generalized, for example, [31, 35] for age

Q4.(Total 25 points) The following table consists of training data from an employee database. The data have been generalized, for example, [31, 35] 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, Let status be the class label attribute, Department Sales Sales Sales Systems Systems Systems Systems Marketing Marketing Secretary Secretary Status Senior Junior Junior Junior Senior Junior Senior Senior Junior Senior Junior Salary [46k, 50k [26k, 30k [31k, 35k [46k, 50k [66k, 70k [46k, 50k [66k, 70k [46k. 50k] [41k, 45k 36k, 40k [26k, 30k Count 30 40 40 20 Age [31, 35] [26, 30] [31, 35] [21, 25] [31, 35] [26, 30] [41, 45] [36, 40] [31, 35] [46, 50] 26, 30] 10 4 4 6 A) (20 points) Construct a decision tree from the given data. (Show your work step by step clearly.) B) (5 points) What would be the status of the following tuple? Tuple Department Salary Status T1 systems[26, 30][46k, 50k]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
