FowlkesMallowsIndex computes the Fowlkes and Mallows index.

Fowlkes-Mallows index (see references) is an external evaluation method that is used to determine the similarity between two clusterings (clusters obtained after a clustering algorithm). This measure of similarity could be either between two hierarchical clusterings or a clustering and a benchmark classification. A higher the value for the Fowlkes-Mallows index indicates a greater similarity between the clusters and the benchmark classifications.

This index can be used to compare either two cluster label sets or a cluster label set with a true label set. The formula of the adjusted Fowlkes-Mallows index (ABk) is given below

\[ ABk= \frac{\mbox{Bk- Expected value of Bk}}{\mbox{Max Index - Expected value of Bk}} \]

Fowlkes E.B. and C.L. Mallows. (1983), A Method for Comparing Two Hierarchical Clusterings Author(s): Source: Journal of the American Statistical Association, Vol. 78, No. 383, pp. 553-569 http://en.wikipedia.org/wiki/Fowlkes-Mallows_index