Quantcast
Typesetting math: 100%

Matthews Correlation Coefficient

Last modified by
on
Jun 14, 2023, 3:45:26 PM
Created by
on
Aug 15, 2016, 3:31:37 PM
MCC=TPTN-FPFN(TP+FP)(TP+FN)(TN+FP)(TN+FN)
(TP)True Positives
(TN)True Negatives
(FP)False Positives
(FN)False Negatives

The Matthews Correlation Coefficient calculator computes the Matthews Correlation Coefficient between observed and predicted binary classifications.

INSTRUCTIONS: Enter the following:

  • (TP)  True Positives
  • (TN)  True Negatives
  • (FP)  False Positives
  • (FN)  False Negatives

Matthews Correlation Coefficient (MCC): The calculator returns the coefficient. 

The Math / Science

The Matthews Correlation Coefficient is used in machine learning as a measure of the quality of binary (two-class) classifications. It takes into account true and false positives and negatives and is generally regarded as a balanced measure which can be used even if the classes are of very different sizes. The MCC is in essence a correlation coefficient between the observed and predicted binary classifications; it returns a value between -1 and +1. A coefficient of +1 represents a perfect prediction, 0 no better than random prediction and -1 indicates disagreement between prediction and observation.

The formula for the Matthews Correlation Coefficient is: 

MCC=TPTN-FPFN(TP+FP)(TP+FN)(TN+FP)(TN+FN)

where:


Artificial Intelligence and Machine Learning Calculators

References

Wikipedia (https://en.wikipedia.org/wiki/Matthews_correlation_coefficient)


  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.