Combining Deep Learning and Kernel PCA for Software Defect Prediction
Open Access
- 1 December 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 360-367
Abstract
Software defect prediction aims to automatically determine the most likely location of defective program elements (i.e., statement, method, class, module etc.). Previous studies for software defect prediction mainly focus on exploring designing features such as source code complexity, object oriented design metrics etc. to classify program elements into two categories: (i) defective and (ii) non-defective. Although these approaches have obtained promising results, there exists two significant challenges in this research field: (i) removing irrelevant and redundant information from designing structures ; (ii) reducing the impact of skewed data distribution on learning models. In this paper, we aim to address these two issues by firstly applying kernel PCA to extract essential information from designing features and secondly proposing a deep neural network model which investigates the non-linear relationship among features. In order to mitigate the class imbalance, we apply a weighted loss function combined with a bootstrapping method to handle batch training mechanism of our model. We conducted some experiments to assess the performance of our proposed approach over NASA (with 10 projects) and PROMISE (with 34 projects) datasets. In order to leverage the efficiency of kernel PCA technique in software defect prediction, we compared it to some traditional feature selection approaches over a high-dimensional dataset ECLIPSE. The empirical results showed that our proposed method has outperformed these other state-of-the-art models by effectively predicting defective source files.Keywords
This publication has 21 references indexed in Scilit:
- Software Defect Prediction via Convolutional Neural Network2017
- The Impact of Feature Selection on Defect Prediction Performance: An Empirical Comparison2016
- A model for software defect prediction using support vector machine based on CBAInternational Journal of Intelligent Systems Technologies and Applications, 2016
- Software defect prediction using cost-sensitive neural networkApplied Soft Computing, 2015
- Revisiting the Impact of Classification Techniques on the Performance of Defect Prediction Models2015
- A systematic review of machine learning techniques for software fault predictionApplied Soft Computing, 2015
- A survey on feature selection methodsComputers and Electrical Engineering, 2014
- Promise and ISBSG Software Engineering Data Repositories: A Survey2013
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994
- A Complexity MeasureIEEE Transactions on Software Engineering, 1976