Skip to content

Manishnm10/Heart-Failure-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Heart-Failure-Prediction

Predict a heart attack in a human being using ML.

Overview:
This project aims to predict whether a patient is prone to heart failure using machine learning techniques. It is a binary classification problem based on a dataset containing various numerical and categorical features related to cardiovascular health. The dataset is sourced from publicly available medical data and focuses on early detection to aid in managing cardiovascular diseases (CVDs), which are a leading cause of global mortality.
The analysis is performed in a Jupyter Notebook (heart.ipynb), where data exploration, preprocessing, model training, and evaluation are demonstrated. Logistic Regression is used as the primary model, achieving solid performance metrics.

Dataset:
The dataset (heart.csv) contains 918 entries with 12 attributes. It includes patient information such as age, sex, chest pain type, and other clinical metrics, with the target variable being HeartDisease (1: heart disease, 0: normal).

The dataset is loaded and explored in the notebook.

Installation:

  1. Clone the repository. git clone https://github.com/Manishnm10/heart-failure-prediction.git cd heart-failure-prediction
  2. Install the required libraries in Python. pip install -r requirements.txt If requirements.txt is no available, install manually. pip install pandas numpy matplotlib seaborn scikit-learn
  3. Install Jupyter notebook. pip install notebook

About

Predict a heart attack in a human being using ML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published