Jurnal Ilmu Komputer dan Teknologi (IKOMTI)
Vol 7 No 2 (2026): Jurnal Ilmu Komputer dan Teknologi

Prediksi Tingkat Obesitas Menggunakan Logistic Regression Dan Xgboost Berbasis Faktor Gaya Hidup Dan Antropometri

Indah Theresia Sibuea (Universitas Prima Indonesia)
Delima Sitanggang (Program Studi Sistem Informasi, Sains dan Teknologi, Universitas Prima Indonesia)
Jamaluddin Hutajulu (Program Studi Sistem Informasi, Sains dan Teknologi, Universitas Prima Indonesia)



Article Info

Publish Date
28 Jun 2026

Abstract

Obesity is a growing health problem that can be influenced by various factors, such as diet, physical activity, and anthropometric conditions. This study aimed to predict obesity levels based on lifestyle and anthropometric factors using machine learning methods, namely Logistic Regression and XGBoost. The dataset used was obtained from the Kaggle platform, with a total of 2,111 data points and 17 attributes. The research process began with data preprocessing (label encoding and standard scaler), train-test data split (80:20), and validation using 5-Fold Stratified Cross-Validation. The results showed that the Logistic Regression model achieved 87.47% accuracy, while the XGBoost model achieved 95.98% accuracy in the train-test split and 94.35% ± 1.67% in the 5-Fold Cross-Validation. Feature importance analysis showed that Weight, Height, family_history_with_overweight, FAVC, and FAF were the most dominant predictors. Based on this comparison, the XGBoost model showed better performance and is recommended for predicting obesity levels.

Copyrights © 2026






Journal Info

Abbrev

IKOMTI

Publisher

Subject

Computer Science & IT

Description

Jurnal Ilmu Komputer dan Teknologi (IKOMTI) focuses on Computer Science, Information Systems, Information Technology and its implementation. IKOMTI is peer review, electronic, and open access journal. IKOMTI is seeking an original and high-quality manuscript. Areas of interest in Computer Science, ...