Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters

arXiv:2003.01182 First posted 2020-03-02 v1 EASE 2020, April 15-17, 2020, Trondheim, Norway
Cite this paper ×
BibTeX
@misc{yao2020assessing,
  title = {Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters},
  author = {Jingxiu Yao and Martin Shepperd},
  year = {2020},
  eprint = {2003.01182},
  archivePrefix = {arXiv},
  primaryClass = {cs.SE},
  url = {https://arxiv.org/abs/2003.01182}
}
APA
Yao, J., & Shepperd, M. (2020). Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.01182
GB/T 7714
YAO J, SHEPPERD M. Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters[EB/OL]. (2020-03-02)[2026-11-29]. https://arxiv.org/abs/2003.01182.

Abstract

Context: There is considerable diversity in the range and design of computational experiments to assess classifiers for software defect prediction. This is particularly so, regarding the choice of classifier performance metrics. Unfortunately some widely used metrics are known to be biased, in particular F1. Objective: We want to understand the extent to which the widespread use of the F1 renders empirical results in software defect prediction unreliable. Method: We searched for defect prediction studies that report both F1 and the Matthews correlation coefficient (MCC). This enabled us to determine the proportion of results that are consistent between both metrics and the proportion that change. Results: Our systematic review identifies 8 studies comprising 4017 pairwise results. Of these results, the direction of the comparison changes in 23% of the cases when the unbiased MCC metric is employed. Conclusion: We find compelling reasons why the choice of classification performance metric matters, specifically the biased and misleading F1 metric should be deprecated.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!