CoolFace
Datasetpublic

odedf2001/heart2

❀️ Heart Disease β€” Exploratory Data Analysis πŸ‘€ Author Oded Fuchs 🎯 Project Goal The goal of this project is to explore which factors are most strongly related to heart disease,using statistical analysis and data visualization. πŸ” Research Question Which factors have the strongest impact on the likelihood of heart disease? πŸ“¦ Dataset Source: Kaggle Format: CSV ~302 samples Contains various clinical features… See the full description on the dataset page: https://huggingface.co/datasets/odedf2001/heart2.

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes21downloads
Dataset Card

❀️ Heart Disease β€” Exploratory Data Analysis

πŸ‘€ Author

Oded Fuchs


🎯 Project Goal

The goal of this project is to explore which factors are most strongly related to heart disease, using statistical analysis and data visualization.


πŸ” Research Question

Which factors have the strongest impact on the likelihood of heart disease?

πŸ“¦ Dataset

  • β€”Source: Kaggle
  • β€”Format: CSV
  • β€”~302 samples
  • β€”Contains various clinical features

Target

target

  • β€”1 = Heart disease
  • β€”0 = No heart disease

🏷 Feature Overview

FeatureDescription
ageAge
sex0 = female, 1 = male
cpChest pain type
trestbpsResting blood pressure
cholCholesterol
fbsFasting blood sugar
restecgResting ECG results
thalachMaximum heart rate
exangExercise-induced angina
oldpeakST depression
slopeSlope of ST
caNumber of major vessels
thalThallium test result
targetHeart disease indicator

πŸ”§ Data Preparation

βœ… Cleaning Steps

  • β€”Checked for missing values β€” none found
  • β€”Checked for duplicate records
  • β€”Verified valid ranges
  • β€”Adjusted and simplified column names

πŸ“Š Exploratory Data Analysis (EDA)

Target Distribution

image


βœ… Key Features & Insights

1) Age

Patients with heart disease are slightly younger on average.

image


2) Chest Pain (cp)

One of the strongest predictors: Higher chest pain type is strongly linked to heart disease.

image


3) Max Heart Rate (thalach)

Patients with heart disease tend to have a higher maximum heart rate.

image


4) ST Depression (oldpeak)

Lower oldpeak values are more common among heart-disease patients.

image


5) Exercise-Induced Angina (exang)

Most patients do not experience chest pain during exercise.

image


6) Thal

Moderate difference between groups, still noticeable.

image


πŸ“‘ Summary Table

FeatureNo Disease (0)Disease (1)Insight
cp0.481.38Strong relationship
thalach139159Higher among disease
oldpeak1.600.57Lower among disease
exang0.550.14Less common in disease
age56.652.4Slightly younger
chol251241Small difference
ca1.160.37⚠️ Opposite trend
trestbps134129Weak effect
thal2.542.12Moderate effect

βœ… Main Insights

πŸ“Œ Strong indicators of heart disease: 1) Chest Pain (cp) 2) Max Heart Rate (thalach) 3) ST Depression (oldpeak) 4) Exercise-Induced Angina (exang)

πŸ“Œ Additional observations:

  • β€”Exercise-induced angina (exang) is less common among patients with heart disease
  • β€”Cholesterol and blood pressure show weaker relationships
  • β€”ca shows an unexpected pattern β†’ may indicate data/coding issues

βœ… Conclusions

Several clinical measurements appear strongly connected to heart disease, including chest pain type, maximum heart rate, and ST-related metrics. Other features, such as cholesterol and resting blood pressure, show weaker influence.


🎬 Video Presentation

πŸ”— https://www.loom.com/share/d5891c3d0c20490ba79884fc701f4bc7

🧾 Files Included

FileDescription
Assignment1oded_fuchs.ipynbAnalysis & visuals
README.mdProject summary
heart.csvOriginal dataset