Indonesian Journal of Applied Technology and Innovation Science
Vol. 2 No. 1 (2025): IJATIS February 2025

Obesity Prediction Using Machine Learning Algorithms

Hanifatus Syahidah (Universitas Islam Negeri Sultan Syarif Kasim Riau, Indonesia)
Novila Irsandi (Universitas Islam Negeri Sultan Syarif Kasim Riau, Indonesia)
Adila Nur Ajizah (Dicle University, Turkey)
Amelia Amelia (Dicle University, Turkey)



Article Info

Publish Date
03 Mar 2025

Abstract

This study aims to develop a prediction model for obesity levels by utilizing five machine learning algorithms, namely K-Nearest Neighbors (K-NN), Naïve Bayes Classifier (NBC), Decision Tree, Random Forest, and Support Vector Machine (SVM). The data used in this study were obtained from Kaggle, consisting of 2111 data with 17 attributes covering lifestyle and demographic factors. The research process involved data collection, pre-processing, data division using the Holdout Split method (70% training data and 30% testing data), and the application of machine learning algorithms. Performance evaluation used accuracy, precision, recall, and F1 score metrics. The results showed that the Random Forest algorithm had the best performance with an accuracy of 92.29%, followed by Decision Tree at 90.54%, K-NN at 83.44%, and NBC and SVM which reached 59.15% and 59.08%, respectively. Confusion matrix analysis revealed that NBC and SVM had difficulty distinguishing certain obesity classes. Based on these findings, it can be concluded that Random Forest is the most effective algorithm in predicting obesity levels. The results of this study are expected to contribute to developing a more accurate obesity prediction system that can be implemented in the real world.

Copyrights © 2025






Journal Info

Abbrev

ijatis

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

IJATIS: Indonesian Journal of Applied Technology and Innovation Science is a scientific journal published by the Institute of Research and Publication Indonesian (IRPI). The main focus of the IJATIS Journal is Engineering, Applied Technology, Informatics Engineering, and Computer Science. IJATIS is ...