Evaluation of Machine Learning Algorithms on Software Fault Estimation (SFE)

Authors

DOI:

https://doi.org/10.21015/vtse.v12i4.2036

Abstract

 Software Fault Estimation (SFE) approaches are being utilized to develop error free and cost friendly software. In this regard, machine learning algorithms are utilized to efficiently estimate the faults in the software. In this study, we implement eight machine learning based algorithms such as Long Short Term Memory networks (LSTM), K-Nearest Neighbors (KNN), Recurrent Neural networks (RNN), Graph Neural Network (GNN), Multi Layer Perception (MLP), Naïve Bayes, Random Forest, and Entropy using logistic regression model. All the algorithms are applied to the promise dataset for performance evaluation based on performance benchmarks such as recall, accuracy, and precision. MLP and LSTM algorithms showed promising results as compared to the other algorithms in terms of precision, accuracy, and recall. LSTM showed 0.83,0.85, and 0.8% precision, accuracy,and recall, respectively whereas RNN showed 0.79%, 0.60, and 0.79% recall, precision, and accuracy, respectively.

References

A. Khan, J. Uddin, F. Ali, A. Ahmad, O. Alghushairy, A. Banjar, and A. Daud, “Prediction of antifreeze proteins using machine learning,” *Scientific Reports*, vol. 12, no. 1, pp. 1–10, 2022.

C. Tang, L. Chen, Z. Wang, and Y. Sima, “Study on Software Defect Prediction Model Based on Improved BP Algorithm,” in *2020 IEEE Conference on Telecommunications, Optics and Computer Science (TOCS)*, Shenyang, China: IEEE, Dec. 2020, pp. 389–392, doi: 10.1109/TOCS50858.2020.9339718.

A. Rahim, Z. Hayat, M. Abbas, A. Rahim, and M. A. Rahim, “Software Defect Prediction with Naïve Bayes Classifier,” in *2021 International Bhurban Conference on Applied Sciences and Technologies (IBCAST)*, Islamabad, Pakistan: IEEE, Jan. 2021, pp. 293–297, doi: 10.1109/IBCAST51254.2021.9393250.

“Types of Defects in Software Development - GeeksforGeeks,” *GeeksforGeeks*, 2020. [Online]. Available: https://www.geeksforgeeks.org/types-of-defects-in-software-development/. [Accessed: 15-Apr-2023].

T. S. Kumar and B. Booba, “A Systematic Study on Machine Learning Techniques for Predicting Software Faults,” in *2021 IEEE Mysore Sub Section International Conference (MysuruCon)*, Hassan, India: IEEE, Oct. 2021, pp. 133–136, doi: 10.1109/MysuruCon52639.2021.9641090.

T. F. Husin, M. R. Pribadi, and Yohannes, “Implementation of LSSVM in Classification of Software Defect Prediction Data with Feature Selection,” in *2022 9th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI)*, Jakarta, Indonesia: IEEE, Oct. 2022, pp. 126–131, doi: 10.23919/EECSI56542.2022.9946611.

S. A. K, V. Gururaj, K. R. Umadi, M. Kumar, S. P. Shankar, and D. Varadam, “Comprehensive Survey of different Machine Learning Algorithms used for Software Defect Prediction,” in *2022 International Conference on Decision Aid Sciences and Applications (DASA)*, Chiangrai, Thailand: IEEE, Mar. 2022, pp. 425–430, doi: 10.1109/DASA54658.2022.9764982.

C. L. Prabha, “Software Defect Prediction Using Machine Learning Techniques,” 2020.

J. Abbineni and O. Thalluri, “Software Defect Detection Using Machine Learning Techniques,” in *2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI)*, Tirunelveli: IEEE, May 2018, pp. 471–475, doi: 10.1109/ICOEI.2018.8553830.

M. Cetiner and O. K. Sahingoz, “A Comparative Analysis for Machine Learning based Software Defect Prediction Systems,” in *2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT)*, Kharagpur, India: IEEE, Jul. 2020, pp. 1–7, doi: 10.1109/ICCCNT49239.2020.9225352.

Z. Ding, Y. Mo, and Z. Pan, “A Novel Software Defect Prediction Method Based on Isolation Forest,” in *2019 International Conference on Quality, Reliability, Risk, Maintenance, and Safety Engineering (QR2MSE)*, Zhangjiajie, China: IEEE, Aug. 2019, pp. 882–887, doi: 10.1109/QR2MSE46217.2019.9021215.

Y. Shen, S. Hu, S. Cai, and M. Chen, “Software Defect Prediction based on Bayesian Optimization Random Forest,” in *2022 9th International Conference on Dependable Systems and Their Applications (DSA)*, Wulumuqi, China: IEEE, Aug. 2022, pp. 1012–1013, doi: 10.1109/DSA56465.2022.00149.

W. Zheng, L. Tan, and C. Liu, “Software Defect Prediction Method Based on Transformer Model,” in *2021 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA)*, Dalian, China: IEEE, Jun. 2021, pp. 670–674, doi: 10.1109/ICAICA52286.2021.9498179.

Y. Heryadi and H. L. H. S. Warnars, “Learning temporal representation of transaction amount for fraudulent transaction recognition using CNN, Stacked LSTM, and CNN-LSTM,” in *2017 IEEE International Conference on Cybernetics and Computational Intelligence (CyberneticsCom)*, Phuket: IEEE, Nov. 2017, pp. 84–89, doi: 10.1109/CYBERNETICSCOM.2017.8311689.

T. M. Ma, K. Yamamori, and A. Thida, “A Comparative Approach to Naïve Bayes Classifier and Support Vector Machine for Email Spam Classification,” in *2020 IEEE 9th Global Conference on Consumer Electronics (GCCE)*, Kobe, Japan, Oct. 2020, pp. 324–326, doi: 10.1109/GCCE50665.2020.9291921.

X. Zou, Y. Hu, Z. Tian, and K. Shen, “Logistic Regression Model Optimization and Case Analysis,” in *2019 IEEE 7th International Conference on Computer Science and Network Technology (ICCSNT)*, Dalian, China, Oct. 2019, pp. 135–139, doi: 10.1109/ICCSNT47585.2019.8962457.

Q. Xing-yu, Z. Peng, X. Chengcheng, and F. Dong-dong, “RNN-based Method for Fault Diagnosis of Grinding System,” in *2017 IEEE 7th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems (CYBER)*, Honolulu, HI, Jul. 2017, pp. 673–678, doi: 10.1109/CYBER.2017.8446348.

J. Xie, J. Huang, J. Gao, Z. Gao, and J. Jiang, “Community Division of Multi-factor Coupled Complex Network Based on Graph Neural Network,” in *2020 3rd World Conference on Mechanical Engineering and Intelligent Manufacturing (WCMEIM)*, Shanghai, China: IEEE, Dec. 2020, pp. 742–746, doi: 10.1109/WCMEIM52463.2020.00159.

S. Lu, W. Tong, and Z. Chen, “Implementation of the KNN algorithm based on Hadoop,” in *2015 International Conference on Smart and Sustainable City and Big Data (ICSSC)*, Jul. 2015, pp. 123–126, doi: 10.1109/ICSSC.2015.123456.

F. Kuppers, J. Albers, and A. Haselhoff, “Random Forest on an Embedded Device for Real-time Machine State Classification,” in *2019 27th European Signal Processing Conference (EUSIPCO)*, A Coruna, Spain, Sep. 2019, pp. 1–5, doi: 10.23919/EUSIPCO.2019.8902993.

I. A. Yusoff, N. A. Mat Isa, N. H. Othman, S. N. Sulaiman, and Y. Jusman, “Performance of neural network architectures: Cascaded MLP versus extreme learning machine on cervical cell image classification,” in *10th International Conference on Information Science, Signal Processing and their Applications (ISSPA 2010)*, Kuala Lumpur, Malaysia, May 2010, pp. 308–311, doi: 10.1109/ISSPA.2010.5605463.

R. B. C. Prudêncio, S. B. Guerra, and T. B. Ludermir, “Using Support Vector Machines to Predict the Performance of MLP Neural Networks,” in *2008 10th Brazilian Symposium on Neural Networks*, Salvador, Brazil, Oct. 2008, pp. 201–206, doi: 10.1109/SBRN.2008.30.

K. Rusek, J. Suarez-Varela, P. Almasan, P. Barlet-Ros, and A. Cabellos-Aparicio, “RouteNet: Leveraging Graph Neural Networks for Network Modeling and Optimization in SDN,” *IEEE J. Select. Areas Commun.*, vol. 38, no. 10, pp. 2260–2270, Oct. 2020, doi: 10.1109/JSAC.2020.3000405.

Downloads

Published

2024-12-31

How to Cite

Qamar, N., Danial, R., Ahmad, S., Saleem, M. B., Nazir, F., & Aslam, H. (2024). Evaluation of Machine Learning Algorithms on Software Fault Estimation (SFE). VFAST Transactions on Software Engineering, 12(4), 302–311. https://doi.org/10.21015/vtse.v12i4.2036