Dataset
Overview
| Property | Value |
|---|---|
| Source | Kaggle – Heart Disease UCI |
| Samples | 1,025 patients |
| Features | 13 clinical attributes |
| Target | Binary — 1 = heart disease present, 0 = absent |
Features
| Feature | Description |
|---|---|
age | Age in years |
sex | Sex (1 = male, 0 = female) |
cp | Chest pain type (0–3) |
trestbps | Resting blood pressure (mm Hg) |
chol | Serum cholesterol (mg/dl) |
fbs | Fasting blood sugar > 120 mg/dl (1 = true) |
restecg | Resting ECG results (0–2) |
thalach | Maximum heart rate achieved |
exang | Exercise-induced angina (1 = yes) |
oldpeak | ST depression induced by exercise relative to rest |
slope | Slope of the peak exercise ST segment |
ca | Number of major vessels colored by fluoroscopy (0–3) |
thal | Thalassemia type (0 = normal, 1 = fixed defect, 2 = reversible defect) |