What is Cohen's kappa and why is it useful?
mediumAnswer
- Cohen's , where is observed agreement (accuracy) and is the agreement expected by chance given class marginals.
- It corrects accuracy for the baseline of random guessing given the class prior.
- Range: [-1, 1]. 0 = no better than chance; 1 = perfect.
- Rules of thumb: 0.2 slight, 0.4 fair, 0.6 substantial, 0.8+ almost perfect.
- Useful for imbalanced classification and inter-annotator agreement.
Check yourself — multiple choice
- Kappa is the same as accuracy
- Accuracy corrected for chance given class marginals; useful on imbalanced problems
- Kappa only works for regression
- Kappa is always between 0 and 100
— chance-corrected agreement.
#metrics#classification#imbalance
Practise Supervised Learning
215 interview questions in this topic.
Related questions
- Why is accuracy a bad primary metric for many real-world problems?
- What is the Matthews Correlation Coefficient (MCC) and when should you use it?
- What is balanced accuracy?
- What is the geometric mean (G-mean) in classification metrics?
- What are the main pitfalls of relying on ROC-AUC?
- How do you select the decision threshold for a binary classifier?