Skip to main content

An Approach for Improving Classification Accuracy Using Discretized Software Defect Data

  • Conference paper
  • First Online:
Recent Findings in Intelligent Computing Techniques

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

  • 709 Accesses

Abstract

Predicting software defects in software systems at early stages of its development has always been a very crucial and desirable aspect of software development industry. Today the machine learning algorithms are playing a massive role in classifying and predicting the possible bugs during the design phase. In this research work, the authors have proposed a discretization method based on metrics threshold values in order to gain better classification accuracy on a given data set. For the experimentation purpose, the authors have chosen the defect data sets from NASA repositories. In this Jedit, Lucene, Tomcat, Velocity, Xalan, Xerces software systems have been considered for experimentation using WEKA. The authors have also considered object-oriented CK metrics specifically for the study. Two very common and popular classifiers namely Naive Bayes and voted perceptron for the classification purpose. In the proposed work, various performance measures like ROC, RMSE values have been considered and analyzed. The results show that classification accuracy improvements can be made while using proposed discretization method with both classifiers.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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. Arora, D., Khanna, P., Tripathi, A., Sharma, S., Shukla, S.: Software quality estimation through object oriented design metrics. IJCSNS Int. J. Comput. Sci. Netw. Secur. 11(4) (2011)

    Google Scholar 

  2. A systematic literature review of software defect prediction: research trends, datasets, methods and frameworks. J. Softw. Eng. (2015)

    Google Scholar 

  3. Arora I., Tetarwala, V., Sahaa, A.: Open issues in software defect prediction. Elsevier (2015)

    Google Scholar 

  4. Zimmermann, T., Premraj, R., Zeller, A.: Predicting defects for eclipse. In: Proceedings of the Third International Workshop on Predictor Models in Software Engineering, p. 9. IEEE Computer Society (2007)

    Google Scholar 

  5. Ren, J., Qin, K., Ma, Y., Luo, G.: On software defect prediction using machine learning. J. Appl. Math. (2014)

    Google Scholar 

  6. Bakar, A.D., Sultan, A., Zulzalil, H., Din, J.: Predicting maintainability of object-oriented software using metric threshold. Inf. Technol. J. 13, 1540–1547 (2014)

    Article  Google Scholar 

  7. Salvador, G., et al.: A survey of discretization techniques: taxonomy and empirical analysis in supervised learning. IEEE Trans. Knowl. Data Eng. 25(4), 734–750 (2013)

    Article  MathSciNet  Google Scholar 

  8. Kotsiantis, S., Kanellopoulos, D.: Discretization techniques: a recent survey. GESTS Int. Trans. Computer Sci. Eng. 32, 47–58 (2006)

    Google Scholar 

  9. Kaya, F.: Discretizing continuous features for Naive Bayes and C4. 5 classifiers. University of Maryland publications, College Park, MD, USA (2008)

    Google Scholar 

  10. Kohavi, R., Sahami, M.: Error-based and entropy-based discretization of continuous features. KDD (1996)

    Google Scholar 

  11. Kapoor, P., Arora, D., Kumar A.: Effects of mean metric value over CK metrics distribution towards improved software fault predictions. In: Proceedings of the Springer’s International Conference IC4S (2016)

    Google Scholar 

  12. http://promisedata.googlecode.com

  13. Rish, I.: An empirical study of the Naive Bayes classifier. In: IJCAI Workshop on Empirical Methods in Artificial Intelligence, vol. 3, no. 22, p. 111. IBM New York (2001)

    Google Scholar 

  14. Metz, C.E.: Basic principles of ROC analysis (PDF). Semin. Nucl. Med. 8(4), 283–298 (1978)

    Article  Google Scholar 

  15. Tomar, Divya, Agarwal, Sonal: Twin support vector machine for multiple instance learning based on bag dissimilarities. Adv. Artif. Intell. 2016, 1–18 (2016)

    Article  Google Scholar 

  16. Rish, I.: An empirical study of the Naive Bayes classifier. In: IJCAI 2001 Workshop on Empirical Methods in Artificial Intelligence, vol. 3, no. 22. IBM New York (2001)

    Google Scholar 

  17. Yousef, A.H.: Extracting software static defect models using data minig. Elsevier (2015)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pooja Kapoor .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kapoor, P., Arora, D., Kumar, A. (2018). An Approach for Improving Classification Accuracy Using Discretized Software Defect Data. In: Sa, P., Bakshi, S., Hatzilygeroudis, I., Sahoo, M. (eds) Recent Findings in Intelligent Computing Techniques . Advances in Intelligent Systems and Computing, vol 709. Springer, Singapore. https://doi.org/10.1007/978-981-10-8633-5_34

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-8633-5_34

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-8632-8

  • Online ISBN: 978-981-10-8633-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics