소프트웨어 이탈 예측 성능 평가: 매튜스 상관 계수를 사용하는 것이 왜 중요한가
Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters
Assessing Software Defection Prediction Performance: Why Using the Matthews Correlation Coefficient Matters
@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}
}
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
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.
초록
맥락: 소프트웨어 결함 예측을 위한 분류기 평가에 사용되는 계산 실험의 범위와 설계에는 상당한 다양성이 존재한다. 이는 특히 분류기 성능 지표 선택에 해당한다. 불행히도 널리 사용되는 일부 지표는 편향되어 있으며, 특히 F1 지표를 포함한다. 목표: 우리는 F1 의 광범위한 사용이 소프트웨어 결함 예측의 경험적 결과의 신뢰성을 얼마나 훼손하는지 이해하고자 한다. 방법: F1 과 Matthews 상관 계수 (MCC) 를 모두 보고하는 결함 예측 연구를 검색하여 두 지표 간 일관성을 보이는 결과의 비율과 달라지는 결과의 비율을 결정하였다. 결과: 우리의 체계적 검토는 4017 쌍의 결과를 포함하는 8 편의 연구를 식별하였다. 이 결과들 중, 편향되지 않은 MCC 지표를 사용할 때 비교 방향이 23% 의 경우에서 변경되었다. 결론: 분류 성능 지표 선택이 중요하다는 설득력 있는 근거를 찾았다. 특히 편향되어 오도할 수 있는 F1 지표를 폐기해야 한다.
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.