Sistem Pakar Prediksi Obesitas Menggunakan Metode Forward Chaining
DOI:
https://doi.org/10.47065/jieee.v5i4.2839Keywords:
Obesity Prediction; Expert System; Forward Chaining; Rule-Based Reasoning; Lifestyle and Dietary FactorsAbstract
Obesity is a growing health problem that increases the risk of various chronic diseases such as diabetes, hypertension, and heart disease. Obesity status is typically determined using the Body Mass Index (BMI); however, this approach is considered inadequate for comprehensively assessing a person’s condition because it does not account for lifestyle factors and daily behaviors. This study aims to develop a rule-based expert system using Python and the Forward Chaining method to predict 7 body weight categories. The system employs a hybrid approach through balanced weighting, specifically 50% quantitative medical assessment (BMI) and 50% qualitative behavioral assessment (rule scores) based on 11 relevant attributes from the UCI dataset, such as dietary patterns, physical activity, and genetics. Performance testing results using a Confusion Matrix on 150 test data points demonstrate the system’s very high reliability, with an accuracy of 98.00% (147 correct predictions). There were 3 prediction errors, specifically between Overweight Level 2 and Level 1, due to the influence of active physical activity. This deterministic expert system has proven to be effective, stable, and applicable as a tool for education and self-directed early detection of obesity risk for the public.
Downloads
References
S. K. Saraswati et al., “Literature Review?: Faktor Risiko Penyebab Obesitas,” J. media Kesehat. Masy. Indones., vol. 20, no. 2, pp. 70–74, 2021.
S. Salsabila Aini Rahmah, Apriade Voutama, “Sistem Pakar Diagnosis Obesitas Pada Orang Dewasa Menggunakan Metode Backward Chaining Obesity,” J. Inf. Tecnol. Comput. Sci., vol. 4, no. 2, pp. 169–177, 2021.
R. An, J. Shen, and Y. Xiao, “Applications of Artificial Intelligence to Obesity Research?: Scoping Review of Methodologies Corresponding Author?:,” J. Med. INTERNET Res., vol. 24, no. 12, 2022, doi: 10.2196/40589.
K. Sweatt, W. T. Garvey, and C. Martins, “Strengths and Limitations of BMI in the Diagnosis of Obesity?: What is the Path Forward??,” springer, 2024.
A. Prastomo, Y. I. Syuhardi, and S. Mardiyati, “Perbandingan Metode Forward Chaining , Certainty Factor , dan Fuzzy pada Sistem Pakar,” J. Artif. Intell. Digit. Bus., vol. 5, no. 1, pp. 1161–1167, 2026.
S. Salsabila Aini Rahmah, Apriade Voutama, “Sistem Pakar Penentuan Jumlah Kalori Programdiet Berbasis Web Menggunakanmetode Forward Chaining,” J. Bus. Intell., vol. 7, no. 1, pp. 48–55, 2024.
M. Alfareza, H. Rohayani, K. Kurniawansyah, and N. Marthiawati, “Rancang Bangun Sistem Pakar Untuk Mendiagnosa Kerusakan Hardware Komputer dengan Metode Forward Chaining,” J. Informatics Manag. Inf. Technol., vol. 3, no. 3, pp. 97–102, 2023, doi: 10.47065/jimat.v3i3.248.
H. S. Mia Fitriyani, Hetty Rohayani, “Sistem Pakar Mendiagnosa Kerusakan Smartphone Android Menggunakan Metode Certainty Factor,” J. rekayasa Sist. Inf. dan Teknol., vol. 3, no. 1, pp. 68–76, 2025.
K. K. Safira Agustina, Hetty Rohayani, Noneng Marthiawati, “Sistem Pakar untuk Kerusakan Handphone dengan Metode Forward Chaining,” JRKT (Jurnal Rekayasa Komputasi Ter., vol. 3, no. 04, pp. 186–192, 2023, doi: 10.30998/jrkt.v3i04.9956.
A. Monda et al., “Ultra-Processed Food Intake and Increased Risk of Obesity?: A Narrative Review Narrative Review,” J. MDPI, vol. 13, no. 2, pp. 2–16, 2024.
O. Januszko, A. Bia?ecka-d?bek, O. Januszko, and A. Bia?ecka-d, “Water Intake , Dietary Acid Load , and Body Composition in Aging Females Aging Females,” J. MDPI, vol. 17, no. 3, pp. 0–15, 2025.
P. Kent, “Edinburgh Research Explorer Ultra-processed foods and human health an umbrella review and updated meta-analyses of observational evidence,” Clin. Nutr., vol. 43, no. 6, pp. 1386–1394, 2024, doi: 10.1016/j.clnu.2024.04.016.
X. Wei, D. Yu, L. Ju, Q. Guo, H. Fang, and L. Zhao, “Analysis of the Correlation between Meal Frequency and Obesity among Chinese Adults Aged 18 – 59 Years in 2015,” J. MDPI, vol. 14, no. 3, pp. 1–13, 2022.
Y. S. Eo and M. S. Kim, “Risk Factors for Overweight and Obesity in Later School-Aged Children: Focus on Lifestyle Behaviours and Psychosocial Characteristics,” J. MDPI, vol. 12, no. 9, pp. 2–13, 2024, doi: 10.3390/healthcare12090912.
X. Guo et al., “Lifestyle behaviors and stress are risk factors for overweight and obesity in healthcare workers: a cross-sectional survey,” BMC Public Health, vol. 23, no. 1, pp. 1–13, 2023, doi: 10.1186/s12889-023-16673-w.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Sistem Pakar Prediksi Obesitas Menggunakan Metode Forward Chaining
ARTICLE HISTORY
Issue
Section
Copyright (c) 2026 Sherina Intania, Hetty Rohayani

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).


