Classification of Anaemia Status Using The K-Nearest Neighbor Algorithm
DOI:
https://doi.org/10.70609/gtech.v9i1.6377Keywords:
Anaemia, Classification, Data Mining, K-nearest neighborAbstract
Early detection and accurate diagnosis of anemia are crucial for public health management, with conventional methods like complete blood count often being costly and unavailable in remote areas. The use of machine learning techniques, specifically the k-nearest neighbor (KNN) algorithm, shows promise in classifying medical conditions including anemia with competitive accuracy compared to traditional methods. The implementation of KNN not only offers accuracy but also time and cost efficiency, providing reliable results quickly for medical professionals in the field. The algorithm's application involves determining the appropriate k-value for optimal accuracy, calculating distances using Euclidean distance, and voting for class prediction based on nearest neighbors. The analysis showcases the model's efficiency in predicting anemia status with an accuracy of 94.72% and promising precision and recall rates.
References
Alexandropoulos, S. A. N., Kotsiantis, S. B., & Vrahatis, M. N. (2019). Data preprocessing in predictive data mining. Knowledge Engineering Review, 34, 1–33. https://doi.org/10.1017/S026988891800036X
Anggraini, P., Kurniawan, T. M., & Lestarini, I. A. (2023). Diagnosis and Management of Anemia in The Elderly. Jurnal Biologi Tropis, 23(4), 150–153. https://doi.org/10.29303/jbt.v23i4.5530
Appiahene, P., Dogbe, S. S. D., Kobina, E. E. Y., Dartey, P. S., Afrifa, S., Donkoh, E. T., & Asare, J. W. (2023). Application of ensemble models approach in anemia detection using images of the palpable palm. Medicine in Novel Technology and Devices, 20, 1–11. https://doi.org/10.1016/j.medntd.2023.100269
Asare, J. W., Appiahene, P., Arthur, E. J., Korankye, S., Afrifa, S., & Donkoh, E. T. (2023). Detection of anemia using conjunctiva images: A smartphone application approach. Medicine in Novel Technology and Devices, 18, 1–12. https://doi.org/10.1016/j.medntd.2023.100237
Asare, J. W., Appiahene, P., Donkoh, E. T., & Dimauro, G. (2023). Iron deficiency anemia detection using machine learning models: A comparative study of fingernails, palm and conjunctiva of the eye images. Engineering Reports, 5(11), 1–21. https://doi.org/10.1002/eng2.12667
Balarajan, Y., Ramakrishnan, U., Özaltin, E., Shankar, A. H., & Subramanian, S. V. (2011). Anaemia in low-income and middle-income countries. The Lancet, 378(9809), 2123–2135. https://doi.org/10.1016/S0140-6736(10)62304-5
Bharadwaj, Prakash, K. B., & Kanagachidambaresan, G. R. (2021). Pattern Recognition and Machine Learning. In EAI/Springer Innovations in Communication and Computing (pp. 105–144). https://doi.org/10.1007/978-3-030-57077-4_11
DeZern, A. E., & Churpek, J. E. (2021). Approach to the diagnosis of aplastic anemia. Blood Advances, 5(12), 2660–2671. https://doi.org/10.1182/bloodadvances.2021004345
Dhakal, P., Khanal, S., & Bista, R. (2023). Prediction of Anemia using Machine Learning Algorithms. International Journal of Computer Science and Information Technology, 15(1), 15–30. https://doi.org/10.5121/ijcsit.2023.15102
Dimauro, G., Griseta, M. E., Camporeale, M. G., Clemente, F., Guarini, A., & Maglietta, R. (2023). An intelligent non-invasive system for automated diagnosis of anemia exploiting a novel dataset. Artificial Intelligence in Medicine, 136, 1–11. https://doi.org/10.1016/j.artmed.2022.102477
Hastie, T., Tibshirani, R., & Friedman, J. (2001). The Elements of Statistical Learning : Data Mining, Inference, and Prediction. In The Mathematical Intelligencer (Issue 2). Springer.
Hevessy, Z., Toth, G., Antal-Szalmas, P., Tokes-Fuzesi, M., Kappelmayer, J., Karai, B., & Ajzner, E. (2024). Algorithm of differential diagnosis of anemia involving laboratory medicine specialists to advance diagnostic excellence. Clinical Chemistry and Laboratory Medicine, 62(3). https://doi.org/10.1515/cclm-2023-0807
Ilyas, I. F., & Rekatsinas, T. (2022). Machine Learning and Data Cleaning: Which Serves the Other? Journal of Data and Information Quality, 14(3). https://doi.org/10.1145/3506712
Jansen, V. (2019). Diagnosis of anemia—A synoptic overview and practical approach. Transfusion and Apheresis Science, 58(4), 375–385. https://doi.org/10.1016/j.transci.2019.06.012
Jerome Friedman, by, Hastie, T., Tibshirani John Weatherwax, R. L., & Epstein, D. (2013). A Solution Manual and Notes for: The Elements of Statistical Learning. Jerome Friedman, by, Hastie, T., Tibshirani John Weatherwax, R. L., & Epstein, D. (2013). A Solution Manual and Notes for: The Elements of Statistical Learning. Http://Doi.Org/10.1007/B94608.
Little, R. J. A., & Rubin, D. B. (2019). Statistical analysis with missing data. In Statistical Analysis with Missing Data (3rd ed.). Wiley. https://doi.org/10.1002/9781119482260
Musa, O., Malik, A., Buna, I., Lasena, M., Rizal Isnanto, R., & Suryono, S. (2018). Application Of K-Nearest Neighbor (K-NN) Algorithm On Lung Disease Diagnosis Expert System. International Journal of Scientific & Engineering Research, 9(12), 479–483. http://www.ijser.org
Noor, N. Bin, Anwar, M. S., & Dey, M. (2019). Comparative Study between Decision Tree, SVM and KNN to Predict Anaemic Condition. IEEE International Conference on Biomedical Engineering, Computer and Information Technology for Health, 24–28. https://doi.org/10.1109/BECITHCON48839.2019.9063188
Ramzan, M., Sheng, J., Saeed, M. U., Wang, B., & Duraihem, F. Z. (2024). Revolutionizing anemia detection: integrative machine learning models and advanced attention mechanisms. Visual Computing for Industry, Biomedicine, and Art, 7(1), 18. https://doi.org/10.1186/s42492-024-00169-4
Rao, B. (2023). Anemia Dataset. Kaggle. https://www.kaggle.com/datasets/biswaranjanrao/anemia-dataset
Sherin, K., Victoria, A. P. A., Harini, S., & Jensen, J. C. (2024). Automated Diagnosis of Anemia Signs using Machine Learning. 2024 11th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), 1–6. https://doi.org/10.1109/ICRITO61523.2024.10522270
Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing and Management, 45(4). https://doi.org/10.1016/j.ipm.2009.03.002
Sun, J., Du, W., & Shi, N. (2018). A Survey of kNN Algorithm. Information Engineering and Applied Computing, 1–10.
Válka, J., & Čermák, J. (2018). Differential diagnosis of anemia. Vnitrni Lekarstvi, 64(5). https://doi.org/10.36290/VNL.2018.067
World Health Organization. (2021, September 30). The global prevalence of anaemia in 2011. https://www.who.int/publications/i/item/9789241564960
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Zulfa Faradila, Ahmad Homaidi, Jarot Dwi Prasetyo

This work is licensed under a Creative Commons Attribution 4.0 International License.









