Correlation Coefficient Calculator (Matthews)
Find the Matthews correlation coefficient (MCC) for a classifier.
MCC is a balanced measure of binary classification quality, even on imbalanced data.
The math behind it
MCC ranges from −1 (total disagreement) through 0 (random) to +1 (perfect).
Worked example
TP 80, TN 85, FP 15, FN 20 → MCC ≈ 0.65.
FAQ
Why prefer MCC over accuracy?
It stays informative when classes are imbalanced.