Skip to main content

Software Defect Prediction Using ROS-KPCA Stacked Generalization Model

  • Conference paper
  • First Online:
Evolution in Computational Intelligence (FICTA 2022)

Abstract

Software quality assurance is an area that deals with software defect prediction also. Identifying and eliminating defects is a crucial task that helps organizations deliver quality software products to customers. Machine learning approaches help in identifying software modules that are defective and which are not defective. The existing software defect prediction datasets contain data with features that could classify projects are defective or not. The machine learning model’s performance will be degraded with the existence of noisy attributes and class imbalance problems. In this work, we propose a ROS-KPCA-SG model (Random Over Sampling-Kernel Principal Component Analysis-Staked Generalization Model) model to solve the noisy dataset and class imbalance problems and to improve the software defect prediction accuracy. The performance of the ROS-KPCA-SG model is compared with individual models with different combinations of sampling techniques. The results show the proposed ROS-KPCA-SG model solves the problems and gives better performance than other models. The AUC-ROC score is between 0.9 and 1 for the ROS-KPCA-SG model on all the datasets, and the accuracy is near to 90% and above which is a higher value than other models. The proposed model gives accuracy on datasets CM1 is 98%; JM1 is 89%; PC1 is 98%; KC1 is 92% and with KC2 dataset is 89%.

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 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 299.99
Price excludes VAT (USA)
  • Durable hardcover 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. Reddivari, S., Raman, J.: Software quality prediction: an investigation based on machine learning. In: 2019 IEEE 20th International Conference on Information Reuse and Integration for Data Science (IRI), pp. 115–122. IEEE (2019)

    Google Scholar 

  2. 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. IEEE (2019)

    Google Scholar 

  3. Pradhan, S., Nanniyur, V., Vissapragada, P.K.: On the defect prediction for large scale software systems-from defect density to machine learning. In: 2020 IEEE 20th International Conference on Software Quality, Reliability and Security (QRS), pp. 374–381. IEEE (2020)

    Google Scholar 

  4. Bahaweres, R.B., Suroso, A.I., Hutomo, A.W., Solihin, I.P., Hermadi, I., Arkeman, Y.: Tackling feature selection problems with genetic algorithms 18 in software defect prediction for optimization. In: 2020 International Conference on Informatics, Multimedia, Cyber and Information System (ICIMCIS), pp. 64–69. IEEE (2020)

    Google Scholar 

  5. Aydin, Z.B.G., Samli, R.: Performance evaluation of some machine learning algorithms in NASA defect prediction data sets. In: 2020 5th International Conference on Computer Science and Engineering (UBMK), pp. 1–3. IEEE (2020)

    Google Scholar 

  6. Zhang, T., Du, Q., Xu, J., Li, J., Li, X.: Software defect prediction and localization with attention-based models and ensemble learning. In: 27th Asia-Pacific Software Engineering Conference (APSEC), vol. 2020, pp. 81–90. IEEE (2020)

    Google Scholar 

  7. Zhou, Y., Shan, C., Sun, S., Wei, S., Zhang, S.: Software defect prediction model based on KPCA-SVM. In: IEEE SmartWorld, Ubiquitous Intelligence and Computing, Advanced and Trusted Computing, Scalable Computing and Communications, Cloud and Big Data Computing, Internet of People and Smart City Innovation (SmartWorld/SCALCOM/UIC/ATC/CBDCom/IOP/SCI), vol. 2019, pp. 1326–1332. IEEE (2019)

    Google Scholar 

  8. Soe, Y.N., Santosa, P.I., Hartanto, R.: Software defect prediction using random forest algorithm. In: 12th South East Asian Technical University Consortium (SEATUC), vol. 1, pp. 1–5. IEEE (2018)

    Google Scholar 

  9. Thant, M.W., Aung, N.T.T.: Software defect prediction using hybrid approach. In: 2019 International Conference on Advanced Information Technologies (ICAIT), pp. 262–267. IEEE (2019)

    Google Scholar 

  10. García, V., Sánchez, J.S., Mollineda, R.A.: Classification of high dimensional and imbalanced hyperspectral imagery data. In: Iberian Conference on Pattern Recognition and Image Analysis, pp. 644–651. Springer, Berlin (2011)

    Google Scholar 

  11. Malhotra, R., Khan, K.: A study on software defect prediction using feature extraction techniques. In: 2020 8th International Conference on 19 Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), pp. 1139–1144. IEEE (2020)

    Google Scholar 

  12. Prabha, C.L., Shivakumar, N.: Software defect prediction using machine learning techniques. In: 2020 4th International Conference on Trends in Electronics and Informatics (ICOEI) (48184), pp. 728–733. IEEE (2020)

    Google Scholar 

  13. Cetiner, M., Sahingoz, O.K.: A comparative analysis for machine learning based software defect prediction systems. In: 2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT), pp. 1–7. IEEE (2020)

    Google Scholar 

  14. Tessema, H.D., Abebe, S.L.: Enhancing just-in-time defect prediction using change request-based metrics. In: 2021 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER), pp. 511–515. IEEE (2021)

    Google Scholar 

  15. Raju, K.S., Ramakrishna Murty, M., Varaprasad Rao, M., Satapathy, S.C.: Support vector machine with k-fold cross validation model for software fault prediction. Int. J. Pure Appl. Math. 118(20), 321–334 (2018)

    Google Scholar 

  16. Mi, W., Li, Y., Wang, S.: Empirical evaluation of the active learning strategies on software defects prediction. In: 6th International Symposium on System and Software Reliability (ISSSR), pp. 83–89. IEEE (2020)

    Google Scholar 

  17. Mahaweerawa, A., Nilnumpetch, C., Kraipeerapun, P.: Applying stacked generalization with the difference of truth and falsity data to predict student’s performance. In: 2020 5th International Conference on Computer and Communication Systems (ICCCS), pp. 148–152. IEEE (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bhaskar Marapelli .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Marapelli, B., Carie, A., Islam, S.M.N. (2023). Software Defect Prediction Using ROS-KPCA Stacked Generalization Model. In: Bhateja, V., Yang, XS., Lin, J.CW., Das, R. (eds) Evolution in Computational Intelligence. FICTA 2022. Smart Innovation, Systems and Technologies, vol 326. Springer, Singapore. https://doi.org/10.1007/978-981-19-7513-4_51

Download citation

Publish with us

Policies and ethics