This dataset contains medical attributes of patients used to analyze and predict the likelihood of a heart attack.
Each feature provides clinical or demographic information relevant to cardiovascular health.
| Feature | Description |
|---|---|
| age | Age of the patient |
| sex | Gender (1 = male, 0 = female) |
| cp | Chest pain type (0β3, representing different categories) |
| trestbps | Resting blood pressure (mm Hg) |
| chol | Serum cholesterol level (mg/dl) |
| fbs | Fasting blood sugar (>120 mg/dl: 1 = true, 0 = false) |
| restecg | Resting electrocardiographic results |
| thalach | Maximum heart rate achieved |
| exang | Exercise-induced angina (1 = yes, 0 = no) |
| oldpeak | ST depression induced by exercise |
| slope | Slope of the peak exercise ST segment |
| ca | Number of major vessels colored by fluoroscopy (0β3) |
| thal | Thalassemia type (normal, fixed defect, reversible defect) |
| target | Heart attack risk (1 = likely, 0 = unlikely) |
The purpose of this dataset is to perform Exploratory Data Analysis (EDA) and develop models that can identify patients at high risk of heart attack based on their medical history and health indicators.