OU ACS-5513: Machine Learning Project
← Return to Introduction

Data Exploration

Clinical Feature Analysis

Investigating feature distributions and multivariate relationships within the clinical data.

Provenance: Cleveland Clinic Foundation (Processed)

The bundled clinical benchmark dataset for this project. It contains the cleaned Cleveland cases used for training, evaluation, and exploratory analysis.

View original source dataset ↗

Data Dictionary
Field Domain / Scale Units Description
age Numeric (0-120) years Age of the patient.
sex 0=Female, 1=Male binary Biological sex of the patient.
cp 1=Typical, 2=Atypical, 3=Non-anginal, 4=Asymptomatic coded Type of chest pain experienced.
trestbps Numeric (0-300) mm Hg Resting blood pressure on admission.
chol Numeric (0-1000) mg/dl Serum cholesterol measurements.
fbs >120 mg/dl (1=True, 0=False) binary Fasting blood sugar level.
restecg 0=Normal, 1=ST-T wave, 2=LV hypertrophy coded Resting electrocardiographic results.
thalach Numeric (0-250) bpm Maximum heart rate achieved.
exang 1=Yes, 0=No binary Exercise induced angina.
oldpeak Numeric (0-10) mm ST depression induced by exercise relative to rest.
slope 1=Upsloping, 2=Flat, 3=Downsloping coded The slope of the peak exercise ST segment.
ca 0-3 vessels count Number of major vessels colored by fluoroscopy.
thal 3=Normal, 6=Fixed, 7=Reversable coded A blood disorder called thalassemia.
target 0=<50% diameter, 1=>50% diameter binary Heart disease diagnosis status.

Distribution of every field

Clinical Distribution Benchmark

Each chart visualizes a single clinical metric across the patient population. Numeric fields use shared bins with side-by-side bars, while coded fields use grouped bars. Bar height represents the number of patients in each value or range, colored by diagnosis: No Disease (Green) vs Heart Disease (Crimson).

Summary statistics (Average and Median) are provided below each chart to describe the central tendency of the data for each attribute.

Distributions visualization of the heart disease dataset