Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following table consists of training data from an employee database. The data have been generalized; for example, 3 1 . . . 3 5

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. The class label is status.
Department Age Salary Status
Sales 31...3546K...50K Senior
Sales 26...3026K...30K Junior
Sales 31...3531K...35K Junior
Systems 21...2546K...50K Junior
Systems 31...3566K...70K Senior
Systems 26...3046K...50K Junior
Systems 41...4566K...70K Senior
Marketing 36...4046K...50K Junior
Marketing 31...3541K...45K Junior
Marketing 46...5036K...40K Senior
Sales 26...3026K...30K Senior
1. Use ID3 algorithm, which selects attribute with highest information gain to construct a decision tree from the given data.
2. Using the Naive Bayes algorithm, how would the following examples be classified? Make sure to show your work as well as the final classification.
a.< "Marketing", "26...30","46K...50K">
b.< "Sales", "31...35","26K...30K">

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

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions

Question

=+21.4. 20.141 Show that the Cauchy distribution has no mean.

Answered: 1 week ago