Question: Question 3 ( decision tree, 3 0 / 1 0 0 ) . Consider the following data about 9 samples of mushrooms with features: spotty,
Question decision tree,
Consider the following data about samples of mushrooms with features: spotty, smelly,
smooth, and edible the class
a 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:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
