Sinkron : Jurnal dan Penelitian Teknik Informatika
Vol. 9 No. 1 (2025): Research Article, January 2025

Comparison of K-Nearest Neighbor, Naive Bayes, Random Forest Algorithms for Obesity Prediction

Andani, Mia (Unknown)
Triloka, Joko (Unknown)
Irianto, Suhendro Yusuf (Unknown)
Nugroho, Handoyo Widi (Unknown)



Article Info

Publish Date
11 Feb 2025

Abstract

Obesity is a global health problem that continues to increase and has serious impacts on physical and mental health. This research aims to predict a person's obesity status based on certain attributes using the K-Nearest Neighbor (KNN), Naive Bayes, and Random Forest algorithms. The dataset used was taken from the Kaggle platform with 2,111 data and 16 attributes, including gender, age, weight, height, frequency of consumption of high-calorie foods, physical activity, and water and vegetable consumption patterns. The research process follows the data mining stages, including business understanding, data understanding, data preparation, modeling, evaluation, and documentation. Experiments were carried out using RapidMiner with a cross-validation technique using 10 folds to measure overall model performance. The research results show that the Random Forest algorithm performs best in predicting obesity status compared to K-NN and Naive Bayes. Model evaluation using accuracy, precision, recall, and F1-score metrics shows significant results in distinguishing obesity categories. It is hoped that this research can contribute to the development of a machine learning-based health prediction system that can be used to support decision-making in the prevention and management of obesity.

Copyrights © 2025






Journal Info

Abbrev

sinkron

Publisher

Subject

Computer Science & IT

Description

Scope of SinkrOns Scientific Discussion 1. Machine Learning 2. Cryptography 3. Steganography 4. Digital Image Processing 5. Networking 6. Security 7. Algorithm and Programming 8. Computer Vision 9. Troubleshooting 10. Internet and E-Commerce 11. Artificial Intelligence 12. Data Mining 13. Artificial ...