For this question, ignore the column count and treat each row as a single observation. We wish
Question:
For this question, ignore the column ‘count’ and treat each row as a single observation. We wish to classify a new employee from systems, who is 47 years old, and makes 70K into senior or junior.
(a) (1pts) Classify the employee using 3-nearest neighbors.
(b) (2pts) Build a decision tree as described in class and classify the employee using your decision tree. (
c) (2pts) Classify the employee using the Naive Bayes algorithm.
(d) 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)?
(e) Use your algorithm to construct a decision tree from the given data.
(f) Given a data tuple having the values “systems,” “26 . . . 30,” and “46–50K” for the attributes department, age, and salary, respectively, what would a na¨ıve Bayesian classification of the status for the tuple be?
Business Statistics
ISBN: 978-0321925831
3rd edition
Authors: Norean Sharpe, Richard Veaux, Paul Velleman