We use the GINI Split to find which variable to split on, we use the attribute with the lowest index according to the following formula:

  • Where is the occurrences of
  • Where is total number of entries