Skip to content

A machine learning project predicting the likelihood of heart disease using a dataset and Jupyter Notebook. It includes preprocessing, EDA, and model evaluation.

Notifications You must be signed in to change notification settings

B1tW1z/Heart-disease-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Heart Prediction

This project predicts the likelihood of heart disease using a machine learning model. The notebook includes data preprocessing, exploratory data analysis (EDA), and model training with 80% accuracy .

Table of Contents

Overview

Heart disease is a major cause of death worldwide, and predicting its occurrence can save lives by enabling timely intervention. This project uses machine learning techniques to classify individuals based on their likelihood of having heart disease.

Features

  • Data Preprocessing: Handles missing values and scales the dataset.
  • Exploratory Data Analysis (EDA): Visualizes relationships between features and the target variable.
  • Model Training: Implements machine learning models such as Logistic Regression, Decision Trees, or others.
  • Evaluation: Includes metrics like accuracy, precision, recall, and F1-score to assess model performance.

Installation

  1. Clone this repository:
    git clone https://github.com/B1tW1z/heart-disease-prediction.git
    cd heart-prediction
  2. Ensure you have Python installed along with Jupyter Notebook and the required libraries.

Usage

  1. Place the dataset CSV file in the same directory as the notebook.
  2. Open the Jupyter Notebook:
    jupyter notebook heart_prediction.ipynb
  3. Run the cells in sequence to execute the data preprocessing, EDA, model training, and evaluation steps.

Results

The project outputs:

  • Data visualizations highlighting key patterns in the dataset.
  • KNN , Logistic Regression and Random Forest used to train
  • Performance metrics of the trained machine learning model.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

About

A machine learning project predicting the likelihood of heart disease using a dataset and Jupyter Notebook. It includes preprocessing, EDA, and model evaluation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published