Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Considering the training set data presented in Annex 1, perform the following tasks: 1. Build a decision tree based on the training set data, using

Considering the training set data presented in Annex 1, perform the following tasks:

1. Build a decision tree based on the training set data, using the algorithm provided in the lecture, considering all attributes as possible classification attributes, and as attribute selection method use the information gain.

2. Apply the nave Bayesian classification on the training data set in Annex 1, and classify this new data Senior person with job, doesnt own a house and has good credit rating with both the Bayesian classifier as well as the decision tree obtained in a).

Age

Has job

Owns house

Credit rating

Approve loan

Young

False

False

Fair

No

Young

False

False

Good

No

Young

True

False

Good

Yes

Young

True

True

Fair

Yes

Young

False

False

Fair

No

Middle

False

False

Fair

No

Middle

False

False

Good

No

Middle

True

True

Good

Yes

Middle

False

True

Excellent

Yes

Middle

False

True

Excellent

Yes

Old

False

True

Excellent

Yes

Old

False

True

Good

Yes

Old

True

False

Good

Yes

Old

True

False

Excellent

Yes

Old

False

False

Fair

No

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

PostgreSQL Up And Running A Practical Guide To The Advanced Open Source Database

Authors: Regina Obe, Leo Hsu

3rd Edition

1491963417, 978-1491963418

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago