Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Question 2: 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

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

=+8.3(i)). If j is transient, then fi= C PH) /(1+2 Pc)

Answered: 1 week ago

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago