Transfer learning-based hybrid VGG16-machine learning approach for heart disease detection with explainable artificial intelligence
Open Access
- 25 February 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Artificial Intelligence
- Vol. 8, 1504281
Abstract
Heart disease is a leading cause of mortality worldwide, making accurate early detection essential for effective treatment and management. This study introduces a novel hybrid machine-learning approach that combines transfer learning using the VGG16 convolutional neural network (CNN) with various machine-learning classifiers for heart disease detection. A conditional tabular generative adversarial network (CTGAN) was employed to generate synthetic data samples from actual datasets; these were evaluated using statistical metrics, correlation analysis, and domain expert assessments to ensure the quality of the synthetic datasets. The dataset comprises tabular data with 13 features, which are reshaped into an image-like format and resized to 224x224x3 to meet the input requirements of the VGG16 model. Feature extraction is performed using VGG16, and the extracted features are then fused with the original tabular data. This combined feature set is then used to train various machine learning models, including Support Vector Machines (SVM), Gradient Boosting, Random Forest, Logistic Regression, K-nearest neighbors (KNN), and Decision Trees. Among these models, the VGG16-Random Forest hybrid achieved notable results across all evaluation metrics, including 92% accuracy, 91.3% precision, 92.2% recall, 91.82% specificity, 92.2% sensitivity, and 91.75% F1-score. The hybrid models were also evaluated using unseen datasets to assess the generalizability of the proposed approaches, with the VGG16-Random Forest combination showing relatively promising results. Additionally, explainability is integrated into the model using SHAP values, providing insights into the contribution of each feature to the model’s predictions. This hybrid VGG16-ML approach demonstrates the potential for highly accurate and interpretable heart disease detection, offering valuable support in clinical decision-making processes.Keywords
This publication has 34 references indexed in Scilit:
- Integration of Generative AI and Deep Tabular Data Learning Architecture for Heart Attack Prediction2024
- A comprehensive hybrid model for early detection of cardiovascular diseases using integrated CardioXGBoost and long short-term memory networksBiomedical Signal Processing and Control, 2024
- Towards efficient image-based representation of tabular dataNeural Computing and Applications, 2023
- Heart Disease Diagnosis Using Machine Learning Classification Techniques2022
- Deep Learning on Small Tabular Dataset: Using Transfer Learning and Image Classification2022
- Heart Disease Prediction Using Ensemble Model2022
- Heart Disease Prediction Using Various Machine Learning Algorithms2022
- Anomaly detection using ensemble random forest in wireless sensor networkInternational Journal of Information Technology, 2021
- Prediction of Heart Disease Using Deep Convolutional Neural NetworksArabian Journal for Science and Engineering, 2021
- End-to-end CNN + LSTM deep learning approach for bearing fault diagnosisApplied Intelligence, 2020