Question: 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:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!