Precision Nutritional Recommendations Using Hybrid KNN and Metabolic Indicators at Mustikajaya Health Center
Abstract
The persistent double burden of malnutrition in Indonesia necessitates enhanced efficiency and accuracy in nutritional care management, which is currently hindered by manual, time-consuming, and error-prone conventional dietary calculations in primary healthcare facilities. To address this challenge, this study aims to design, develop, and evaluate an intelligent precision nutritional platform leveraging a hybrid K-Nearest Neighbors (KNN) algorithm and personalized metabolic indicators to automate clinical dietary interventions at the UPTD Mustikajaya Public Health Center. Following the structured Waterfall software development model, the system incorporates the Harris-Benedict formulation to transform patient anthropometric data and physical activity factors into individualized daily macronutrient query vectors. The hybrid KNN computation applies Min-Max scaling to the Indonesian Food Composition Table (TKPI) dataset, combining Euclidean Distance for portion proximity and Cosine Similarity for nutrient ratio alignment to generate an integrated compatibility score, while empirically excluding total calories to eliminate multicollinearity bias. Comprehensive Blackbox Testing validated that all system functionalities operate securely with a 100% success rate, alongside consistently stable Mean Absolute Error (MAE) performance in nutritional matching. Practically, this platform empowers healthcare practitioners with a robust decision-support tool that accelerates consultations and strengthens community-based preventive strategies. In conclusion, the system performs as expected in supporting primary healthcare digital transformation, though further research is needed to incorporate longitudinal patient adherence tracking and broader multi-center clinical validation.
References
A. Level et al., “JGK-Vol.15, No.1 Januari 2023,” Jurnall Gizi dan Kesehatan, Univ Ngudi Waluyo, vol. 15, no. 1, pp. 45–54, 2023, doi: https://doi.org/10.35473/jgk.v15i1.358.
N. Januari et al., “JGK-Vol.16, No.1 Januari 2024,” J. Gizi dan Kesehat., vol. 16, no. 1, pp. 36–44, 2024, doi: https://doi.org/10.35473/jgk.v16i1.471.
P. Arya, I. Prameswari, and R. Zuraida, “The Relationship Between Dietary Intake With Type 2 Diabetes Mellitus : A Literature Review,” Modula, vol. 13, no. April, pp. 35–41, 2023, doi: https://doi.org/10.53089/medula.v13i1.595.
M. Fathurohman et al., “STUNTING DENGAN PRODUK MODIFIKASI PANGAN,” JMM, vol. 7, no. 4, pp. 3468–3475, 2023, doi: : https://doi.org/10.31764/jmm.v7i4.15979.
Fafa Nudiansyah dkk, Pencanaan Pangan Dan Gisi. Sada Kurnia Pustaka, 2026. [Online]. Available: https://eprints.stikesrshusada.ac.id/id/eprint/4109/1/EBOOK_PERENCANAAN PANGAN DAN GIZI Tahun 2026.pdf#page=68
BGN-RI, “Peraturan Badan Gizi Naional Ri No 5 / 2025,” 2025. [Online]. Available: https://peraturan.go.id/files/perbagi-no-5-tahun-2025.pdf
F. A. Putri, R. Sianturi, and E. H. Mulyana, “Pengukuran Status Gizi pada Anak Usia Dini dengan Metode Antropometri,” vol. 8, pp. 463–471, 2025, doi: https://doi.org/10.31537/jecie.v8i2.1842.
S. S. Ismatul Izah, Leersia Yusi Ratnawati, “Keberhasilan Implementasi Kebijakan Pelayanan Gizi di Rumah Sakit,” Forikes, vol. 16, no. September, pp. 651–660, 2025, doi: http://dx.doi.org/10.33846/sf16300h.
D. A. Permatasari, “ANALISA KEBIJAKAN SISTEM INFORMASI KESEHATAN DI INDONESIA : LITERATURE REVIEW,” vol. 6, no. September, pp. 13937–13941, 2025, doi: https://doi.org/10.31004/jkt.v6i4.50300.
D. Wijayanti et al., “PENERAPAN ALGORITMA K-NEAREST NEIGHBOR UNTUK DETEKSI DINI,” J. Sist. dan Teknol. Infomrasi, vol. 10, no. 2, pp. 110–117, 2024, doi: https://doi.org/10.31961/positif.v10i2.2255.
D. Violeta and E. W. Pamungkas, “Perancangan sistem prediksi kesehatan dan edukasi gizi berbasis knn untuk meningkatkan kesadaran gizi masyarakat indonesia,” vol. 11, no. 3, pp. 2179–2190, 2026, doi: https://doi.org/10.29100/jipi.v11i3.10195.
V. Fresinsya and A. Qoiriah, “Meal-Planning Berbasis Status Gizi dengan Metode Klasifikasi K-nearest neighbors ( KNN ) untuk Pasien Obesitas,” vol. 06, pp. 258–264, 2024.
E. Y. Fatmasari, A. Sriatmi, P. A. Wigati, and C. Suryawati, “Penerapan Empat Pilar Gizi Seimbang Dalam Mencegah Masalah Gizi Pada Remaja di Lingkungan Sekolah,” vol. 3, no. 2, pp. 41–48, 2024, doi: https://doi.org/10.14710/jphcs.2024.23638.
T. M. Nafi and S. Mujiyono, “Aplikasi Rekomendasi Menu Makanan Harian Menggunakan Algoritma Metode KNN,” pp. 381–388, 2025, doi: 10.33364/algoritma/v.22-2.2491.
D. J. K. P. DAN and KOMUNITAS, “PETUNJUK TEKNIS PEMBERIAN MAKANAN TAMBAHAN BERBAHAN PANGAN LOKAL BAGI IBU HAMIL DAN BALITA BERMASALAH GIZI Title,” 2025. [Online]. Available: https://kesprimkom.kemkes.go.id/assets/uploads/contents/others/2025Kepdirjenkesprimkom576.pdf
R. E. E. Menggunakan and M. H. Benedict, “Artikel penelitian,” J. Anestesi Perioper., vol. 13, no. 80, pp. 40–48, 2025, doi: https://doi.org/10.15851/jap.v13n1.4260.
Copyright (c) 2027 M. Hadi Prayitno, Muhammad Khaerudin, Hendarman Lubis

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




