Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2. (10 pts) A decision tree model has been trained on a dataset with 400 observations and 4 features. The print_tree() method of the

image text in transcribed

Problem 2. (10 pts) A decision tree model has been trained on a dataset with 400 observations and 4 features. The print_tree() method of the tree is called, generating the following output. * Size: 400 [134, 133, 133], Gini: 0.67, Axis:3, Cut: 4.3 * Size: 127 [90, 36, 1], Gini: 0.42, Axis:0, Cut: 6.64 * Size: 94 [89, 4, 1], Gini: 0.1, Axis:1, Cut: 5.03 * Size: 91 [89, 1, 1], Gini: 0.04, Predicted Class: 0 * Size: 3 [O, 3, 0], Gini: 0.0, Predicted Class: 1 * Size: 33 [1, 32, 0], Gini: 0.06, Axis:2, Cut: 3.8 * Size: 3 [1, 2, 0], Gini: 0.44, Predicted Class: 1 * Size: 30 [0, 30, 0], Gini: 0.0, Predicted Class: 1 Size: 273 [44, 97, 132], Gini: 0.61, Axis:2, Cut: 2.68 * Size: 61 [0, 2, 59], Gini: 0.06, Axis:1, Cut: 1.74 * Size: 3 [0, 2, 1], Gini: 0.44, Predicted Class: 1 * Size: 58 [0, 0, 58], Gini: 0.0, Predicted Class: 2 * Size: 212 [44, 95, 73], Gini: 0.64, Axis:2, Cut: 6.39 * Size: 180 [44, 94, 42], Gini: 0.61, Predicted Class: 1 * Size: 32 [0, 1, 31), Gini: 0.06, Predicted Class: 2 Use the information in this print-out to classify the four observations provided below. [4, 3, 2, 7] [8, 4, 7, 3] [3, 2, 7, 2] [5, 8, 4, 7] Problem 2. (10 pts) A decision tree model has been trained on a dataset with 400 observations and 4 features. The print_tree() method of the tree is called, generating the following output. * Size: 400 [134, 133, 133], Gini: 0.67, Axis:3, Cut: 4.3 * Size: 127 [90, 36, 1], Gini: 0.42, Axis:0, Cut: 6.64 * Size: 94 [89, 4, 1], Gini: 0.1, Axis:1, Cut: 5.03 * Size: 91 [89, 1, 1], Gini: 0.04, Predicted Class: 0 * Size: 3 [O, 3, 0], Gini: 0.0, Predicted Class: 1 * Size: 33 [1, 32, 0], Gini: 0.06, Axis:2, Cut: 3.8 * Size: 3 [1, 2, 0], Gini: 0.44, Predicted Class: 1 * Size: 30 [0, 30, 0], Gini: 0.0, Predicted Class: 1 Size: 273 [44, 97, 132], Gini: 0.61, Axis:2, Cut: 2.68 * Size: 61 [0, 2, 59], Gini: 0.06, Axis:1, Cut: 1.74 * Size: 3 [0, 2, 1], Gini: 0.44, Predicted Class: 1 * Size: 58 [0, 0, 58], Gini: 0.0, Predicted Class: 2 * Size: 212 [44, 95, 73], Gini: 0.64, Axis:2, Cut: 6.39 * Size: 180 [44, 94, 42], Gini: 0.61, Predicted Class: 1 * Size: 32 [0, 1, 31), Gini: 0.06, Predicted Class: 2 Use the information in this print-out to classify the four observations provided below. [4, 3, 2, 7] [8, 4, 7, 3] [3, 2, 7, 2] [5, 8, 4, 7]

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 Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago