Skip to main content
Have a personal or library account? Click to login
A Deep Learning–Based Predictive Model for Myocardial Infarction Risk Forecasting Using Patient Comorbidities and Lifestyle Data Cover

A Deep Learning–Based Predictive Model for Myocardial Infarction Risk Forecasting Using Patient Comorbidities and Lifestyle Data

Open Access
|Jul 2026

Figures & Tables

Table 1:

Sample dataset of patients' MI risk study.

PIDGenderAge (years)Stress levelBlood sugarResp. rate (breaths/min)Heart rate (bpm)Blood pressure (SBP/DBP)BMI statusComorbiditiesLifestyle factors
2M77HighElevated2263126/84NormalHeart disease, diabetesNon-smoker, healthy diet
7M43HighNormal2081118/84ObeseHeart disease, insomniaSmoker, junk food
9M50MediumNormal1883111/84NormalNoneSmoker, junk food
17M23MediumNormal1983113/86NormalSleep apneaHealthy food, active
21M55LowNormal2085126/85NormalNoneNon-smoker, active
1F37HighElevated2360124/86Over weightStress disorderSmoker, junk food
4F41HighNormal2299118/72ObeseSleep apneaSedentary, junk food
5F25MediumNormal2169138/76ObeseSleep apneaSmoker, junk food
8F72LowNormal1896135/77NormalNoneHealthy food, active
15F89LowNormal1798127/87NormalNoneNon-smoker, balanced

[i] BMI, body mass index; DBP, diastolic blood pressure; MI, myocardial infarction; PID, patient identification number; SBP, systolic blood pressure.

Figure 1:

(A) Evaluation of MI risk with the execution of SVM. (B) MI risk with the execution of SMOTE. ELU, exponential linear unit; MI, myocardial infarction; NB, Naïve Bayes; RF, random forest; SHAP, Shapley additive explanations; SMOTE, synthetic minority oversampling technique; SVM, support vector machine.

Table 2:

Decision boundary comparison.

MethodSamples propertiesResult
SVM-based: Imbalanced data
  • Normal samples: N N N N N N N N N N N N N N N N N

  • Anomaly samples: A A

Boundary optimized for the majority class Anomalies misclassified as normal (high false negatives—dangerous for medical diagnosis)
SMOTE-based: Balanced data
  • Normal samples: N N N N N N N N N N N N

  • Risk samples: R R R R R R R R R R R R

Boundary fairly separates both classes Better classification of the minority class (Better sensitivity—critical for early detection)

[i] SMOTE, synthetic minority oversampling technique; SVM, support vector machine.

Figure 2:

Distribution plot of patients' vitals. BMI, body mass index; VLDL, very low-density lipoprotein.

Figure 3:

Correlation heat map for vitals. BMI, body mass index; VLDL, very low-density lipoprotein.

Figure 4:

Confusion matrix for models TabNet, RF, NB. NB, Naïve Bayes; RF, random forest.

Figure 5:

(A) Feature impact on model output. (B) Feature impact on model output. SHAP, Shapley additive explanations.

Table 4:

Model performance of RF.

PrecisionRecallF1 scoreSupport
00.941.000.975,553
10.820.210.33447
Accuracy0.946,000
Macro avg0.880.600.656,000
Weighted avg0.930.940.926,000

[i] RF, random forest.

Table 5:

Model performance of NB.

PrecisionRecallF1 scoreSupport
00.950.980.965,553
10.530.330.41447
Accuracy0.936,000
Macro avg0.740.650.686,000
Weighted avg0.920.930.926,000

[i] NB, Naïve Bayes.

Table 6:

Model performance of TabNet.

PrecisionRecallF1 scoreSupport
00.940.980.965,553
10.570.270.36447
Accuracy0.936,000
Macro avg0.760.630.666,000
Weighted avg0.920.930.926,000

[i] Remember: RF (0.21)> TabNet (0.27)> NB (0.33)

[ii] Precision: TabNet (0.57)> RF (0.82)> NB (0.53)

Figure 6:

ROC curve comparison of OC curve comparison of TabNet, and RF. NB, Naïve Bayes; RF, random forest.

Figure 7:

(A) ROC curve comparison of the enhancing approach. (B) Usage of ELU in the feature extraction layer prior to the RF. ELU, exponential linear unit; MI, myocardial infarction; NB, Naïve Bayes; RF, random forest.

Table 7:

Model performance of ELU on RF.

PrecisionRecallF1 scoreSupport
Class 00.980.990.995,553
Class 10.900.850.88447
Accuracy--0.976,000
Macro avg0.940.920.936,000
Weighted avg0.970.970.976,000

[i] ELU, exponential linear unit; RF, random forest.

Table 8A:

Data summary.

SummaryValues
Total_samples308,854
Total_columns40
Total_attributes399
Training_sample306,186
Test_sample92,657
Target_columnRisk
Target_classes2
Class_training{0:153093,1:153093}
Class_test{0:65612,1:27045}
Table 8B:

Classification report.

PrecisionRecallF1 scoreSupport
Class 01.000.991.0065,612
Class 10.981.000.9927,045
Accuracy--0.9992,657
Macro avg0.991.000.9992,657
Weighted avg0.990.990.9992,657
Figure 8:

Investigation of feature importance related to the feature vector. BMI, body mass index; RF, random forest.

Figure 9:

Confusion matrix of RF following SMOTE. RF, random forest; SMOTE, synthetic minority oversampling technique.

Figure 10:

Comparison of improved accuracy and AUC. ELU, exponential linear unit; RF, random forest; SMOTE, synthetic minority oversampling technique; SVM, support vector machine.

Figure 11:

Metrics comparison of RF. RF, random forest; SMOTE, synthetic minority oversampling technique; SVM, support vector machine.

Table 9:

Classification report of ELU on RF.

PrecisionRecallF1 scoreSupport
Class 01.000.991.0065,612
Class 10.980.990.9927,045
Accuracy--0.9992,657
Macro avg0.991.000.9992,657
Weighted avg0.990.990.9992,657
Figure 12:

(A) SHAP for two dominant features. (B) Mean SHAP for features. BMI, body mass index; SHAP, Shapley additive explanations; VLDL, very low-density lipoprotein.

Table 10:

Samples and their properties.

SamplesProperties
Sample 1Sample index: 82,496; true label: 1 (Class 1); predicted probabilities: [0.26460299 0.73539701]; predicted class: 1 (Class 1)
Sample 2Sample index: 51,516; true label: 0 (Class 0); predicted probabilities: [0.60369369 0.39630631]; predicted class: 0 (Class 0)
Sample 3Sample index: 55,756; true label: 0 (Class 0); predicted probabilities: [0.624137 0.375863]; predicted class: 0 (Class 0)
Figure 13:

LIME analysis for sample 1 (Class 1).

Figure 14:

LIME analysis for sample 2 (Class 0). BMI, body mass index.

Figure 15:

LIME analysis for sample 3 (Class 0).

Language: English
Submitted on: Sep 11, 2025
Published on: Jul 18, 2026
Published by: International Journal on Smart Sensing and Intelligent Systems
In partnership with: Paradigm Publishing Services
Publication frequency: Volume open

© 2026 T. Sarkar, B. Kundu, E. Chakraborty, D. Ganguly, Sarin Raj, published by International Journal on Smart Sensing and Intelligent Systems
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.