Table 3.
Features of heart disease datasets
| Feature | Description | Value |
|---|---|---|
| Age | Age in years | Continuous value |
| Sex | Sex | 1: male; 0: female |
| Cp | Chest pain type | 1: typical angina |
| 2: atypical angina | ||
| 3: non-anginal pain | ||
| 4: asymptomatic | ||
| Trestbps | Resting blood sugar | Continuous value in mm hg |
| Chol | Serum Cholestoral | Continuous value in mm/dl |
| Fbs | Fasting blood sugar | mg/dl |
| mg/dl | ||
| Restecg | Resting ECG results | 0 : normal |
| 1 : having ST-T wave abnormality | ||
| 2 : probable or definite | ||
| left ventricular hypertrophy | ||
| Thalach | Maximum heart rate achieved | Continuous value |
| Exang | Exercise induced angina | 0 : no |
| 1 : yes | ||
| Oldpeak | ST depression induced by exercise relative to rest | Continuous value |
| Slope | Slope of the peak exercise ST segment | 1 = upsloping |
| 2 = flat | ||
| 3 = downsloping | ||
| Ca | Number of major vessels colored by flourosopy | 0, 1, 2, 3 |
| Thal | Heart beat | 3 : normal |
| 6 : fixed defect | ||
| 7 : reversable defect | ||
| Num | Predicted class | 0, 1 |