Figure 1:

Figure 2:

Figure 3:

Figure 4:

Figure 5:

Figure 6:

Figure 7:

Figure 8:

Figure 9:

Figure 10:

Figure 11:

Figure 12:

Figure 13:

Comparative analysis of models on the Statlog dataset
| Method | Accuracy (%) | Precision (%) | F1-score (%) | Recall (%) |
|---|---|---|---|---|
| MLP | 94.81 | 97.33 | 95.42 | 93.59 |
| LR | 92.6 | 86 | 89 | 87 |
| KNN | 78 | 85 | 90 | 87 |
Dataset description
| No. | Dataset description | Ranges |
|---|---|---|
| 1 | Age (years) | 29–79 |
| 2 | Sex | Male (1), female (0) |
| 3 | Types of chest pain (cp) | Typical angina (0), atypical angina (1), non-anginal pain (2), asymptomatic (3) |
| 4 | Resting blood pressure (trestbps) | 94–200 (mmHg) |
| 5 | Serum cholesterol (chol) | 126–564 (mg/dL) |
| 6 | Fasting blood pressure (fbs) | False (0), true (1) (mg/dL) |
| 7 | Resting electrocardiographic results (restecg) | Normal (0), having ST-T wave abnormality (1) probable or definite left ventricular hypertrophy (2) |
| 8 | Maximum heart rate achieved (thalach) | 71–202 |
| 9 | Exercise-induced angina (exang) | No (0), yes (1) |
| 10 | ST depression induced by exercises relative to rest (oldpeak) | 0–6.2 |
| 11 | Slope of the peak exercises ST segment (slope) | Upsloping (0), flat (1), downsloping (2) |
| 12 | Number of major vessels colored by fluoroscopy (ca) | 0–3 |
| 13 | Thalassemia (thal) | Normal (l), fixed defect (2), reversible defect (3) |
| 14 | Target class (target) | No (0), yes (1) |
Comparative analysis of models on the Cleveland dataset
| Method | Accuracy (%) | Precision (%) | F1-score (%) | Recall (%) |
|---|---|---|---|---|
| MLP | 94.39 | 95.73 | 94.86 | 94.01 |
| LR | 85 | 85 | 89 | 87 |
| KNN | 92.8 | 87 | 91 | 89 |
