Your browser does not fully support modern features. Please upgrade for a smoother experience.
Submitted Successfully!
Thank you for your contribution! You can also upload a video entry or images related to this topic. For video creation, please contact our Academic Video Service.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki Camila Xu -- 1889 2022-11-18 01:34:17

Video Upload Options

We provide professional Academic Video Service to translate complex research into visually appealing presentations. Would you like to try it?
Cite
If you have any further questions, please contact Encyclopedia Editorial Office.
HandWiki. Matthews Correlation Coefficient. Encyclopedia. Available online: https://encyclopedia.pub/entry/35211 (accessed on 22 September 2026).
HandWiki. Matthews Correlation Coefficient. Encyclopedia. Available at: https://encyclopedia.pub/entry/35211. Accessed September 22, 2026.
HandWiki. "Matthews Correlation Coefficient" Encyclopedia, https://encyclopedia.pub/entry/35211 (accessed September 22, 2026).
HandWiki. (2022, November 18). Matthews Correlation Coefficient. In Encyclopedia. https://encyclopedia.pub/entry/35211
HandWiki. "Matthews Correlation Coefficient." Encyclopedia. Web. 18 November, 2022.
Matthews Correlation Coefficient
Edit

The Matthews correlation coefficient (MCC) or phi coefficient is used in machine learning as a measure of the quality of binary (two-class) classifications, introduced by biochemist Brian W. Matthews in 1975. The MCC is defined identically to Pearson's phi coefficient, introduced by Karl Pearson, also known as the Yule phi coefficient from its introduction by Udny Yule in 1912. Despite these antecedents which predate Matthews's use by several decades, the term MCC is widely used in the field of bioinformatics and machine learning. The coefficient 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 total disagreement between prediction and observation. However, if MCC equals neither −1, 0, or +1, it is not a reliable indicator of how similar a predictor is to random guessing because MCC is dependent on the dataset. MCC is closely related to the chi-square statistic for a 2×2 contingency table where n is the total number of observations. While there is no perfect way of describing the confusion matrix of true and false positives and negatives by a single number, the Matthews correlation coefficient is generally regarded as being one of the best such measures. Other measures, such as the proportion of correct predictions (also termed accuracy), are not useful when the two classes are of very different sizes. For example, assigning every object to the larger set achieves a high proportion of correct predictions, but is not generally a useful classification. The MCC can be calculated directly from the confusion matrix using the formula: In this equation, TP is the number of true positives, TN the number of true negatives, FP the number of false positives and FN the number of false negatives. If any of the four sums in the denominator is zero, the denominator can be arbitrarily set to one; this results in a Matthews correlation coefficient of zero, which can be shown to be the correct limiting value. The MCC can be calculated with the formula: using the positive predictive value, the true positive rate, the true negative rate, the negative predictive value, the false discovery rate, the false negative rate, the false positive rate, and the false omission rate. The original formula as given by Matthews was: This is equal to the formula given above. As a correlation coefficient, the Matthews correlation coefficient is the geometric mean of the regression coefficients of the problem and its dual. The component regression coefficients of the Matthews correlation coefficient are Markedness (Δp) and Youden's J statistic (Informedness or Δp'). Markedness and Informedness correspond to different directions of information flow and generalize Youden's J statistic, the [math]\displaystyle{ \delta }[/math]p statistics and (as their geometric mean) the Matthews Correlation Coefficient to more than two classes. Some scientists claim the Matthews correlation coefficient to be the most informative single score to establish the quality of a binary classifier prediction in a confusion matrix context.

binary classifier machine learning phi coefficient

References

  1. Gorodkin, Jan (2004). "Comparing two K-category assignments by a K-category correlation coefficient". Computational Biology and Chemistry 28 (5): 367–374. doi:10.1016/j.compbiolchem.2004.09.006. PMID 15556477.  https://dx.doi.org/10.1016%2Fj.compbiolchem.2004.09.006
  2. Gorodkin, Jan. "The Rk Page". http://rk.kvl.dk/introduction/index.html. 
  3. "Matthew Correlation Coefficient". https://scikit-learn.org/stable/modules/model_evaluation.html#matthews-corrcoef. 
  4. "Ten quick tips for machine learning in computational biology". BioData Mining 10 (35): 35. December 2017. doi:10.1186/s13040-017-0155-3. PMID 29234465.  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid=5721660
  5. "The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation". BMC Genomics 21 (1): 6-1–6-13. January 2020. doi:10.1186/s12864-019-6413-7. PMID 31898477.  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid=6941312
  6. Zhu, Qiuming (2020-08-01). "On the performance of Matthews correlation coefficient (MCC) for imbalanced dataset" (in en). Pattern Recognition Letters 136: 71–80. doi:10.1016/j.patrec.2020.03.030. ISSN 0167-8655. https://www.sciencedirect.com/science/article/pii/S016786552030115X. 
More
Upload a video for this entry
Information
Subjects: Others
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 8.4K
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 18 Nov 2022
Notice
You are not a member of the advisory board for this topic. If you want to update advisory board member profile, please contact office@encyclopedia.pub.
OK
Confirm
Only members of the Encyclopedia advisory board for this topic are allowed to note entries. Would you like to become an advisory board member of the Encyclopedia?
Yes
No
${ textCharacter }/${ maxCharacter }
Submit
Cancel
There is no comment~
${ textCharacter }/${ maxCharacter }
Submit
Cancel
${ selectedItem.replyTextCharacter }/${ selectedItem.replyMaxCharacter }
Submit
Cancel
Confirm
Are you sure to Delete?
Yes No
Academic Video Service