An Explainable Approach for Heart Disease Prediction Using an Evolutionary Rule-Based Learning Classifier System on Real-World ICU Data

Authors

  • Muhammad Fawad Nasim The Superior University Lahore
  • Sadia Shareef The Superior University Lahore

Keywords:

Explainable AI, Heart disease prediction, ExSTraCS, MIMIC-IV-Ext, SHAP

Abstract

Cardiovascular disease is the leading cause of death globally, yet few machine learning models for cardiac risk prediction are clinically interpretable. This paper develops an Explainable Artificial Intelligence (XAI) approach for heart disease risk classification on the MIMIC-IV-Ext Cardiac Disease dataset (v1.0.0, PhysioNet), comprising 4,748 de-identified ICU admissions. A multimodal set of 35 features including 14 laboratory biomarkers and NLP-derived clinical narrative indicators is constructed, with binary risk labels generated by keyword-majority voting over four clinical free-text fields. Class imbalance (78.1% High Risk vs. 21.9% Low Risk) is addressed by applying SMOTE only to the training set. The proposed classifier, ExSTraCS, a Michigan-style Learning Classifier System with kappa-based evolutionary fitness, is evaluated against five baselines, achieving 84.53% held-out test accuracy (84.29% ± 0.60% cross-validated), 90.19% F1-score, and 0.8757 AUROC (with 89.30% precision, 91.11% recall and 61.06% specificity), close to the strongest baseline; McNemar and DeLong tests assess statistical significance. ExSTraCS is a hybrid approach in which a gradient-boosting engine performs prediction, while interpretability is delivered through an evolved IF-THEN rule layer and post hoc SHAP and LIME explanations, whose faithfulness is measured using feature-perturbation metrics. Because several text-derived features share keywords with the labelling rule, a leakage-controlled experiment using only laboratory biomarkers bounds the impact of feature–label correlation. All three explanation layers agree that Troponin T, ECG abnormality, and HPI-derived symptom features are the most reliable predictors, and a cost-sensitive threshold analysis identifies the optimal operating point given the high clinical cost of false negatives. The results show that models offering both competitive predictive accuracy and clinical interpretability are achievable.

References

R. Kumar et al., “A comprehensive review of machine learning for heart disease prediction: challenges, trends, ethical considerations, and future directions,” Front. Artif. Intell., vol. 8, p. 1583459, May 2025, doi: 10.3389/FRAI.2025.1583459/FULL.

A. Bilal, A. Alzahrani, K. Almohammadi, M. Saleem, M. S. Farooq, and R. Sarwar, “Explainable AI-driven intelligent system for precision forecasting in cardiovascular disease,” Front. Med., vol. 12, p. 1596335, Jul. 2025, doi: 10.3389/FMED.2025.1596335/TEXT.

F. Nasim, S. Masood, A. Jaffar, U. Ahmad, and M. Rashid, “Intelligent Sound-Based Early Fault Detection System for Vehicles,” Comput. Syst. Sci. Eng., vol. 46, no. 3, pp. 3175–3190, 2023, doi: 10.32604/CSSE.2023.034550.

“AI-Driven Discovery of Novel Biomarkers for Early Cardiovascular Disease Detection,” AI-Driven Discov. Nov. Biomarkers Early Cardiovasc. Dis. Detect., 2026, doi: 10.66669/WT.V35IS2.287.

A. Jamal, F. Tauseef, and Z. Akbar, “Predictive Analytics For AI-Assisted Patient No-Show Management And Clinic Revenue Optimization: A Simulation-Based Research,” Migr. Lett., vol. 21, no. S13, pp. 1901–1924, Aug. 2024, Accessed: Aug. 22, 2026. [Online]. Available: https://migrationletters.com/index.php/ml/article/view/12274

A. Jamal, M. Mahmud, F. Tauseef, H. M. Sozib, S. Bin Shafi, and M. Tariquzzaman, “Explainable AI for Predicting Patient Readmission in Hospitals,” Proc. 9th Int. Conf. Inven. Comput. Technol. ICICT 2026, pp. 1961–1967, 2026, doi: 10.1109/ICICT68280.2026.11510989.

A. A. Hamad et al., “Cognitive Inspired Sound-Based Automobile Problem Detection: A Step Toward Xai,” 2024, doi: 10.2139/SSRN.4814232.

B. A. Hemann, W. F. Bimson, and A. J. Taylor, “The Framingham Risk Score: an appraisal of its benefits and limitations,” Am. Heart Hosp. J., vol. 5, no. 2, pp. 91–96, 2007, doi: 10.1111/J.1541-9215.2007.06350.X.

A. Jamal, Z. Akbar, S. Akbar, S. Niaz, and F. Tauseef, “Predicting Human-GenAI Collaboration Effectiveness: A Machine Learning Investigation Of Skill Configurations, Trust, And Work Design,” Migr. Lett., vol. 19, no. S8, pp. 2303–2324, Dec. 2022, Accessed: Aug. 21, 2026. [Online]. Available: https://migrationletters.com/index.php/ml/article/view/12298

E. Hasan, M. Rahaman, D. Paul, S. R. U. I. Rahat, N. B. Asha, and M. Al Amin, “Performance Evaluation of Hybrid Machine Learning Models for Heart Disease Prediction in U.S. Clinical Decision Support Systems,” Proc. 5th Int. Conf. Sentim. Anal. Deep Learn. ICSADL 2026, pp. 34–39, 2026, doi: 10.1109/ICSADL67539.2026.11452047.

F. Tauseef, A. Jamal, and F. Naseer, “Artificial Intelligence in Healthcare Systems Exploring the Transformational Role of AI Technologies in Healthcare Management and Clinical Decision Support,” Rev. J. Neurol. Med. Sci. Rev., vol. 1, no. 02, pp. 83–101, 2023, doi: 10.63075/26RFHC13.

J. Hatherley, L. Aastrup Munch, and J. Christian Bjerring, “In Defense of Post Hoc Explanations in Medical AI,” Hastings Cent. Rep., vol. 56, no. 1, p. 40, Jan. 2026, doi: 10.1002/HAST.4971.

M. Khajavian et al., “Harnessing interpretable machine learning: SHapley additive exPlanations (SHAP)-driven insights, transformative impact, and controversies in adsorption-based environmental remediation,” Inorg. Chem. Commun., vol. 186, p. 116269, Apr. 2026, doi: 10.1016/J.INOCHE.2026.116269.

İ. Özcan, G.-W. Weber, İ. Özcan, and G.-W. Weber, “Advances in cooperative game theory under uncertainty: A comprehensive survey,” Electron. Res. Arch. 2026 31342, vol. 34, no. 3, pp. 1342–1362, Jan. 2026, doi: 10.3934/ERA.2026061.

Q. Abbas, W. Jeong, and S. W. Lee, “Explainable AI in Clinical Decision Support Systems: A Meta-Analysis of Methods, Applications, and Usability Challenges,” Healthc. 2025, Vol. 13, Page 2154, vol. 13, no. 17, p. 2154, Aug. 2025, doi: 10.3390/HEALTHCARE13172154.

X. Wang et al., “Identifying drivers of community-scale urban renewal with an ante-hoc interpretable hybrid graph model,” J. Urban Manag., vol. 15, no. 3, pp. 1158–1177, Sep. 2026, doi: 10.1016/J.JUM.2025.12.010.

R. J. Urbanowicz and J. H. Moore, “Learning Classifier Systems: A Complete Introduction, Review, and Roadmap,” J. Artif. Evol. Appl., vol. 2009, pp. 1–25, Sep. 2009, doi: 10.1155/2009/736398.

R. J. Urbanowicz and J. H. Moore, “ExSTraCS 2.0: description and evaluation of a scalable learning classifier system,” Evol. Intell. 2015 82, vol. 8, no. 2, pp. 89–116, Apr. 2015, doi: 10.1007/S12065-015-0128-8.

A. Jamal, F. Tauseef, F. Naseer, and J. Ahmad, “Business Analytics for Healthcare Cost Optimization: A Data-Driven Study on Improving Financial Sustainability in Healthcare Systems,” Spectr. Eng. Sci., pp. 723–736, Dec. 2024, doi: 10.5281/zenodo.20488115.

D. Rajhamundry and D. Rajhamundry, “Business Intelligence as a Strategic Planning Tool in Healthcare Organizations: A Systems Integration Approach,” Int. J. Sci. Res. Comput. Sci. Eng. Inf. Technol., vol. 10, no. 6, pp. 1965–1972, Dec. 2024, doi: 10.32628/CSEIT241061234.

A. Johnson et al., “MIMIC-IV v3.1,” Physionet. Accessed: Aug. 22, 2026. [Online]. Available: https://physionet.org/content/mimiciv/3.1/

F. Tauseef et al., “MACHINE LEARNING MODELS FOR PREDICTING PATIENT OUTCOMES IN INTENSIVE CARE UNITS: A CASE STUDY IN U.S. HOSPITALS,” Cuest. Fisioter., vol. 55, no. 1, pp. 88–105, Jun. 2026, doi: 10.48047/Y0T69V56.

M. Faiyazuddin et al., “The Impact of Artificial Intelligence on Healthcare: A Comprehensive Review of Advancements in Diagnostics, Treatment, and Operational Efficiency,” Heal. Sci. Reports, vol. 8, no. 1, p. e70312, Jan. 2025, doi: 10.1002/HSR2.70312.

A. S. Osei-Nkwantabisa and R. Ntumy, “Classification and Prediction of Heart Diseases using Machine Learning Algorithms,” Sep. 2024, doi: 10.48550/arXiv.2409.03697.

A. A. Stonier, R. K. Gorantla, and K. Manoj, “Cardiac disease risk prediction using machine learning algorithms,” Healthc. Technol. Lett., vol. 11, no. 4, pp. 213–217, Aug. 2023, doi: 10.1049/HTL2.12053.

K. Kwakye and E. Dadzie, “Machine Learning-Based Classification Algorithms for the Prediction of Coronary Heart Diseases,” Dec. 2021, Accessed: Aug. 22, 2026. [Online]. Available: https://arxiv.org/pdf/2112.01503

Sorif Hossain, Mohammad Kamrul Hasan, “Machine learning approach for predicting cardiovascular disease in Bangladesh: evidence from a cross-sectional study in 2023,” BMC Cardiovasc. Disord., 2024, doi: 10.1186/s12872-024-03883-2.

T. Vu et al., “Machine Learning Model for Predicting Coronary Heart Disease Risk: Development and Validation Using Insights From a Japanese Population-Based Study,” JMIR cardio, vol. 9, 2025, doi: 10.2196/68066.

T. Guo, I. R. Bardhan, Y. Ding, and S. Zhang, “An Explainable Artificial Intelligence Approach Using Graph Learning to Predict Intensive Care Unit Length of Stay,” https://doi.org/10.1287/isre.2023.0029, vol. 36, no. 3, pp. 1478–1501, Dec. 2024, doi: 10.1287/ISRE.2023.0029.

A. Jamal, F. Tauseef, F. Naseer, A. Akbar, M. Jabeen, and F. Nasim, “Predictive AI Healthcare Analytics for Early Disease Detection Leveraging AI and Machine Learning Models to Identify High-Risk Patients and Improve Preventive Healthcare Strategies,” Annu. Methodol. Arch. Res. Rev., vol. 3, no. 11, pp. 1–28, Nov. 2025, doi: 10.5281/ZENODO.20686563.

S. Ahmed, M. S. Kaiser, M. Shahadat Hossain, and K. Andersson, “A Comparative Analysis of LIME and SHAP Interpreters With Explainable ML-Based Diabetes Predictions,” IEEE Access, vol. 13, pp. 37370–37388, 2025, doi: 10.1109/ACCESS.2024.3422319.

M. Wang, “Explainable machine-learning-based cardiovascular disease prediction in patients with hypertension: Algorithm comparison and SHapley Additive exPlanations (SHAP) analysis,” Arch. Cardiovasc. Dis., vol. 119, no. 4, pp. 273–282, Apr. 2026, doi: 10.1016/J.ACVD.2025.09.005.

M. A. B. Shiddik, “Explainable Artificial Intelligence in Healthcare: Current Landscape, Challenges, and Future Directions,” Heal. Sci. Reports, vol. 9, no. 3, p. e72172, Mar. 2026, doi: 10.1002/HSR2.72172.

S. Y. Kim, D. H. Kim, M. J. Kim, H. J. Ko, and O. R. Jeong, “XAI-Based Clinical Decision Support Systems: A Systematic Review,” Appl. Sci. 2024, Vol. 14, Page 6638, vol. 14, no. 15, p. 6638, Jul. 2024, doi: 10.3390/APP14156638.

“View of Detecting Governance Risk In Generative AI Adoption: A Predictive Analysis Of Organizational Misalignment And AI Failure Signals.” Accessed: Aug. 21, 2026. [Online]. Available: https://www.metall-mater-eng.com/index.php/home/article/view/1965/1170

S. Liu et al., “Leveraging explainable artificial intelligence to optimize clinical decision support,” J. Am. Med. Inform. Assoc., vol. 31, no. 4, pp. 968–974, Apr. 2024, doi: 10.1093/JAMIA/OCAE019.

N. Rane, S. Choudhary, and J. Rane, “Explainable Artificial Intelligence (XAI) in healthcare: Interpretable Models for Clinical Decision Support,” SSRN Electron. J., Nov. 2023, doi: 10.2139/SSRN.4637897.

R. Ganesan, S. C. Habraken, F. N. van de Vosse, and W. Huberts, “Explainable Machine Learning Based Prediction of Severity of Heart Failure Using Primary Electronic Health Records,” Stud. Health Technol. Inform., vol. 316, pp. 542–546, Aug. 2024, doi: 10.3233/SHTI240471.

K. Patel, M. Shah, K. M. Qureshi, and M. R. N. Qureshi, “A systematic review of generative AI: importance of industry and startup-centered perspectives, agentic AI, ethical considerations & challenges, and future directions,” Artif. Intell. Rev. 2025 591, vol. 59, no. 1, pp. 7-, Nov. 2025, doi: 10.1007/S10462-025-11435-Z.

A. Jamal, F. Tauseef, F. Naseer, A. Akbar, M. Jabeen, and F. Nasim, “A Convolutional Neural Network Approach for Diabetic Retinopathy Detection from Retinal Images: A Critical Review of Deep Learning Techniques in Ophthalmic Diagnosis: https://doi.org/10.5281/zenodo.20587510,” Multidiscip. Surg. Res. Ann., vol. 3, no. 4, pp. 3100–3128, Dec. 2025, doi: 10.5281/ZENODO.20587510.

D. Chen, G. Li, J. Huang, and Y. Li., “Superior machine learning model for post-cardiac arrest mortality prediction: a MIMIC-IV cohort study,” Resusc. Plus, vol. 28, 2026.

Hu Q, Xu T, Gao X, Lei X and Hu L., “Machine learning-driven sedation-analgesia optimization in mechanically ventilated sepsis patients: a retrospective MIMIC-IV analysis,” Front. Pharmacol, vol. 17, 2026, doi: https://doi.org/10.3389/fphar.2026.1673704.

Nguyen V, Mittal R., “Machine Learning Prediction of ICU Mortality and Length of Stay in Atrial Fibrillation: A MIMIC-IV/MIMIC-III Study,” Healthc., vol. 14, no. 3, 2026, doi: 10.3390/healthcare14030356.

Yin J, Pan X, Chen D, Zhang J, Jin G., “Machine-learning model for 30-day mortality in sepsis-associated delirium patients: A retrospective MIMIC-IV cohort study,” Med., vol. 105, no. 1, 2026, doi: 10.1097/MD.0000000000045440.

Downloads

Published

2026-08-31

How to Cite

Nasim, M. F., & Shareef, S. (2026). An Explainable Approach for Heart Disease Prediction Using an Evolutionary Rule-Based Learning Classifier System on Real-World ICU Data. International Journal of Innovations in Science & Technology, 8(5), 2267–2296. Retrieved from https://journal.50sea.com/index.php/IJIST/article/view/2003