Abstract
Software defect prediction (SDP) models are widely used to identify the defect-prone modules in the software system. SDP model can help to reduce the testing cost, resource allocation, and improve the quality of software. We propose a specific framework of optimized deep neural network (ODNN) to develop a SDP system. The best hyper-parameters of ODNN are selected using the stage-wise grid search-based optimization technique. ODNN involves feature scaling, oversampling, and configuring the base DNN model. The performance of the ODNN model on 16 datasets is compared with the standard machine learning algorithms viz. Naïve Bayes, Support Vector Machine, Random Forest, Ada Boost, and base DNN model in terms of Accuracy, F-measure, and Area Under Curve (AUC). Experimental results show that the ODNN framework outperforms base DNN (BDNN) with 11.90% (accuracy), 0.26 (f-measure), and 0.13 (AUC). The statistical analysis using Wilcoxon signed-rank test and Nemenyi test show that the proposed framework is more effective than state-of-the-art models.
Supported by organization IIT (BHU) Varanasi India.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Thota, M.K., Francis, H., Shajin, Rajesh, P., et al.: Survey on software defect prediction techniques. Int. J. Appli. Sci. Eng. 17(4), 331–344 (2020)
Rathore, S.S., Kumar, S.: A study on software fault prediction techniques. Artif. Intell. Rev. 51(2), 255–327 (2019)
Pachouly, J., Ahirrao, S., Kotecha, K., Selvachandran, G., Abraham, A.: A systematic literature review on software defect prediction using artificial intelligence: Datasets, data validation methods, approaches, and tools. Eng. Appl. Artif. Intell. 111, 104773 (2022)
Omri, S., Sinz, C.: Deep learning for software defect prediction: a survey. In: Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops, pp. 209–214 (2020)
Kumar, L., Misra, S., Rath, S.K.: An empirical analysis of the effectiveness of software metrics and fault prediction model for identifying faulty classes. Comput. Standards Interfaces 53,1–32 (2017)
Corinna, C., Vladimir, V.: Support-vector networks. Mach. Learn. 20, 273–297 (1995). https://doi.org/10.1007/bf00994018
Breiman, L.: Random forests. Mach. Learn. 45(1), 5–32 (2001)
Murphy, K.P.: Naive bayes classifiers, university of british columbia (2006)
Freund, Y., Schapire, R.E.: A decision-theoretic generalization of on-line learning and an application to boosting. J. Comput. Syst. Sci., 55(1), 119–139 (1997)
Matloob, F.: A systematic literature review. IEEE Access, Software defect prediction using ensemble learning (2021)
Samir, M., El-Ramly, M., Kamel, A.: Investigating the use of deep neural networks for software defect prediction. In: 2019 IEEE/ACS 16th International Conference on Computer Systems and Applications (AICCSA), pp. 1–6 (2019)
Chatterjee, S., Maji, B.: A bayesian belief network based model for predicting software faults in early phase of software development process. Appl. Intell. 48(8), 2214–2228 (2018)
Kumar, R., Chaturvedi, A., Kailasam, L.: An unsupervised software fault prediction approach using threshold derivation. IEEE Trans. Reliab. 71(2), 911–932 (2022)
Pontes, F.J., Amorim, G.F., Balestrassi, P.P., Paiva, A.P., Ferreira, J.R.: Design of experiments and focused grid search for neural network parameter optimization. Neurocomput., 186, 22–34 (2016)
Zimmermann, T., Nagappan, N., Zeller, A.: Predicting bugs from history. In: Softw. Evol., pp. 69–88. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-76440-3_4
Malhotra, R., Kamal, S.: An empirical study to investigate oversampling methods for improving software defect prediction using imbalanced data. Neurocomputing 343, 120–140 (2019)
Wilcoxon, F.: Individual comparisons by ranking methods. Int. Biometric Society 1(3), 80–83 (1945)
Nemenyi, P.B.: Distribution-free multiple comparisons. Nemenyi 1963, Princeton University (1963)
Demšar, J.: Statistical comparisons of classifiers over multiple data sets. J. Mach. Learn. Res. 7, 1–30 (2006)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Kumar, R., Chaturvedi, A. (2023). A Framework for Software Defect Prediction Using Optimal Hyper-Parameters of Deep Neural Network. In: Tanveer, M., Agarwal, S., Ozawa, S., Ekbal, A., Jatowt, A. (eds) Neural Information Processing. ICONIP 2022. Communications in Computer and Information Science, vol 1794. Springer, Singapore. https://doi.org/10.1007/978-981-99-1648-1_14
Download citation
DOI: https://doi.org/10.1007/978-981-99-1648-1_14
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-1647-4
Online ISBN: 978-981-99-1648-1
eBook Packages: Computer ScienceComputer Science (R0)