Kalpana Kalpana (Editor)

Fowlkes–Mallows index

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Fowlkes–Mallows index 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 value for the Fowlkes–Mallows index indicates a greater similarity between the clusters and the benchmark classifications.

Contents

Preliminaries

The Fowlkes–Mallows index, when results of two clustering algorithms is used to evaluate the results, is defined as

F M = T P T P + F P T P T P + F N where T P is the number of true positives, F P is the number of false positives, and F N is the number of false negatives.

Definition

Consider two hierarchical clusterings of n objects labeled A 1 and A 2 . The trees A 1 and A 2 can be cut to produce k = 2 , , n 1 clusters for each tree (by either selecting clusters at a particular height of the tree or setting different strength of the hierarchical clustering). For each value of k , the following table can then be created

M = [ m i , j ] ( i = 1 , , k  and  j = 1 , , k )

where m i , j is of objects common between the i th cluster of A 1 and j th cluster of A 2 . The Fowlkes–Mallows index for the specific value of k is then defined as

B k = T k P k Q k

where

T k = i = 1 k j = 1 k m i , j 2 n P k = i = 1 k ( j = 1 k m i , j ) 2 n Q k = j = 1 k ( i = 1 k m i , j ) 2 n

B k can then be calculated for every value of k and the similarity between the two clusterings can be shown by plotting B k versus k . For each k we have 0 B k 1 .

Fowlkes–Mallows index can also be defined based on the number of points that are common or uncommon in the two hierarchical clusterings. If we define

T P as the number of points that are present in the same cluster in both A 1 and A 2 . F P as the number of points that are present in the same cluster in A 1 but not in A 2 . F N as the number of points that are present in the same cluster in A 2 but not in A 1 . T N as the number of points that are in different clusters in both A 1 and A 2 .

It can be shown that the four counts have the following property

T P + F P + F N + T N = n ( n 1 ) / 2

and that the Fowlkes–Mallows index for two clusterings can be defined as

F M = T P T P + F P T P T P + F N where T P is the number of true positives, F P is the number of false positives, and F N is the number of false negatives.

Discussion

Since the index is directly proportional to the number of true positives, a higher index means greater similarity between the two clusterings used to determine the index. One of the most basic thing to test the validity of this index is to compare two clusterings that are unrelated to each other. Fowlkes and Mallows showed that on using two unrelated clusterings, the value of this index approaches zero as the number of total data points chosen for clustering increase; whereas the value for the Rand index for the same data quickly approaches 1 making Fowlkes–Mallows index a much more accurate representation for unrelated data. This index also performs well if noise is added to an existing dataset and their similarity compared. Fowlkes and Mallows showed that the value of the index decreases as the component of the noise increases. The index also showed similarity even when the noisy dataset had a different number of clusters than the clusters of the original dataset. Thus making it a reliable tool for measuring similarity between two clusters.

References

Fowlkes–Mallows index Wikipedia


Similar Topics