The Davies-Bouldin Index is defined as:
Where:
- is the number of clusters;
- is the centroid of the cluster ;
- is the average distance of all elements of cluster from its centroid .
- is the distance between the centroids of and .
The idea here is to find, for each cluster, the other cluster which elements are, in average, the furthest from it.
The smaller the index, the better.