Open Access Research Article

Enhancing Obesity Diagnosis with Explainable AI: A Transparent and User-Friendly Approach

Authors

  • Bahareh Tale Department of Industrial Engineering and Management Systems, Amirkabir University of Technology, Tehran, Iran.
  • Abbas Ahmadi * Department of Industrial Engineering and Management Systems, Amirkabir University of Technology, Tehran, Iran.

https://doi.org/10.22105/ahse.v3i2.72

Abstract

Obesity is a major global health concern that increases the risk of chronic diseases such as diabetes, cardiovascular disease, and cancer while imposing substantial socioeconomic burdens. Traditional obesity diagnosis methods often suffer from limited accuracy and poor interpretability. This study proposes an interpretable machine learning framework for obesity diagnosis using the Kaggle obesity dataset, which includes features related to Body Mass Index (BMI), dietary habits, and lifestyle factors. Several machine learning algorithms, including Random Forest (RF), Gradient Boosting (GB), Support Vector Classifier (SVC), and Extreme Gradient Boosting (XGB), were evaluated, with XGB achieving the highest accuracy of 98%. To enhance transparency and trustworthiness, the Explainable Artificial Intelligence (XAI) techniques SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) were employed. SHAP provided global explanations by identifying BMI, dietary behaviors, and physical activity as the most influential predictors, whereas LIME generated local explanations for individual predictions. Furthermore, an interactive user interface developed using Python Tkinter enables users to input lifestyle data, obtain obesity predictions, and understand the contribution of different features to the model’s decision. The proposed framework combines high predictive performance with interpretability, making it a practical tool for personalized obesity assessment and management.

Keywords

Obesity Explainable artificial intelligence Machine learning models User-friendly interface
References (18)
  1. [1] Cervantes, R. C., & Palacio, U. M. (2020). Estimation of obesity levels based on computational intelligence. Informatics in Medicine Unlocked, 21, 100472. https://doi.org/10.1016/j.imu.2020.100472

  2. [2] Baseri, M. F. M., & Saad, A. F. (2023). Dietry monitoring system using decision tree to control human obesity. International Journal of Artificial Intelligence, 10(1), 9–20. https://doi.org/10.36079/lamintang.ijai-01001.485

  3. [3] Garg, S., & Pundir, P. (2021). MOFit: A framework to reduce obesity using machine learning and IoT. 2021 44th International Convention on Information, Communication and Electronic Technology (MIPRO) (pp. 1733–1740). IEEE. https://doi.org/10.23919/MIPRO52101.2021.9596673

  4. [4] Putri, A. I., Husna, N. A., Cia, N. M., Arba, M. A., Aisyi, N. R., Pramesthi, C. H., & Irdayusman, A. S. (2024). Implementation of K-Nearest Neighbors, Naïve Bayes classifier, support vector machine and decision tree algorithms for obesity risk prediction. Public Research Journal of Engineering, Data Technology and Computer Science, 2(1), 26–33. https://doi.org/10.57152/predatecs.v2i1.1110

  5. [5] Khater, T., Tawfik, H., & Singh, B. (2024). Explainable artificial intelligence for investigating the effect of lifestyle factors on obesity. Intelligent Systems with Applications, 23, 200427. https://doi.org/10.1016/j.iswa.2024.200427

Article Metrics

How to Cite

Tale, B., & Ahmadi, A. (2026). Enhancing Obesity Diagnosis with Explainable AI: A Transparent and User-Friendly Approach. Annals of Healthcare Systems Engineering, 3(2), 124-133. https://doi.org/10.22105/ahse.v3i2.72

Similar Articles

1-10 of 46

You may also start an advanced similarity search for this article.