Abstract
In this paper, we present a novel approach to defect prediction within project source code. Since defect prediction datasets are typically imbalanced, and there are few defective examples, we treat defect prediction as anomaly detection. We present our Reconstruction Error Probability Distribution (REPD) model and compare it on five different datasets to five standardly used models: Gaussian Naive Bayes, Logistic regression, k-nearest-neighbors, decision tree, and SVM. For the main performance results we use F1-scores. Using statistical means, we show that our model produces significantly better results, improving F1-score up to 10.11%.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.