Question: Explain with equation how gini impurity G i is calculated for the i t h node in a decision tree. Assume that for a given

Explain with equation how gini impurity Gi is calculated for the ith node in a decision tree. Assume that
for a given node j, there are 10 samples coming from four different classes with 2,1,3 and 4 training
instances respectively. Calculate the gini value for this node.
 Explain with equation how gini impurity Gi is calculated for the

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!