Claim Missing Document
Check
Articles

Found 1 Documents
Search

Design of Python-Based Expert System for Healthy Diet Recommendations Using Forward Chaining Sevyna Wenata; Juliano Handal; Monika Monika; Kurniawan Hamidi; Harira Prada
Greeners: Journal of Green Engineering for Sustainability Vol 4 No 1 (2026): Journal of Green Engineering for Sustainability
Publisher : Lembaga Penelitian dan Pengabdian Masyarakat Universitas Universal

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.63643/jges.v4i1.406

Abstract

A healthy diet is an important factor in maintaining overall health. However, many people still have difficulties determining their weight status, daily calorie requirements, and appropriate dietary patterns based on their individual conditions. In addition, the variety of diet information available on the internet may make it difficult for users to select appropriate recommendations. This study aims to design an expert system that calculates Body Mass Indes (BMI), determines calorie requirements, and provides dietary recommendations and health advice based on user conditions. The inference method used is Forward Chaining, supported by a knowledge base consisting of user facts and IF-THEN rules based on nutritional expertise. Specifically, the IF-THEN rules map user inputs (such as age, height, weight, target weight, and meal frequency) to evaluate BMI classification thresholds (e.g., if 25 ≤ BMI ≤ 30, the system triggers an Overweight status and assigns an 1800 kcal target) along with supplementary goal-adjustment rules. The validation of these rules and the system's mathematical accuracy were verified through clinical test scenarios. The results show that the system can automatically calculate BMI, determine BMI status, provide calorie requirement information, and generate meal recommendations and health advice based on predefined rules. However, the system's scope is strictly limited to general BMI-based nutritional estimation and does not account for biological sex, physical activity levels, or pre-existing medical conditions; therefore, its automated outputs serve solely as a practical supporting tool and do not replace professional medical or nutritional consultation.