Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3239576.3239622acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicaipConference Proceedingsconference-collections
research-article

Automated Parameter Tuning of Artificial Neural Networks for Software Defect Prediction

Published: 16 June 2018 Publication History

Abstract

Defect prediction can help predict defect-prone software modules and improve the efficiency and accuracy of defect location and repair, which plays an extremely important role in software quality assurance. Artificial Neural Networks (ANNs), a family of powerful machine learning regression or classification models, have been widely applied for defect prediction. However, the performance of these models will be degraded if they use suboptimal default parameter settings (e.g., the number of units in the hidden layer). This paper utilizes an automated parameter tuning technique-Caret to optimize parameter settings. In our study, 30 datasets are downloaded from the Tera-PROMISE Repository. According to the characteristics of the datasets, we select key features (metrics) as predictors to train defect prediction models. The experiment applies feed-forward, single hidden layer artificial neural network as classifier to build different defect prediction models respectively with optimized parameter settings and with default parameter settings. Confusion matrix and ROC curve are used for evaluating the quality of the models above. The results show that the models trained with optimized parameter settings outperform the models trained with default parameter settings. Hence, we suggest that researchers should pay attention to tuning parameter settings by Caret for ANNs instead of using suboptimal default settings if they select ANNs for training models in the future defect prediction studies.

References

[1]
Arar, Ö. F., Ayan, K. 2017. A feature dependent Naive Bayes approach and its application to the software defect prediction problem. In Applied Soft Comput. 59 (Oct.2017), 197--209
[2]
Chidamber, S. R. and Kemerer, C. F. 1994. A metrics suite for object oriented design, IEEE Transactions on Software Engineering. 20, 6 (Jun. 1994), 476--493
[3]
Dai, C., Chen, W., Zhu, Y., Jiang, Z. and You, Z. 2011. Seeker optimization algorithm for tuning the structure and parameters of neural networks. In Neurocomputing. 74, 6 (Feb. 2011), 876--883
[4]
Fodor, I. K. 2002. A survey of dimension reduction techniques. Technical Report UCRL-ID-148494, Lawrence Livermore National Laboratory.
[5]
Han, W., Lung, C.-H. and Ajila, S. 2016. Using Source Code and Process Metrics for Defect Prediction - A Case Study of Three Algorithms and Dimensionality Reduction. Journal of Software.11, 9 (Sept. 2016), 883--902
[6]
Hoskins, J.C. and Himmelblau, D.M. 1992. Process control via artificial neural networks and reinforcement learning. Computers & chemical engineering. 16, 4, 241--251
[7]
Jureczko, M. and Madeyski, L. 2010. Towards identifying software project clusters with regard to defect prediction. PROMISE 2010: 9
[8]
Koutsoukas, A., Monaghan, K. J., Li X. and Huan, J. 2017. Deep-learning: investigating deep neural networks hyper-parameters and comparison of performance to shallow methods for modeling bioactivity data. Journal of Cheminformatics. 9, 1 (Jun. 2017), 42:1--42:13
[9]
Kuhn, M. 2008. Building Predictive Models in R Using the caret Package. Journal of Statistical Software. 28, 5
[10]
Kuhn, M. caret: Classification and regression training. http://CRAN.R-project.org/package=caret, 2015.
[11]
Leung, F., Lam, H., Ling, S. and Tam, P. 2003. Tuning of the structure and parameters of a neural network using an improved genetic algorithm. IEEE Transactions on Neural Networks IEEE Trans. 14, 1 (Jan. 2003), 79--88
[12]
Li, F., Rong, X. and Cui, Z. 2016. A hybrid CRBA-SVM model for software defect prediction. International Journal of Wireless and Mobile Computing. 10, 2 (Apr. 2016), 191--196
[13]
Li, K., Wang, L., Wu, J., Zhang, Q., Liao, G. and Su, L. 2018. Using GA-SVM for defect inspection of flip chips based on vibration signals. In Microelectronics Reliability 81 (Feb 2018), 159--166
[14]
McCulloch, W. and Pitts, W. 1943. A Logical Calculus of Ideas Immanent in Nervous Activity. Bulletin of Mathematical Biophysics. 5, 4, 115--133.
[15]
Menzies, T., Pape, C., Krishna, R. and Rees-Jones, M. 2015. The Promise Repository of Empirical Software Engineering Data. http://openscience.us/repo, 2015.
[16]
Miholca, D., Czibula, G. and Czibula, I. G. 2018. A novel approach for software defect prediction through hybridizing gradual relational association rules with artificial neural networks. In Information Sciences. 441 (May. 2018), 152--170
[17]
Phan, A. V., Nguyen M. L. and Bui, L. T. 2018. Convolutional Neural Networks over Control Flow Graphs for Software Defect Prediction. Computing Research Repository
[18]
Poon, W., Bennin, K. E., Huang, J., Phannachitta, P., and Keung, J. W. 2017. Cross-Project Defect Prediction Using a Credibility Theory Based Naive Bayes Classifier. 2017 IEEE International Conference on Software Quality, Reliability and Security (Prague, Czech Republic, July 25-29, 2017), 434--441
[19]
R core Team. R, the comprehensive r archive network. Retrieved from: http://www.r-project.org/
[20]
Ripley, B. nnet: Feed-forward neural networks and multinomial log-linear models. http://CRAN.R-project.org/package=nnet, 2015.
[21]
Ryu, D. and Baik, J. 2016. Effective multi-objective naïve Bayes learning for cross-project defect prediction. In Applied Soft Computing. 49 (Dec. 2016), 1062--1077
[22]
Ryu, D., Choi, O. and Baik, J. 2014. Improving Prediction Robustness of VAB-SVM for Cross-Project Defect Prediction. 2014 IEEE 17th International Conference on Computational Science and Engineering Computational Science and Engineering (Chengdu, China, December 12-19, 2014), 994--999
[23]
Siers, M. J. and Islam, M. Z. 2014. Cost Sensitive Decision Forest and Voting for Software Defect Prediction. LECTURE NOTES IN COMPUTER SCIENCE (Germany, 2014), 929--936
[24]
Siers, M. J. and Islam, M. Z. 2015. Software defect prediction using a cost sensitive decision forest and voting, and a potential solution to the class imbalance problem. Information Systems. 51 (Jul. 2015), 62--71
[25]
Vuk, M. and Curk, T. 2006. ROC curve, lift chart and calibration plot. Meto ol s i Zvezki, 3(1), pp.89--10

Cited By

View all
  • (2024)A systematic review of hyperparameter tuning techniques for software quality prediction modelsIntelligent Data Analysis10.3233/IDA-230653(1-19)Online publication date: 25-Jan-2024
  • (2024)LCNN: Lightweight CNN Architecture for Software Defect Feature Identification Using Explainable AIIEEE Access10.1109/ACCESS.2024.338848912(55744-55756)Online publication date: 2024
  • (2024)Software defect prediction using a bidirectional LSTM network combined with oversampling techniquesCluster Computing10.1007/s10586-023-04170-z27:3(3615-3638)Online publication date: 1-Jun-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
ICAIP '18: Proceedings of the 2nd International Conference on Advances in Image Processing
June 2018
261 pages
ISBN:9781450364607
DOI:10.1145/3239576
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

In-Cooperation

  • University of Electronic Science and Technology of China: University of Electronic Science and Technology of China
  • Southwest Jiaotong University

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 June 2018

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Artificial Neural Networks
  2. Automated Parameter Tuning
  3. Metrics
  4. Software defect prediction

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

Conference

ICAIP '18

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 04 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)A systematic review of hyperparameter tuning techniques for software quality prediction modelsIntelligent Data Analysis10.3233/IDA-230653(1-19)Online publication date: 25-Jan-2024
  • (2024)LCNN: Lightweight CNN Architecture for Software Defect Feature Identification Using Explainable AIIEEE Access10.1109/ACCESS.2024.338848912(55744-55756)Online publication date: 2024
  • (2024)Software defect prediction using a bidirectional LSTM network combined with oversampling techniquesCluster Computing10.1007/s10586-023-04170-z27:3(3615-3638)Online publication date: 1-Jun-2024
  • (2023)A novel approach for software defect prediction using CNN and GRU based on SMOTE Tomek methodJournal of Intelligent Information Systems10.1007/s10844-023-00793-160:3(673-707)Online publication date: 16-May-2023

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media