Explainable Hybrid XGBoost Fuzzy Logic Model for Accurate Anemia Risk Classification
DOI:
10.33395/sinkron.v10i3.16216Keywords:
Anemia, Explainable Artificial Intelligence, Fuzzy Logic, Risk Classification, SHAP, XGBoostAbstract
Anemia remains a major global health concern that impairs oxygen transport and contributes to fatigue, cognitive decline, reduced productivity, and severe clinical complications. Although machine learning has shown promise for automated anemia detection, multiclass classification remains challenging due to class imbalance, overlapping hematological characteristics, and limited model interpretability. This study proposes an explainable hybrid framework integrating Extreme Gradient Boosting (XGBoost), SHapley Additive exPlanations (SHAP), and Fuzzy Logic to improve anemia risk classification and clinical decision support. The publicly available SKILICARSLAN dataset containing 15,300 anonymized patient records across five anemia-related classes was utilized. Seven hematological parameters, namely hemoglobin (HGB), mean corpuscular volume (MCV), mean corpuscular hemoglobin (MCH), mean corpuscular hemoglobin concentration (MCHC), red blood cell count (RBC), hematocrit (HCT), and ferritin, were employed as predictive features. The workflow comprised data auditing, stratified train–test splitting, Synthetic Minority Oversampling Technique (SMOTE), hyperparameter optimization, multiclass XGBoost modeling, SHAP-based explainability analysis, and fuzzy risk interpretation. Experimental results demonstrated 82.94% accuracy, 87.27% weighted precision, 82.94% weighted recall, and 84.78% weighted F1-score, with a mean cross-validation F1-score of 87.00%. The model further achieved a macro-average ROC–AUC of 0.81 and a weighted-average ROC–AUC of 0.90, indicating robust discriminative performance despite class imbalance. SHAP analysis identified HGB, ferritin, and RBC-related variables as the most influential predictors. Moreover, the fuzzy logic layer enhanced interpretability by translating model outputs into clinically meaningful risk levels. These findings demonstrate the potential of explainable hybrid intelligence for transparent and reliable anemia screening and decision-support applications.
Downloads
References
Airlangga, Gregorius. 2024. “Anemia Classification Using Hybrid Machine Learning Models : A Comparative Study of Ensemble Techniques on CBC Data.” 5(4):1108–17. doi:10.47065/josyc.v5i4.5848.
Amalia, Ikhlasul. 2025. “Anemia Classification with Clinical Feature Engineering and SHAP Interpretation.” 9(5):2195–2201.
Athanasiou, Maria. n.d. “An Explainable XGBoost – Based Approach towards Assessing the Risk of Cardiovascular Disease in Patients with Type 2 Diabetes Mellitus.”
Chen, Tianqi. n.d. “XGBoost : A Scalable Tree Boosting System.”
Darshan, B. S. Dhruva, Niranjana Sampathila, G. Muralidhar Bairy, and Srikanth Prabhu. 2025. “Differential Diagnosis of Iron Deficiency Anemia from Aplastic Anemia Using Machine Learning and Explainable Artificial Intelligence Utilizing Blood Attributes.” 1–20.
Farooq, Muhammad Sajid, Muhammad Hassan, Ghulam Muhammad, Oualid Ali, Zahid Zeeshan, Muhammad Saleem, Munir Ahmad, and Senior Member. 2025. “Developing a Transparent Anaemia Prediction Model Empowered With Explainable Artificial Intelligence.” IEEE Access 13(October 2024):1307–18. doi:10.1109/ACCESS.2024.3522080.
Kasthuri, E., S. Subbulakshmi, and Rajasree Sreedharan. 2024. “ScienceDirect Insightful Insightful Clinical Clinical Assistance Assistance for for Anemia Anemia Prediction Prediction with with Data Data Analysis and Explainable Analysis and Explainable AI.” Procedia Computer Science 233:45–55. doi:10.1016/j.procs.2024.03.194.
Martins, Pedro, Afonso Ramos, Eduardo Pina, Paulo Vaz, Jose Silva, and Maryam Abbasi. 2024. “Smart Building Control: An Android Application for Enhanced Monitoring and Management in the Internet of Things Era.” Procedia Computer Science 238(2019):594–601. doi:10.1016/j.procs.2024.06.066.
Noviandy, Teuku Rizky, Ghifari Maulana Idroes, Rivansyah Suhendra, and Tedy Kurniawan Bakri. 2024. “Advanced Anemia Classification Using Comprehensive Hematological Profiles and Explainable Machine Learning Approaches.” 2(2):72–81. doi:10.60084/ijds.v2i2.237.
Okikioluwa, Glory, and Pragasen Mudali. 2025. “ScienceDirect ScienceDirect of an Android-Based Reminder System for Social Services Development of a * an Android-Based Reminder System for Social.” Procedia Computer Science 258:487–96. doi:10.1016/j.procs.2025.04.284.
Open, An, Access Journal, Dhruva Darshan B. S, Punit Sharma, Krishnaraj Chadaga, G. Muralidhar Bairy, Sushma Belurkar, and Srikanth Prabhu. 2024. “An Ensemble Machine Learning Framework with Explainable Artificial Intelligence for Predicting Haemoglobin Anaemia Considering Haematological Markers.” 2583. doi:10.1080/21642583.2024.2420927.
Pullakhandam, Siddartha, and Susan Mcroy. 2024. “Classification and Explanation of Iron Deficiency Anemia from Complete Blood Count Data Using Machine Learning.” 661–72.
Putro, Hakam Febtadianrano, Retno Tri Vulandari, and Wawan Laksito Yuly Saptomo. 2020. “Penerapan Metode Naive Bayes Untuk Klasifikasi Pelanggan.” Jurnal Teknologi Informasi Dan Komunikasi (TIKomSiN) 8(2). doi:10.30646/tikomsin.v8i2.500.
Raihan, Johir, Al Masrur Khan, Seong Hoon Kee, and Abdullah Al Nahid. 2023. “Detection of the Chronic Kidney Disease Using XGBoost Classifier and Explaining the Influence of the Attributes on the Model Using SHAP.” Scientific Reports (0123456789):1–15. doi:10.1038/s41598-023-33525-0.
Ramzan, Muhammad, Muhammad Usman, and Saeed Ghulam. 2024. “Enhancing Anemia Detection through Multimodal Data Fusion : A Non ‑ Invasive Approach Using EHRs and Conjunctiva Images.” Discover Artificial Intelligence. doi:10.1007/s44163-024-00196-3.
Saba, Abdulrahman Mohammed, Musa Sule Argungu, and Salamatu Musa. 2022. “An Enhanced Application for Securing File Transfer Over Android Devices.” Ijarcce 11(2):78–93. doi:10.17148/ijarcce.2022.11212.
Wang, Meihui, Wenqian Jiang, Yuxi Fu, Yi Wang, Xinliang Liu, Jianlin Shen, Feng Liu, and Yong Li. 2026. “Development of a Smart Device Android-Based Decision Support System for Controlling Non-Point Source Nitrogen and Phosphorus Pollution in an Agricultural Catchment.” Journal of Integrative Agriculture 25(2):565–76. doi:10.1016/j.jia.2025.03.023.
Yugiantoro, Darojat, Eka Nuryanto Budisusila, Agus Suprajitno, and Arief Marwanto. 2025. “Pengembangan Sistem Deteksi Anemia Menggunakan Photoplethysmography ( PPG ) Dan Logika Fuzzy Untuk Estimasi Kadar Hemoglobin Development of a Non-Invasive Anemia Detection System Using Photoplethysmography ( PPG ) and Fuzzy Logic for Hemoglobin Level Estimation.” 6(2):153–62.
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2026 Jepri Banjarnahor, Natasya Sigalingging, Rio Brelly Pasaribu, Yessi Sesilia Sitompul, Jogi Devrant Sibarani

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






















Moraref
PKP Index
Indonesia OneSearch
OCLC Worldcat
Index Copernicus
Scilit
