Analyze two clusterings with detailed pairwise similarity outputs. Inspect counts, matrices, agreement rates, and exports. Use clean visuals for faster validation across clustering studies.
| Item | Partition A | Partition B |
|---|---|---|
| A | 1 | X |
| B | 1 | X |
| C | 1 | Y |
| D | 2 | Y |
| E | 2 | Y |
| F | 3 | Z |
| G | 3 | Z |
| H | 3 | Z |
This sample shows how two clustering solutions can agree on some pairs and disagree on others.
The Rand Index measures how similarly two partitions classify all possible item pairs.
Rand Index: RI = (a + b) / (a + b + c + d)
Total pairs: C(n, 2) = n(n − 1) / 2
Using the contingency matrix:
The calculator also reports Adjusted Rand Index, Jaccard coefficient, and Fowlkes-Mallows score for deeper comparison.
It measures pairwise agreement between two partitions of the same items. It checks whether each item pair is grouped together or kept apart in both solutions.
Values closer to 1 indicate stronger agreement. A value near 0 suggests weak agreement, while moderate values indicate partial similarity between the two clustering solutions.
Adjusted Rand Index corrects for agreement expected by chance. It is often more informative when cluster counts differ or when random overlap could inflate the ordinary Rand Index.
No. Labels can be numbers, words, letters, or mixed strings. The calculator compares matching positions, not the label format itself.
Each entry represents the same item across both solutions. Unequal lengths break item alignment, which makes pairwise comparison mathematically invalid.
It cross-tabulates counts from Partition A against Partition B. Large values concentrated along a few cells usually indicate stronger clustering agreement.
Yes. It is suitable for comparing expert-labeled groups, machine-generated clusters, or two competing model outputs on the same item list.
Use them when you want more insight into positive pair matches. They can highlight behavior that the overall Rand Index alone may not fully reveal.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.