Skip to main content

Software Defect Prediction: A Comparison Between Artificial Neural Network and Support Vector Machine

  • Conference paper
  • First Online:
Advanced Computing and Communication Technologies

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 562))

Abstract

Software industry has stipulated the need for good quality software projects to be delivered on time and within budget. Software defect prediction (SDP) has led to the application of machine learning algorithms for building defect classification models using software metrics and defect proneness as the independent and dependent variables, respectively. This work performs an empirical comparison of the two classification methods: support vector machine (SVM) and artificial neural network (ANN), both having the predictive capability to handle the complex nonlinear relationships between the software attributes and the software defect. Seven data sets from the PROMISE repository are used and the prediction models’ are assessed on the parameters of accuracy, recall, and specificity. The results show that SVM is better than ANN in terms of recall, while the later one performed well along the dimensions of accuracy and specificity. Therefore, it is concluded that it is necessary to determine the evaluation parameters according to the criticality of the project, and then decide upon the classification model to be applied.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

Similar content being viewed by others

References

  1. Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)

    Article  Google Scholar 

  2. Bailey, C.T., Dingee, W.L.: A software study using Halstead metrics. ACM SIGMETRICS Perform. Eval. Rev. 10(1), 189–197 (1981)

    Article  Google Scholar 

  3. Khoshgoftaar, T.M., Gao, K., Szabo, R.M.: An application of zero-inflated poisson regression for software fault prediction. In: Proceedings of 12th International Symposium on Software Reliability Engineering, pp. 66–73 (2001)

    Google Scholar 

  4. Challagulla, V.U.B., Bastani, F.B., Yen, I.-L., Paul, R.A.: Empirical assessment of machine learning based defect prediction techniques. Int. J. Artif. Intell. Tools 17(2), 389–400 (2008)

    Article  Google Scholar 

  5. Elish, K.O., Elish, M.O.: Predicting defect-prone software modules using support vector machines. J. Syst. Softw. 81(5), 649–660 (2008)

    Article  Google Scholar 

  6. Vapnik, V.: The Nature of Statistical Learning Theory. Springer-Verlag, New York (1995)

    Book  MATH  Google Scholar 

  7. Brooks, R.A.: Intelligence without representation. Artif. Intell. 47(1–3), 139–159 (1991)

    Article  Google Scholar 

  8. Venkatachalam, A.R.: Software cost estimation using artificial neural networks. In: Proceedings of International Joint Conference on Neural Networks, pp. 987–990 (1993)

    Google Scholar 

  9. Heiat, A.: Comparison of artificial neural network and regression models for estimating software development effort. Inf. Softw. Technol. 44(15), 911–922 (2002)

    Article  Google Scholar 

  10. Thwin, M.M.T., Quah, T.-S.: Application of neural networks for software quality prediction using object-oriented metrics. J. Syst. Softw. 76(2), 147–156 (2005)

    Article  Google Scholar 

  11. So, S.S., Cha, S.D., Kwon, Y.R.: Empirical evaluation of a fuzzy logic-based software quality prediction model. Fuzzy Sets Syst. 127(2), 199–208 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  12. Menzies, T., Krishna, R., Pryor, D.: The promise repository of empirical software engineering data; http://openscience.us/repo. North Carolina State University, Department of Computer Science (2016)

  13. Lanubile, F., Lonigro, A., Visaggio, G.: Comparing models for identifying fault-prone software components. In: Proceedings of 7th International Conference on Software Engineering and Knowledge Engineering, pp. 312–319 (1995)

    Google Scholar 

  14. Gondra, I.: Applying machine learning to software fault-proneness prediction. J. Syst. Softw. 81(2), 186–195 (2008)

    Article  Google Scholar 

  15. Zheng, J.: Cost-sensitive boosting neural networks for software defect prediction. Expert Syst. Appl. 37(6), 4537–4543 (2010)

    Article  Google Scholar 

  16. Malhotra, R.: Comparative analysis of statistical and machine learning methods for predicting faulty modules. Appl. Soft Comput. 21, 286–297 (2014)

    Article  Google Scholar 

  17. Abe, S.: Support Vector Machines for Pattern Classification. Springer, USA (2005)

    MATH  Google Scholar 

  18. Burges, C.J.C.: A tutorial on support vector machines for pattern recognition. Data Min. Knowl. Disc. 2(2), 121–167 (1998)

    Article  Google Scholar 

  19. Gun, S.: Support vector machines for classification and regression. Technical Report, University of Southampton (1998)

    Google Scholar 

  20. Gershenfeld, N.A., Weigend, A.S.: Time series prediction: forecasting the future and understanding the past. In: The Future of Time Series. Addison-Wesley, pp. 1–70 (1993)

    Google Scholar 

  21. Hagan, M.T., Menhaj, M.B.: Training feedforward networks with the Marquardt algorithm. IEEE Trans. Neural Netw. 5(6), 989–993 (1994)

    Article  Google Scholar 

  22. More, J.J.: The Levenberg-Marquardt algorithm: implementation and theory. In: Lecture Notes in Mathematics, Numerical Analysis. Springer, Berlin, pp. 105–116 (2006)

    Google Scholar 

  23. Stehman, S.V.: Selecting and interpreting measures of thematic classification accuracy. Remote Sens. Environ. 62(1), 77–89 (1997)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ishani Arora .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Cite this paper

Arora, I., Saha, A. (2018). Software Defect Prediction: A Comparison Between Artificial Neural Network and Support Vector Machine. In: Choudhary, R., Mandal, J., Bhattacharyya, D. (eds) Advanced Computing and Communication Technologies. Advances in Intelligent Systems and Computing, vol 562. Springer, Singapore. https://doi.org/10.1007/978-981-10-4603-2_6

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-4603-2_6

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-4602-5

  • Online ISBN: 978-981-10-4603-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics