Clustering and Partition Agreement (NMI, Variation of Information, ARI)
Partition agreement indices such as the adjusted Rand index, normalised and adjusted mutual information and variation of information quantify how similarly two labelings group the same set of units.
분할 일치도 지수(조정 랜드 지수, 정규화·조정 상호정보, 정보 변동)는 같은 사례에 붙은 두 분류가 얼마나 비슷하게 묶였는지를 수치로 나타냅니다.
I clustered customers with two different algorithms; how do I measure how much the two segmentations agree?
두 가지 군집 알고리즘으로 고객을 나눴는데, 두 결과가 얼마나 일치하는지 어떻게 측정하나요?
Cross-tabulate the two labelings and compute the adjusted Rand index and adjusted mutual information, which equal about 0 for chance agreement and 1 for identical partitions. Report the variation of information as a distance between partitions and use homogeneity, completeness and purity to see which side splits or merges groups.
When to use Clustering and Partition Agreement (NMI, Variation of Information, ARI)
- Comparing a clustering result with known class labels.
- Comparing two clustering solutions or two coders' groupings of the same units.
- Checking whether a clustering is reproduced on a different method or subsample.
When to use something else
- The two labelings refer to different units; compare cluster profiles instead.
- You want agreement on a fixed set of named categories with chance correction for raters; use Cohen's kappa instead.
Assumptions and requirements
- Both labelings classify the same units in the same rows.
- Labels are nominal; their names and order carry no meaning.
- Rows missing either label are dropped.
What the analysis reports
- Adjusted Rand index and Fowlkes-Mallows index
- NMI (arithmetic and geometric) and adjusted mutual information
- Variation of information in nats and normalised by log n
- Homogeneity, completeness and V-measure
- Purity and inverse purity
How to report it
Agreement between the two partitions (N = [n]; [k1] vs. [k2] groups) was ARI = [value], AMI = [value], NMI = [value], and VI = [value] nats.
Related methods
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Clustering and Partition Agreement (NMI, Variation of Information, ARI) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a grouping variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.