A novel approach based on XGBoost algorithm and explainable artificial intelligence to predict heart disease

A novel approach based on XGBoost algorithm and explainable artificial intelligence to predict heart disease

alireza noohi1 hamid nasiri2 farzin yaghmaee3

1) Electrical and Computer Engineering Department, Semnan University, Semnan, Iran
2) Department of Computer Engineering, Amirkabir University of Technology, Tehran, Iran
3) Electrical and Computer Engineering Department, Semnan University, Semnan, Iran

IOI Code : XEEZ-HAHAD
Publication : The First Conference on Artificial Intelligence and Smart Computing(aisc2022.semnan.ac.ir)
Abstract :
    The heart seems to be a very complicated organ in human body. If some part of the heart has been seriously damaged, the remaining part of the heart will still remain functioning. But as a result of the injury, the heart can be weakened and unable to pump as much blood as normal. With timely detection of multiple possible hamstring issues, proper care, and dietary changes after a heart attack, the additional injury can be reduced or avoided. Several types of artificial intelligence (AI) methods have been used for modeling these key indexes; however, surprisingly, no explainable AI (XAI) has been considered for their model developments. An XAI is a model whose assessment is not a black box, and humans could understand its problem solution approach. This study has filled this gap and presented SHAP (Shapley Additive Explanations) as one of the most recent XAI methods for modeling heart attack. SHAP value could successfully illustrate intercorrelations between properties (age, sex, cp, trestbps, chol, fbs, restecg, thalach, exang, oldpeak, slope, ca,thal) and their representative target for each individual record and also together as variables. Results indicated that cp has the highest importance for heart attack prediction. eXtreme gradient boosting (XGBoost) was used as a solid predictive AI system for heart attack estimation. Outcomes 100% confirmed the high accuracy of the SHAP-XGBoost model comparing with other typical AI models (NN,Random Forest and Support Vector Machine).

Keywords : shap heart attack xgboost machine learning