Statistical Methods

Understanding the Kappa Coefficient in Land Cover Accuracy Assessment

6 min read · Spatial Research Suite

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.

Try it now: compute Overall Accuracy and Kappa from your own confusion matrix with the Kappa Coefficient Calculator — it runs entirely in your browser.

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]:

κ = (Po − Pe) / (1 − Pe)

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.

Correct Correct Confused Confused Confusion matrix: predicted vs. true class
Placeholder — to be replaced with a real confusion matrix generated in Spatial Research Suite.

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].

In practice: report Kappa because reviewers expect it, but don't treat it as the only number that matters. Overall accuracy, and the per-class Producer's and User's Accuracy from the confusion matrix, usually tell a fuller story of where a classifier is actually going wrong.

Rule-of-Thumb Interpretation

KappaCommon interpretation [3]
< 0.20Slight agreement
0.21 – 0.40Fair agreement
0.41 – 0.60Moderate agreement
0.61 – 0.80Substantial agreement
> 0.80Almost 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

  1. Cohen, J. (1960). A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1), 37–46.
  2. 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.
  3. Landis, J.R., & Koch, G.G. (1977). The measurement of observer agreement for categorical data. Biometrics, 33(1), 159–174.
  4. Congalton, R.G., & Green, K. (2019). Assessing the Accuracy of Remotely Sensed Data: Principles and Practices (3rd ed.). CRC Press.
Advertisement