Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The tvshows data set from as given in exercise 7.3 of Artificial Intelligence: Foundations of Computational Agents, is shown below Examples Comedy Doctors Lawyers Guns

The tvshows data set from as given in exercise 7.3 of Artificial Intelligence: Foundations of Computational Agents, is shown below

Examples Comedy Doctors Lawyers Guns Likes
e1 false true false false false
e2 true false treu false true
e3 false fasle treu true true
e4 false false true false false
e5 false false false true false
e6 true false false true false
e7 true false false false true
e8 false true true true true
e9 false true true false false
e10 true true true false true
e11 true true false true false
e12 false fasle false false false

Assume that we are reporting errors based on the absolute error value (basically, each error counts as 1). Gove very brief answers to the following questions:

What is the optimal tree with one node only? What is the associated error?

What is the optimal tree with a depth of 2 (i.e. a root node with leaves as children)? What is the associated error? Which instances end up at each leaf?

What is the smallest tree that classifies correctly all training instances? How will it classify a new instance described as (Comedy = true, Doctors = true, Lawyers = true, Guns = true) and another one as (Comedy = false, Doctors = false, Lawyers = true, Guns = true)? Which of the two test instances allow us to say that the tree is able to generalize?

If you were building the tree using the information gain as a splitting criterion, what would be the root?

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

2. Explain how the role of training is changing.

Answered: 1 week ago

Question

7. General Mills

Answered: 1 week ago