FOHC: Firefly Optimizer Enabled Hybrid approach for Cancer Classification

Main Article Content

Abhilash Pati
Amrutanshu Panigrahi
Bibhuprasad Sahu
Ghanashyam Sahoo
Manoranjan Dash
Manoranjan Parhi
Binod Kumar Pattanayak


Early detection and prediction of cancer, a group of chronic diseases responsible for a large number of deaths each year and a serious public health hazard, can lead to more effective treatment at an earlier stage in the disease's progression. In the current era, machine learning (ML) has widely been used to develop predictive models for incurable diseases such as cancer, heart disease, and diabetes, among others, taking into account both existing datasets and personally collected datasets, more research is still being conducted in this area. Using recursive feature elimination (RFE), principal component analysis (PCA), the Firefly Algorithm (FA), and a support vector machine (SVM) classifier, this study proposed a Firefly Optimizer-enabled Hybrid approach for Cancer classification (FOHC). This study considers feature selection and dimensionality reduction techniques RFE and PCA, and FA is used as the optimization algorithm. In the last stage, the SVM is applied to the pre-processed dataset as the classifier. To evaluate the proposed model, empirical analysis has been carried out on three different kinds of cancer disease datasets including Brain, Breast, and Lung cancer obtained from the UCI-ML warehouse. Based on the various performance parameters like accuracy, error rate, precision, recall, f-measure, etc., some experiments are carried out on the Jupyter platform using Python codes. This proposed model, FOHC, surpasses previous methods and other considered state-of-the-art works, with 98.94% accuracy for Breast cancer, 95.58% accuracy for Lung cancer, and 96.34% accuracy for Brain cancer. The outcomes of these experiments represent the effectiveness of the proposed work.

Article Details

How to Cite
Pati, A. ., Panigrahi, A. ., Sahu, B. ., Sahoo, G. ., Dash, M. ., Parhi, M. ., & Pattanayak, B. K. . (2023). FOHC: Firefly Optimizer Enabled Hybrid approach for Cancer Classification. International Journal on Recent and Innovation Trends in Computing and Communication, 11(7s), 118–125.


S. K. Chaturvedi, F. J. Strohschein, G. Saraf, and C. G. Loiselle, “Communication in cancer care: Psycho-social, interactional, and cultural issues. A general overview and the example of India,” Frontiers in Psychology, vol. 5, no. NOV. Frontiers Research Foundation, 2014. DOI: 10.3389/fpsyg.2014.01332.

P. R. Deshpande, M. Sheriff, A. Nazir, S. Bommareddy, A. Tumkur, and A. N. Naik, “Patient-reported quality of life outcomes in Indian breast cancer patients: Importance, review of the researches, determinants and future directions,” Journal of Cancer Research and Therapeutics, vol. 9, no. 1. pp. 11–16, Jan. 2013. DOI: 10.4103/0973-1482.110341.

Prof. Nikhil Surkar. (2015). Design and Analysis of Optimized Fin-FETs. International Journal of New Practices in Management and Engineering, 4(04), 01 - 06. Retrieved from

N. Fatima, L. Liu, S. Hong, and H. Ahmed, “Prediction of Breast Cancer, Comparative Review of Machine Learning Techniques, and Their Analysis,” IEEE Access, vol. 8. Institute of Electrical and Electronics Engineers Inc., pp. 150360–150376, 2020. DOI: 10.1109/ACCESS.2020.3016715.

B. Zheng, S. W. Yoon, and S. S. Lam, “Breast cancer diagnosis based on feature extraction using a hybrid of K-means and support vector machine algorithms,” Expert Systems with Applications, vol. 41, no. 4 PART 1, pp. 1476–1482, 2014, DOI: 10.1016/j.eswa.2013.08.044.

C. Shah and A. G. Jivani, “Comparison of data mining classification algorithms for breast cancer prediction,” 2013. DOI: 10.1109/ICCCNT.2013.6726477.

A. Pati, M. Parhi, B. K. Pattanayak, B. Sahu, and S. Khasim, “CanDiag: Fog Empowered Transfer Deep Learning Based Approach for Cancer Diagnosis,” Designs, vol. 7, no. 3, p. 57, Apr. 2023, doi: 10.3390/designs7030057.


H. Lei and V. Govindaraju, “Speeding Up Multi-class SVM Evaluation by PCA and Feature Selection.”

A. Pati, M. Parhi, B. K. Pattanayak, D. Singh, D. Samanta, A. Banerjee, S. Biring, and G. K. Dalapati, “Diagnose Diabetic Mellitus Illness Based on IoT Smart Architecture,” Wireless Communications and Mobile Computing, vol. 2022, p. e7268571, Aug. 2022, doi:

B. Sahu, C. J. Badajena, A. Panigrahi, C. Rout, and S. Sethi, “An Intelligence-Based Health Biomarker Identification System Using Microarray Analysis,” in CRC Press, 2020, pp. 137–161.


B. Sahu, A. Panigrahi, S. K. Rout and A. Pati, "Hybrid Multiple Filter Embedded Political Optimizer for Feature Selection," 2022 International Conference on Intelligent Controller and Computing for Smart Power (ICICCSP), Hyderabad, India, 2022, pp. 1-6, doi: 10.1109/ICICCSP53532.2022.9862419.

A. Pati, M. Parhi, M. Alnabhan, B. K. Pattanayak, A. K. Habboush, and M. K. Al Nawayseh, “An IoT-Fog-Cloud Integrated Framework for Real-Time Remote Cardiovascular Disease Diagnosis,” Informatics, vol. 10, no. 1, p. 21, Feb. 2023, doi: 10.3390/informatics10010021

B. Sahu, A. Panigrahi, S. Mohanty, and S. S. Panigrahi, “A hybrid Cancer Classification Based on SVM Optimized by PSO and Reverse Firefly Algorithm,” International Journal of Control and Automation, vol. 13, no. 4, pp. 506–517, 2020

Kanna, D. ., & Muda, I. . (2021). Hybrid Stacked LSTM Based Classification in Prediction of Weather Forecasting Using Deep Learning. Research Journal of Computer Systems and Engineering, 2(1), 46:51. Retrieved from

J. Talukdar and S. Kr Kalita, “Detection of Breast Cancer using Data Mining Tool (WEKA),” International Journal of Scientific & Engineering Research, vol. 6, no. 11, 2015, [Online]. Available:

H. Asri, H. Mousannif, H. al Moatassime, and T. Noel, “Using Machine Learning Algorithms for Breast Cancer Risk Prediction and Diagnosis,” in Procedia Computer Science, 2016, vol. 83, pp. 1064–1069. DOI: 10.1016/j.procs.2016.04.224.

Muñoz, S., Hernandez, M., González, M., Thomas, P., & Anderson, C. Enhancing Engineering Education with Intelligent Tutoring Systems using Machine Learning. Kuwait Journal of Machine Learning, 1(2). Retrieved from

M. Kaya Kele?, “Breast cancer prediction and detection using data mining classification algorithms: A comparative study,” Tehnicki Vjesnik, vol. 26, no. 1, pp. 149–155, Feb. 2019, DOI: 10.17559/TV-20180417102943.

P. Israni, “Breast cancer diagnosis (BCD) model using machine learning,” International Journal of Innovative Technology and Exploring Engineering, vol. 8, no. 10, pp. 4456–4463, Aug. 2019, DOI: 10.35940/ijitee.J9973.0881019.

A. Pati, M. Parhi, & B. K. Pattanayak, (2022). HeartFog: Fog Computing Enabled Ensemble Deep Learning Framework for Automatic Heart Disease Diagnosis. In Intelligent and Cloud Computing (pp. 39-53). Springer, Singapore.

D. W. Aha, “Heart Disease dataset,” UCI-ML repository, Jul. 22, 1988.

M. N. Taib., Universiti Teknologi MARA. Faculty of Electrical Engineering., and IEEE Control Systems Society. Chapter Malaysia., CSPA 2010: 2010 6th International Colloquium on Signal Processing & Its Applications: 21-23 May 2010, Mahkota Hotel, Melaka, Malaysia. IEEE, 2010.

Abhale, A. B. ., & Reddy A, J. . (2023). Deep Learning Perspectives to Detecting Intrusions in Wireless Sensor Networks. International Journal of Intelligent Systems and Applications in Engineering, 11(2s), 18–26. Retrieved from

A. Adorada, R. Permatasari, P. W. Wirawan, A. Wibowo, and A. Sujiwo, “Support Vector Machine-Recursive Feature Elimination (SVM-RFE) for Selection of MicroRNA Expression Features of Breast Cancer,” in 2018 2nd International Conference on Informatics and Computational Sciences (ICICoS), 2018, pp. 1–4.

Alexei Ivanov, Machine Learning for Traffic Prediction and Optimization in Smart Cities , Machine Learning Applications Conference Proceedings, Vol 3 2023.

A. Pati, M. Parhi, and B. K. Pattanayak, “A review on prediction of diabetes using machine learning and data mining classification techniques,” International Journal of Biomedical Engineering and Technology, vol. 41, no. 1, p. 83, 2023, doi:

A. Pati, M. Parhi, and B. K. Pattanayak, “IHDPM: an integrated heart disease prediction model for heart disease prediction,” International Journal of Medical Engineering and Informatics, vol. 14, no. 6, p. 564, 2022, doi:

A. Pati, A. Panigrahi, D. S. K. Nayak, G. Sahoo, and D. Singh, “Predicting Pediatric Appendicitis using Ensemble Learning Techniques,” Procedia Computer Science, vol. 218, pp. 1166–1175, 2023, doi:

S. S. Tripathy, N. Tripathy, M. Rath, A. Pati, A. Panigrahi and M. Dash, "Smart Farming based on Deep Learning Approaches," 2022 2nd Odisha International Conference on Electrical Power Engineering, Communication and Computing Technology (ODICON), Bhubaneswar, India, 2022, pp. 1-5, doi: 10.1109/ODICON54453.2022.10010165.

S. K. Rout, B. Sahu, A. Panigrahi, B. Nayak, and A. Pati, “Early Detection of Sepsis Using LSTM Neural Network with Electronic Health Record,” Smart Innovation, Systems and Technologies, pp. 201–207, Nov. 2022, doi: