The Gini Index is a measure of Node Impurity.

We have that is the number of classes and is the number of training examples from the th region and th class.