Answered step by step
Verified Expert Solution
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started