Table 1 Description of the dataset.
Feature name | Feature specification | Categories | No heart disease | Heart disease | Total |
|---|---|---|---|---|---|
Age | Age | 24–39 | 15 | 42 | 57 |
40–54 | 143 | 276 | 419 | ||
55–69 | 327 | 188 | 515 | ||
70–85 | 14 | 20 | 34 | ||
Total | 499 | 526 | 1025 | ||
Sex | Sex | Male | 86 | 226 | 312 |
Female | 413 | 300 | 713 | ||
Total | 499 | 526 | 1025 | ||
cp | Chest pain | 1 = Typical angina | 375 | 122 | 497 |
2 = Atypical angina | 33 | 134 | 167 | ||
3 = Non-anginal pain | 65 | 219 | 284 | ||
4 = Asymptomatic | 26 | 51 | 77 | ||
Total | 499 | 526 | 1025 | ||
Trestbps | Resting blood pressure | 90-119 | 84 | 117 | 201 |
120–149 | 314 | 340 | 654 | ||
150–179 | 87 | 66 | 153 | ||
180–210 | 14 | 3 | 17 | ||
Total | 499 | 526 | 1025 | ||
chol | Cholesterol | 120-130 | 182 | 244 | 426 |
231–341 | 306 | 263 | 569 | ||
342–453 | 11 | 16 | 27 | ||
454–564 | 0 | 3 | 3 | ||
Total | 499 | 526 | 1025 | ||
fbs | Fasting blood sugar | <120mg/dl | 417 | 455 | 872 |
> 120 mg/dl | 82 | 71 | 153 | ||
Total | 499 | 526 | 1025 | ||
Restecg | Electrocardiographic results when testing | 0=Normal | 283 | 214 | Normal |
1 = ST-T wave abnormality | 204 | 309 | ST-T wave abnormality | ||
2 = LV hypertrophy | 12 | 3 | LV hypertrophy | ||
Total | 499 | 526 | 1025 | ||
Thalach | Maximum heart rate | 70-104 | 33 | 3 | 36 |
105–139 | 189 | 74 | 263 | ||
140–174 | 263 | 353 | 616 | ||
175–2094 | 14 | 96 | 110 | ||
Total | 499 | 526 | 1025 | ||
Exang | Angina that is caused by anxiety | No | 225 | 455 | 680 |
274 | 71 | 71 | 345 | ||
Total | 499 | 526 | 1025 | ||
Oldpeak | ST depression due to exercise compared to rest | 0–1.54 | 265 | 461 | 726 |
1.55-3.00 | 167 | 59 | 226 | ||
3.01–4.64 | 60 | 6 | 66 | ||
4.65–6.2 | 7 | 0 | 7 | ||
Total | 499 | 526 | 1025 | ||
Slope | slope of the peak exercise ST segment | 1 = Up sloping | 46 | 28 | 74 |
2 = Flat | 324 | 158 | 482 | ||
3 = Down sloping | 129 | 340 | 469 | ||
Total | 499 | 526 | 1025 | ||
ca | Number of major blood vessels | 1 | 160 | 66 | 226 |
2 | 113 | 21 | 134 | ||
3 | 60 | 9 | 69 | ||
4 | 3 | 15 | 18 | ||
Total | 499 | 526 | 1025 | ||
Thal | Thalassemia | 0 | 4 | 3 | 7 |
Normal | 43 | 21 | 64 | ||
Fixed defect | 132 | 412 | 544 | ||
Reversable | 320 | 90 | 410 | ||
Total | 499 | 526 | 1025 |