Question: Exercise 1 . Consider the training examples shown below for a binary classification problem. ( a ) Compute the Gini index for the Gender attribute.
Exercise Consider the training examples shown below for a binary classification problem.
a Compute the Gini index for the Gender attribute.
b Compute the Gini index for the Car Type attribute.
c Compute the Gini index for the shirt size attribute.
d Which of the above three attributes is better?
Exercise In class, we stated that some decision tree algorithms only provide binary splits. If
such an algorithm creates a binary split based on a nominal attribute with distinct values, say,
dots, it must consider different partitions. Can you prove this statement for
every
Hint: Use mathematical induction
Exercise Consider, again, the table for problem Use the CHAID algorithm create a decision
tree of height that is one root and multiple children.
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
