Author
Listed:
- Md Firoz Kabir
(Assistant manager (IT) at Saifur’s Private limited)
- Md Yousuf Ahmad
(Batchelor of business administration, Stamford University Bangladesh)
- Sahadat Khandakar
(Bachelor of Science in Electrical and Electronic Engineering (BSEEE), BRAC University)
- Md Mizanur Rahman
(Assistant manager at Bangladesh Medical Studies and Research Institute)
Abstract
Heart disease is one of the leading causes of mortality worldwide, emphasizing the need for early and accurate diagnosis. Traditional machine learning (ML) models such as Random Forest (RF) and Support Vector Machines (SVM) have been widely used for heart disease classification. However, these models often lack the ability to extract hierarchical patterns and long-range dependencies present in complex medical data. To address this limitation, we propose a hybrid deep learning framework that integrates XGBoost with Capsule Networks (XGBoost-CapsNet) and Convolutional Neural Networks (CNN) with Transformer Encoders (CNN-TE) to enhance classification performance.The study utilizes a structured dataset containing essential heart disease indicators. Feature selection is performed using XGBoost, which ranks attributes based on importance. The Capsule Network (CapsNet) is then used to preserve spatial relationships and hierarchical dependencies among features. Meanwhile, the CNN-TE model extracts spatial features through convolutional layers and captures long-range dependencies using a Transformer Encoder with multi-head self-attention mechanisms. The models are trained using optimized hyperparameters and evaluated against baseline ML models (Random Forest, SVM, and standalone CNN). Performance metrics such as accuracy, precision, recall, F1-score, and AUC-ROC are used for comparison.Experimental evaluations demonstrate that the proposed hybrid models significantly outperform traditional approaches. The XGBoost-CapsNet model achieves an accuracy of 98.2%, while CNN-TE reaches 97.4%, both surpassing standalone CNN (95.1%), Random Forest (94.2%), and SVM (91.8%). The AUC-ROC scores further validate the robustness of the models, with XGBoost-CapsNet scoring 0.99 and CNN-TE achieving 0.98. The use of feature selection with XGBoost improves interpretability and computational efficiency, while the hybrid deep learning models enable better feature extraction and classification accuracy.
Suggested Citation
Md Firoz Kabir & Md Yousuf Ahmad & Sahadat Khandakar & Md Mizanur Rahman, 2021.
"Hybrid Deep Learning Framework for Enhanced Heart Disease Prediction: Integrating XGBoost and Capsule Networks with CNN-Transformer Architectures,"
Journal of Computer Science and Technology Studies, Al-Kindi Center for Research and Development, vol. 3(2), pages 116-123, June.
Handle:
RePEc:alk:jcsts0:v:3:y:2021:i:2:id:10734
DOI: 10.32996/jcsts.2021.3.2.9
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:alk:jcsts0:v:3:y:2021:i:2:id:10734. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Al-Kindi Center for Research and Development (email available below). General contact details of provider: https://al-kindipublisher.com/index.php/jcsts .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.