CFP last date
17 June 2024
Reseach Article

A Diabetic Prediction Model using Firefly Algorithm with K-Nearest Neighbor Classifier

by Sulaiman Olaniyi Abdulsalam
International Journal of Applied Information Systems
Foundation of Computer Science (FCS), NY, USA
Volume 12 - Number 39
Year of Publication: 2022
Authors: Sulaiman Olaniyi Abdulsalam

Sulaiman Olaniyi Abdulsalam . A Diabetic Prediction Model using Firefly Algorithm with K-Nearest Neighbor Classifier. International Journal of Applied Information Systems. 12, 39 ( August 2022), 38-42. DOI=10.5120/ijais2022451930

@article{ 10.5120/ijais2022451930,
author = { Sulaiman Olaniyi Abdulsalam },
title = { A Diabetic Prediction Model using Firefly Algorithm with K-Nearest Neighbor Classifier },
journal = { International Journal of Applied Information Systems },
issue_date = { August 2022 },
volume = { 12 },
number = { 39 },
month = { August },
year = { 2022 },
issn = { 2249-0868 },
pages = { 38-42 },
numpages = {9},
url = { },
doi = { 10.5120/ijais2022451930 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
%0 Journal Article
%1 2023-07-05T19:11:06.217541+05:30
%A Sulaiman Olaniyi Abdulsalam
%T A Diabetic Prediction Model using Firefly Algorithm with K-Nearest Neighbor Classifier
%J International Journal of Applied Information Systems
%@ 2249-0868
%V 12
%N 39
%P 38-42
%D 2022
%I Foundation of Computer Science (FCS), NY, USA

Diabetes is one of the illnesses that lasts for a long time, it has led to a lot of mortality yearly. If it is not treated, it can affect how well other human organs functions. So, early detection is an important part of living a healthy life. According to the World Health Organization, about 104 million people had diabetes in 1980. By 2014, that number had risen to 422 million, and it is expected to double by 2030. Machine learning is an area of Artificial Intelligence that focuses on making tools that can learn, or automatically pull out the knowledge hidden in data. Along with statistics, it is the most important part of a smart analysis of data. Both machine learning and data mining are based on the same idea: the machine learns from examples and then uses that model to solve the problem. The results of the finding obtained an accuracy of 91% compared to existing related works. Hence, this paper suggests a firefly-based attribute selection algorithm with K-nearest neighbor (KNN) classifier for the PIMA Indian diabetic database from University of California, Irvine (UCI).

  1. G. D. Kalyankar, S. R. Poojara, and N. V. Dharwadkar, “Predictive analysis of diabetic patient data using machine learning and Hadoop,” Proc. Int. Conf. IoT Soc. Mobile, Anal. Cloud, I-SMAC 2017, pp. 619–624, 2017, doi: 10.1109/I-SMAC.2017.8058253.
  2. Y. Jian, M. Pasquier, A. Sagahyroon, and F. Aloul, “A Machine Learning Approach to Predicting Diabetes Complications,” Healthcare, vol. 9, no. 12, p. 1712, Dec. 2021, doi: 10.3390/healthcare9121712.
  3. M. K. Hasan, M. A. Alam, D. Das, E. Hossain, and M. Hasan, “Diabetes prediction using ensembling of different machine learning classifiers,” IEEE Access, vol. 8, pp. 76516–76531, 2020, doi: 10.1109/ACCESS.2020.2989857.
  4. K. Kantawong, S. Tongphet, P. Bhrommalee, N. Rachata, and S. Pravesjit, “The Methodology for Diabetes Complications Prediction Model,” 2020 Jt. Int. Conf. Digit. Arts, Media Technol. with ECTI North. Sect. Conf. Electr. Electron. Comput. Telecommun. Eng. ECTI DAMT NCON 2020, pp. 110–113, 2020, doi: 10.1109/ECTIDAMTNCON48261.2020.9090700.
  5. S. M. D. A. C. Jayatilake and G. U. Ganegoda, “Involvement of Machine Learning Tools in Healthcare Decision Making,” J. Healthc. Eng., vol. 2021, pp. 1–20, Jan. 2021, doi: 10.1155/2021/6679512.
  6. C. Toh and J. P. Brody, “Applications of Machine Learning in Healthcare,” in Smart Manufacturing - When Artificial Intelligence Meets the Internet of Things, IntechOpen, 2021.
  7. R. Saxena and S. Kumar Sharma Manali Gupta, “Role of K-nearest neighbour in detection of Diabetes Mellitus,” Turkish J. Comput. Math. Educ., vol. 12, no. 10, pp. 373–376, 2021.
  8. R. Haritha, D. S. Babu, and P. Sammulal, “A hybrid approach for prediction of type-1 and type-2 diabetes using firefly and cuckoo search algorithms,” Int. J. Appl. Eng. Res., vol. 13, no. 2, pp. 896–907, 2018.
  9. A. Mujumdar and V. Vaidehi, “Diabetes Prediction using Machine Learning Algorithms,” ProcediaComput. Sci., vol. 165, pp. 292–299, 2019, doi: 10.1016/j.procs.2020.01.047.
  10. N. P. Tigga and S. Garg, “Prediction of Type 2 Diabetes using Machine Learning Classification Methods,” ProcediaComput. Sci., vol. 167, pp. 706–716, 2020, doi: 10.1016/j.procs.2020.03.336.
  11. H. Lai, H. Huang, K. Keshavjee, A. Guergachi, and X. Gao, “Predictive models for diabetes mellitus using machine learning techniques,” BMC Endocr. Disord., vol. 19, no. 1, p. 101, Dec. 2019, doi: 10.1186/s12902-019-0436-6.
  12. Q. Zou, K. Qu, Y. Luo, D. Yin, Y. Ju, and H. Tang, “Predicting Diabetes Mellitus With Machine Learning Techniques,” Front. Genet., vol. 9, Nov. 2018, doi: 10.3389/fgene.2018.00515.
  13. B. Senthil Kumar and R. Gunavathi, “An enhanced model for diabetes prediction using improved firefly feature selection and hybrid random forest algorithm,” Int. J. Eng. Adv. Technol., vol. 9, no. 1, pp. 3765–3769, 2019, doi: 10.35940/ijeat.A9818.109119.
  14. N. Ahmed et al., “Machine learning based diabetes prediction and development of smart web application,” Int. J. Cogn. Comput. Eng., vol. 2, pp. 229–241, Jun. 2021, doi: 10.1016/j.ijcce.2021.12.001.
  15. Arowolo, M. O., Adebiyi, M. O., Adebiyi, A. A., &Olugbara, O. (2021). Optimized hybrid investigative based dimensionality reduction methods for malaria vector using KNN classifier. Journal of Big Data, 8(1).
Index Terms

Computer Science
Information Sciences


Diabetes; Firefly; K-Nearest Neighbor; Classification; Prediction