Question: c . Use Age = 5 1 as a split value to separate the newspaper subscribers from nonsubscribers, please calculate the Gini impurity index. Please
c Use Age as a split value to separate the newspaper subscribers from nonsubscribers, please calculate the Gini impurity index. Please show your complete work below.
d Use Income as a split value to separate the newspaper subscribers from nonsubscribers, please calculate the Gini impurity index. Please show your complete work below.
e Assume that the split with Age produces the smallest Gini index across all possible Age splits, and assume that the bestsplit value for Income is which predictor variable should be chosen as the first split for a decision tree? Why?
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
