Image for MCC

MCC

MCC, or Matthews Correlation Coefficient, is a statistical measure used to evaluate the accuracy of a binary classification model, especially when classes are imbalanced. It considers all four outcomes: true positives, true negatives, false positives, and false negatives, providing a balanced score that reflects the model's overall performance. The MCC ranges from -1 to +1, where +1 indicates perfect prediction, 0 means no better than random guessing, and -1 signifies total disagreement. It's a comprehensive metric that helps determine how well a model distinguishes between two classes, considering the full confusion matrix for a more reliable assessment.