Skip to main content

Improvement in Software Defect Prediction Outcome Using Principal Component Analysis and Ensemble Machine Learning Algorithms

  • Conference paper
  • First Online:
Book cover International Conference on Intelligent Data Communication Technologies and Internet of Things (ICICI) 2018 (ICICI 2018)

Abstract

Improving customer experience is the focus of IT Industry. It is no longer about customer satisfaction, but it is about creating memorable experiences which will help build loyal customers. Hence it is extremely critical to release defect free software. While machine learning techniques were widely used for prediction modelling, creating a reliable predictor which can perform satisfactorily is always a challenge. In this paper, we have proposed a framework using PCA for feature selection and ensemble machine learning algorithms with stratified 10-fold cross validation for building the classification model. The proposed model is tested using 5 projects from NASA Metrics Data program and 4 ensemble machine learning algorithms. Our results show that the prediction accuracy is improved by 0.6% when the reduced dataset is used for classification than using the whole dataset. In comparison with previous research studies, our framework has shown an average of 4.2% increase in performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Lessmann, S., Baesens, B., Mues, C., Pietsch, S.: Benchmarking classification models for software defect prediction: a proposed framework and novel findings. IEEE Trans. Softw. Eng. 34(4), 485–496 (2008)

    Article  Google Scholar 

  2. Wang, S., Ping, H.E., Zelin, L.: An enhanced software defect prediction model with multiple metrics and learners. Int. J. Ind. Syst. Eng. 22(3), 358–371 (2016)

    Google Scholar 

  3. Murillo-Morera, J., Castro-Herrera, C., Arroyo, J., Fucntcs-Fernandez, R.: An automated defect prediction framework using genetic algorithms: a validation of empirical studies. Inteligencia Artif. 19(57), 114–137 (2016)

    Article  Google Scholar 

  4. Kalai Magal, R., Jacob, S.G.: Improved random forest algorithm for software defect prediction through data mining techniques. Int. J. Comput. Appl. (0975-8887), 117(23), May 2015

    Google Scholar 

  5. Kaur, A., Malhotra, R.: Application of random forest in predicting fault-prone classes. In: International Conference on Advanced Computer Theory and Engineering (2008)

    Google Scholar 

  6. Kumaresh, S., Baskaran, R, Sivaguru, M.: Software defect classification using bayesian classification techniques. In: IJCA Proceedings on International Conference on Communication, Computing and Information Technology ICCCMIT 2014, 16–20 March 2015

    Google Scholar 

  7. Sastry, K.B.S., Satya Prasad, R.: Software defect prediction using classifier mining. J. Comput. Sci. Eng. 1(4) (2015)

    Google Scholar 

  8. Mende, T., Koschke, R.: Effort-aware defect prediction models. In: 14th European Conference on Software Maintenance and Reengineering (2010)

    Google Scholar 

  9. Singh, P., Verma, S.: An efficient software fault prediction model using cluster based classification. Int. J. Appl. Inf. Syst. (IJAIS), 7(3), May 2014

    Google Scholar 

  10. Zhang, H., Nelson, A., Menzies, T.: On the value of learning from defect dense components for software defect prediction. Promise 2010, 12–13 September (2010

    Google Scholar 

  11. Song, Q., Jia, Z., Shepperd, M., Ying, S., Liu, J.: A General Software Defect-Proneness Prediction Framework. IEEE Trans. Softw. Eng. 37(3), 356–370 (2011)

    Article  Google Scholar 

  12. Sofware Fail watch, 5th Edn., Tricentis. https://www.tricentis.com/software-fai-watch/

  13. Koru, A.G., Liu, H.: An investigation of the effect of module size on defect prediction using static measures. In: Promise 2005, May 2005

    Google Scholar 

  14. Jin, C., Dong, E.M., Qin, L.N.: Software fault prediction model based on adaptive dynamical and median particle swarm optimization. In: Second International Conference on Multimedia and Information Technology (2010)

    Google Scholar 

  15. Witten, I.H., Frank, E.: Data Mining, Practical Machine Learning Tools and Techniques. Morgan Kaufmann, San Francisco (2005)

    MATH  Google Scholar 

  16. Shirabad, J.S., Menzies, T.J.: The PROMISE repository of software engineering databases. School of Information Technology and Engineering, University of Ottawa, Canada (2005). http://promise.site.uottawa.ca/SERepository

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to N. Dhamayanthi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Dhamayanthi, N., Lavanya, B. (2019). Improvement in Software Defect Prediction Outcome Using Principal Component Analysis and Ensemble Machine Learning Algorithms. In: Hemanth, J., Fernando, X., Lafata, P., Baig, Z. (eds) International Conference on Intelligent Data Communication Technologies and Internet of Things (ICICI) 2018. ICICI 2018. Lecture Notes on Data Engineering and Communications Technologies, vol 26. Springer, Cham. https://doi.org/10.1007/978-3-030-03146-6_44

Download citation

Publish with us

Policies and ethics