Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 ( decision tree, 3 0 / 1 0 0 ) . Consider the following data about 9 samples of mushrooms with features: spotty,

Question 3(decision tree, 30/100).
Consider the following data about 9 samples of mushrooms with features: spotty, smelly,
smooth, and edible (the class).
a)(10/100) construct a decision tree using the following rules: (i) at each step compute
the gini index for every possible split considering all attributes (except "Sample") and
select the split with the best gini value; (ii) stopping rule: when the gini value of a
node is zero or no further split is possible; (iii) the class of a leaf node is determined
by the majority rule (breaking ties arbitrarily). Draw the decision tree so constructed
below:
image text in transcribed

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

Students also viewed these Databases questions

Question

Describe the seven standard parts of a letter.

Answered: 1 week ago

Question

Explain how to develop effective Internet-based messages.

Answered: 1 week ago

Question

Identify the advantages and disadvantages of written messages.

Answered: 1 week ago