Understanding the Kappa Coefficient in Land Cover Accuracy Assessment
An 80% accurate classifier sounds solid, until you notice that if one class covers 80% of the map, a classifier that guesses that single class for every pixel would also score 80%. The Kappa coefficient exists to catch exactly this problem.
What Kappa Actually Corrects For
Kappa compares the classifier's observed accuracy against the accuracy that would be expected purely by chance, given the class proportions in the data [1]:
where Po is the observed (raw) accuracy and Pe is the accuracy expected by chance alone, computed from the row and column totals of the confusion matrix. A Kappa of 0 means the classifier is doing no better than random guessing weighted by class frequency; a Kappa of 1 means perfect agreement.
The Legitimate Criticism
Kappa isn't without its critics, and it's worth taking the criticism seriously rather than treating Kappa as beyond question. Pontius and Millones (2011) argue that Kappa's "chance agreement" baseline doesn't correspond to any realistic alternative a researcher would actually consider, and propose decomposing disagreement into two more directly interpretable components instead: quantity disagreement (getting the total area of each class wrong) and allocation disagreement (getting the area right but placing it in the wrong location) [2].
Rule-of-Thumb Interpretation
| Kappa | Common interpretation [3] |
|---|---|
| < 0.20 | Slight agreement |
| 0.21 – 0.40 | Fair agreement |
| 0.41 – 0.60 | Moderate agreement |
| 0.61 – 0.80 | Substantial agreement |
| > 0.80 | Almost perfect agreement |
These bands (originally proposed for inter-rater agreement in a different field entirely [3]) are widely cited in remote sensing but are ultimately a convention, not a statistical law — treat them as a rough guide rather than a hard pass/fail threshold.
Why This Matters Alongside Held-Out Validation
Kappa (like overall accuracy) is only as trustworthy as the confusion matrix it's computed from. A Kappa of 0.85 computed by testing a classifier on the same points it trained on is a measurement of memorization, not generalization [4] — which is why Spatial Research Suite computes both Kappa and overall accuracy on a genuinely held-out test split whenever there are enough training points to support one. You can train a classifier and get held-out Kappa automatically →
References
- Cohen, J. (1960). A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1), 37–46.
- Pontius Jr., R.G., & Millones, M. (2011). Death to Kappa: birth of quantity disagreement and allocation disagreement for accuracy assessment. International Journal of Remote Sensing, 32(15), 4407–4429.
- Landis, J.R., & Koch, G.G. (1977). The measurement of observer agreement for categorical data. Biometrics, 33(1), 159–174.
- Congalton, R.G., & Green, K. (2019). Assessing the Accuracy of Remotely Sensed Data: Principles and Practices (3rd ed.). CRC Press.