https://github.com/sofiasawczenko/heart_failure_forecasting
This heart failure prediction project uses a Kaggle dataset, where several data preprocessing techniques were applied, followed by validations using methods like logistic regression, cross-validation, Naive Bayes, Random Forest, KNN and SVM.
https://github.com/sofiasawczenko/heart_failure_forecasting
Last synced: about 1 year ago
JSON representation
This heart failure prediction project uses a Kaggle dataset, where several data preprocessing techniques were applied, followed by validations using methods like logistic regression, cross-validation, Naive Bayes, Random Forest, KNN and SVM.
- Host: GitHub
- URL: https://github.com/sofiasawczenko/heart_failure_forecasting
- Owner: sofiasawczenko
- Created: 2023-07-28T17:12:08.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T10:37:33.000Z (over 1 year ago)
- Last Synced: 2024-12-18T11:38:01.751Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 261 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Predicting Heart Failure with Supervised Learning Classification
Heart failure is a critical medical condition where the heart cannot pump enough blood to meet the body’s needs, often due to a weakened or damaged heart muscle. This project applies supervised learning to predict heart failure risk based on medical features. The dataset contains 917 samples and 12 features. The goal is to classify whether a patient has heart disease or not based on these features.
## Project Overview
This project uses supervised learning to predict the likelihood of heart failure in patients. The model is trained on labeled data to classify patients as either "at risk of heart failure" or "not at risk of heart failure". The following features are used:
- **Age** (in years)
- **Sex** (0 for male, 1 for female)
- **Chest Pain Type** (0 for Typical Angina, 1 for Atypical Angina, 2 for Non-Anginal Pain, 3 for Asymptomatic)
- **Resting Blood Pressure** (in mmHg)
- **Cholesterol Level** (in mg/dl)
- **Fasting Blood Sugar** (0 for < 120 mg/dl, 1 for >= 120 mg/dl)
- **Resting Electrocardiogram** (0 for Normal, 1 for Abnormality in ST-T wave, 2 for Left Ventricular Hypertrophy)
- **Maximum Heart Rate**
- **Exercise-Induced Angina** (0 for No, 1 for Yes)
- **ST Depression induced by Exercise relative to Rest**
- **Slope of the ST Segment** (0 for Upsloping, 1 for Flat, 2 for Downsloping)
- **Heart Disease** (0 for No heart disease, 1 for Presence of heart disease)
## Data Source:
The dataset used in this project is from [Kaggle: Heart Failure Prediction](https://www.kaggle.com/fedesoriano/heart-failure-prediction/version/1).