Abstract
Defects occurring in software product are a universal event. Prevention of these defects in the early stage needs more attention because early stage prevention and fixing requires less effort and lower cost. Software defect prediction (SDP) is necessary in the determination of software quality as well as reliability. Prediction of defects is relatively an original research area in software quality engineering. Coverage of key predictors and the kind of data to be collected along with defect prediction model role, the interdependence of defects and predictors can be recognized in software quality. Feature selection (FS) is one of the worthy preprocessing techniques for application that uses huge volumes of data. It is the process of selecting the probable minimal attribute which is expected to be represented in the set of actual attributes. This paper proposes, FS using firefly algorithm (FA) and classifiers like support vector machine (SVM), Naïve Bayes (NB) as well as K-nearest neighbor (KNN) are used for classifying the features selected. The FS that make use of the FA is that new technique of evolutionary computation that has been inspired by the process of flash lighting of the fireflies. This can search quickly the feature space for an optimal or a near optimal feature subset for minimizing a certain function of fitness. This proposed fitness function has made use of the incorporation of both the accuracy of classification and the reduction of the size. The results of the experiment have shown that the FS using the FA can achieve a better accuracy of classification than that of the other methods.
Similar content being viewed by others
References
Dhanalaxmi, B.: Machine learning-defect prevention of in-appendage and under development process of quality projects. Int. J. Multidiscip. Sci. Eng. 3(2), 1 (2012)
Verma, K., Singh, P.K.: An insight to soft computing based defect prediction techniques in software. Int. J. Mod. Educ. Comput. Sci. (IJMECS) 7(9), 52 (2015)
Ryu, D., Jang, J.I., Baik, J.: A hybrid instance selection using nearest-neighbor for cross-project defect prediction. J. Comput. Sci. Technol. 30(5), 969–980 (2015)
Rawat, M.S., Dubey, S.K.: Software defect prediction models for quality improvement: a literature study. Int. J. Comput. Sci. 9, 288–296 (2012)
Prasad, M.C., Florence, L., Arya, A.: A study on software metrics based software defect prediction using data mining and machine learning techniques. Int. J. Database Theory Appl. 8(3), 179–190 (2015)
Abaei, G., Selamat, A.: A survey on software fault detection based on different prediction approaches. Vietnam J. Comput. Sci. 1(2), 79–95 (2014)
Ren, J., Qin, K., Ma, Y., Luo, G.: On software defect prediction using machine learning. J. Appl. Math, 2014 (2014)
Naidu, M.S., Geethanjali, N.: Classification of defects in software using decision tree algorithm. Int. J. Eng. Sci. Technol. (IJEST) 5(6), 1332 (2013)
Can, H., Jianchun, X., Ruide, Z., Juelong, L., Qiliang, Y., Liqiang, X.: A new model for software defect prediction using particle swarm optimization and support vector machine. In: Control and Decision Conference (CCDC), 2013 25th Chinese (pp. 4106–4110). IEEE (2013)
Agarwal, S., Tomar, D.: A feature selection based model for software defect prediction. assessment, 65 (2014)
Abaei, G., Selamat, A.: A survey on software fault detection based on different prediction approaches. Vietnam J. Comput. Sci. 1(2), 79–95 (2014)
Yang, X., Tang, K., Yao, X.: A learning-to-rank approach to software defect prediction. Reliab. IEEE Trans. 64(1), 234–246 (2015)
Chug, A., Dhall, S.: Software defect prediction using supervised learning algorithm and unsupervised learning algorithm (2013)
Shuai, B., Li, H., Li, M., Zhang, Q., Tang, C.: Software defect prediction using dynamic support vector machine. In: Computational Intelligence and Security (CIS), 2013 9th International Conference on (pp. 260-263). IEEE (2013)
Ghatasheh, N., Faris, H., Aljarah, I., Al-Sayyed, R.M.: Optimizing software effort estimation models using firefly algorithm. J. Softw. Eng. Appl. 8(03), 133 (2015)
Dixit, S., Gupta, R.K.: Layered approach to classify web pages using firefly feature selection by support vector machine (SVM). Int. J. u- e-Serv. Sci. Technol. 8(5), 355–364 (2015)
Agarwal, S., Tomar, D.: A feature selection based model for software defect prediction. Assessment, 65 (2014)
Ali, M.M., Huda, S., Abawajy, J., Alyahya, S., Al-Dossari, H., Yearwood, J.: A parallel framework for software defect detection and metric selection on cloud computing. Clust. Comput. 1, 1–15 (2017)
Gayathri, M., Sudha, A.: Software Defect Prediction System using Multilayer Perceptron Neural Network with Data Mining. International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, 3(2), (May 2014)
Shirabad, J.S., Menzies, T.J.: The PROMISE repository of software engineering databases. School of Information Technology and Engineering, University of Ottawa, Canada, 24 (2005)
Selvaraj, P.A., Thangaraj, P.: Support vector machine for software defect prediction. Int. J. Eng. Technol. Res. 1(2), 68–76 (2013)
Nagwani, N.K., Verma, S.: A comparative study of bug classification algorithms. Int. J. Softw. Eng. Knowl. Eng. 24(01), 111–138 (2014)
Kang, S.H., Kim, K.J.: A feature selection approach to find optimal feature subsets for the network intrusion detection system. Clust. Comput. 19(1), 325–333 (2016)
Banati, H., Bajaj, M.: Fire fly based feature selection approach.IJCSI. International Journal of Computer Science Issues 8(4), (2011)
Arora, S., Singh, S.: The firefly optimization algorithm: convergence analysis and parameter selection. Int. J. Comput. Appl. 69(3), 48–52 (2013)
Emary, E., Zawbaa, H.M., Ghany, K.K.A., Hassanien, A.E., Parv, B.: Firefly optimization algorithm for feature selection. In: Proceedings of the 7th Balkan Conference on Informatics Conference (p. 26). ACM (2015, September)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Anbu, M., Anandha Mala, G.S. Feature selection using firefly algorithm in software defect prediction. Cluster Comput 22 (Suppl 5), 10925–10934 (2019). https://doi.org/10.1007/s10586-017-1235-3
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-017-1235-3