Computer scienceData scienceMachine learningClassificationDecision tree learning

Gini index

Step by step

Report a typo

Put the steps of selecting the feature for a split in the correct order.

Put the items in the correct order
Pick a feature
Select the feature that has a lower Gini index to make the best split
Calculate the Gini index for all possible pairs of the type "the target variable - a categorical feature"
Repeat the previous steps for all features in a dataset
Calculate the weighted gini index of each categorical feature
___

Create a free account to access the full topic