The global metric is computed by taking the weighted average of the entropy of the members of each cluster.
entropy(C, L) is given by: where N i is the number of instances in cluster i, P (c i , l j ) is the probability of seeing label l j in cluster c i and the other variables are defined as above.