skip to main content

Detection of Nutritional Status using K-Nearest Neighbors on a Mobile Based Platform

*Alifia Puspaningrum  -  Department of Informatics Engineering, Politeknik Negeri Indramayu, Jl. Raya Lohbener Lama No. 8, Indramayu, Indonesia, 45252, Indonesia
Yaqutina Marjani Santosa  -  Department of Informatics Engineering, Politeknik Negeri Indramayu, Jl. Raya Lohbener Lama No. 8, Indramayu, Indonesia, 45252, Indonesia
Nur Budi Nugraha  -  Department of Informatics Engineering, Politeknik Negeri Indramayu, Jl. Raya Lohbener Lama No. 8, Indramayu, Indonesia, 45252, Indonesia
Open Access Copyright (c) 2025 Jurnal Sistem Informasi Bisnis

Citation Format:
Abstract

In recent decades, health issues related to nutritional status have become a major concern for the Indonesian government. Malnutrition or overnutrition can severely impact individual health, especially in children and adolescents. If left unaddressed, these issues can lead to various diseases, ranging from malnutrition to obesity and their associated complications. Despite the recognized importance of monitoring nutritional status, several challenges remain. Manual monitoring systems require significant time and resources. Moreover, access to healthcare services and qualified medical personnel for regular nutritional assessments is limited, particularly in remote or underserved areas. Indonesia’s geographical complexity, consisting of thousands of islands, further complicates the equitable distribution of healthcare services. As a result, many cases of malnutrition or overnutrition go undetected early, causing delayed interventions. This research proposes the development of a K-NN-based mobile application to detect nutritional status. The application provides an initial diagnosis based on the user's physical parameters, such as weight, height, age, and gender. The dataset includes 120,999 samples, with 70% used for training and 30% for testing. Implementation of K-NN with k=7 achieved an accuracy of 91% on the test data, with the best performance in the normal category (F1-score 0.950), followed by stunted (0.889) and severely stunted (0.863). This platform has the potential to contribute to sustainable health systems, particularly in low-resource settings, by reducing reliance on energy-intensive infrastructure and minimizing the need for long-distance travel for healthcare. It could also support public health initiatives by enabling efficient large-scale population monitoring and reducing the environmental impact of traditional health services.

Fulltext View|Download
Keywords: Nutritional Status; Malnutrition And Overnutrition; K-Nearest Neighbors (K-NN); Mobile Application; Healthcare Access

Article Metrics:

  1. R. Rewane and P. M. Chouragade, “Food Nutritional Detection, Visualization and Recommendation for Health Monitoring using Image Processing,” 3rd International Conference on Trends in Electronics and Informatics (ICOEI), pp. 556–559, 2019. doi: 10.1109/ICOEI.2019.8862550
  2. G. C. Utami, C. R. Widiawati, and P. Subarkah, “Detection of Indonesian Food to Estimate Nutritional Information Using YOLOv5,” Teknika, vol. 12, no. 2, pp. 158–165, Jun. 2023, doi: 10.34148/teknika.v12i2.636
  3. M. Mansouri, S. Benabdellah Chaouni, S. Jai Andaloussi, and O. Ouchetto, “Deep Learning for Food Image Recognition and Nutrition Analysis Towards Chronic Diseases Monitoring: A Systematic Review,” Sep. 01, 2023, Springer. doi: 10.1007/s42979-023-01972-1
  4. Mutammimul Ula, Ananda Faridhatul Ulva, Mauliza, Muhammad Abdullah Ali, and Yumna Rilasmi Said, “Application Of Machine Learning In Predicting Children’s Nutritional Status With Multiple Linear Regression Models,” Multica Science And Technology (MST) Journal, vol. 2, no. 2, pp. 124–130, Oct. 2022, doi: 10.47002/mst.v2i2.363
  5. M. Yanto, F. Hadi, and S. Arlis, “Determination of children’s nutritional status with machine learning classification analysis approach,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 33, no. 1, pp. 303–313, Jan. 2024, doi: 10.11591/ijeecs.v33.i1.pp303-313
  6. Y. Yuliana, P. Paradise, and M. Qulub, “Detection Of Children’s Nutritional Status Using Machine Learning With Logistic Regression Algorithm,” JURTEKSI (Jurnal Teknologi dan Sistem Informasi), vol. 10, no. 2, pp. 267–274, Mar. 2024, doi: 10.33330/jurteksi.v10i2.2973
  7. A. A. Permana, A. T. Perdana, N. Handayani, and R. Destriana, “A Stunting Prevention Application ‘nutrimo’ (Nutrition Monitoring),” in Journal of Physics: Conference Series, IOP Publishing Ltd, Mar. 2021. doi: 10.1088/1742-6596/1844/1/012023
  8. S. Lonang, A. Yudhana, and M. K. Biddinika, “Performance Analysis for Classification of Malnourished Toddlers Using K-Nearest Neighbor,” Scientific Journal of Informatics, vol. 10, no. 3, p. 313, 2023, doi: 10.15294/sji.v10i3.45196
  9. Mutammimul Ula, Ananda Faridhatul Ulva, Ilham Saputra, Mauliza Mauliza, and Ivan Maulana, “Implementation Of Machine Learning Using The K-Nearest Neighbor Classification Model In Diagnosing Malnutrition In Children,” Multica Science And Technology (MST) Journal, vol. 2, no. 1, pp. 94–99, Apr. 2022, doi: 10.47002/mst.v2i1.326
  10. L. Fauziah and H. Sibyan, “Classification Of Nutritional Status Using K-Nearest Neighbor (KNN) Method,” Clean Energy and Smart Technology, vol. 01, no. 02, 2023, doi: 10.58641/cest.v1i2.38
  11. L. Wang, “Research and Implementation of Machine Learning Classifier Based on KNN,” in IOP Conference Series: Materials Science and Engineering, IOP Publishing Ltd, Dec. 2019. doi: 10.1088/1757-899X/677/5/052038
  12. O. Nurdiawan, D. A. Kurnia, D. Solihudin, T. Hartati, and T. Suprapti, “Comparison of the K-Nearest Neighbor algorithm and the decision tree on moisture classification,” IOP Conf Ser Mater Sci Eng, vol. 1088, no. 1, p. 012031, Feb. 2021, doi: 10.1088/1757-899x/1088/1/012031
  13. M. Ula, S. Fachrurrazi, and R. Achmad Rizal, “Implementation Of Data Mining Models With Algorithms K-Nearest Neighbor In Monitoring The Nutritional Status Of Children And Stunting,” Journal of Information Systems and Computer Science Prima), vol. 6, no. 2, 2023. doi: doi.org/10.34012/jurnalsisteminformasidanilmukomputer.v6i2.3376
  14. D. A. A. A. S. Astini, “Nutritional status of children in Bali-Indonesia,” in IOP Conference Series: Materials Science and Engineering, Institute of Physics Publishing, Dec. 2018. doi: 10.1088/1757-899X/434/1/012153
  15. S. Shalini, J. Muruganandham, and R. Jayasri, “Nutrition deficiency detection in leaves using k-means clustering algorithm,” in Journal of Physics: Conference Series, IOP Publishing Ltd, Jan. 2021. doi: 10.1088/1742-6596/1717/1/012003
  16. Z. Lubis, P. Sihombing, and H. Mawengkang, “Optimization of K Value at the K-NN algorithm in clustering using the expectation maximization algorithm,” in IOP Conference Series: Materials Science and Engineering, Institute of Physics Publishing, Jan. 2020. doi: 10.1088/1757-899X/725/1/012133
  17. D. R. Prehanto, A. D. Indriyanti, I. K. D. Nuryana, and G. S. Permadi, “Classification based on K-Nearest Neighbor and Logistic Regression method of coffee using Electronic Nose,” IOP Conf Ser Mater Sci Eng, vol. 1098, no. 3, p. 032080, Mar. 2021, doi: 10.1088/1757-899x/1098/3/032080
  18. R. Andrian, M. A. Naufal, B. Hermanto, A. Junaidi, and F. R. Lumbanraja, “K-Nearest Neighbor (k-NN) Classification for Recognition of the Batik Lampung Motifs,” in Journal of Physics: Conference Series, Institute of Physics Publishing, Oct. 2019. doi: 10.1088/1742-6596/1338/1/012061
  19. J. Galupino and J. Dungca, “Development of a k-Nearest Neighbor (kNN) Machine Learning Model to Estimate the SPT N-Values of Valenzuela City, Philippines,” in IOP Conference Series: Earth and Environmental Science, Institute of Physics, 2022. doi: 10.1088/1755-1315/1091/1/012021
  20. D. Ispriyanti, A. Prahutama, and Mustafid, “K-nearest neighbor (KNN) with global GINI diversity index for classification subsidy food in Semarang city, Indonesia,” in Journal of Physics: Conference Series, Institute of Physics Publishing, Jun. 2020. doi: 10.1088/1742-6596/1524/1/012034
  21. I. B. Suban, A. Paramartha, M. Fortwonatus, and A. J. Santoso, “Identification the Maturity Level of Carica Papaya Using the K-Nearest Neighbor,” in Journal of Physics: Conference Series, Institute of Physics Publishing, Jul. 2020. doi: 10.1088/1742-6596/1577/1/012028

Last update:

No citation recorded.

Last update: 2025-06-14 03:49:41

No citation recorded.