Skip to content

M-F-Tushar/Heart-Disease-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🫀 Heart Disease Classification

This project uses machine learning techniques to classify whether a patient is likely to have heart disease based on clinical and demographic features. The goal is to build a predictive model that can support early diagnosis and potentially assist healthcare professionals.

📘 About the Notebook

The Jupyter Notebook Heart-Disease-Classification.ipynb includes:

  • Data preprocessing and exploration
  • Feature engineering
  • Model training with various classifiers (e.g., Logistic Regression, Random Forest, etc.)
  • Evaluation using metrics like accuracy, precision, recall, and F1-score
  • Visualization of model performance

📂 Dataset

The original data came from the Cleveland database from UCI Machine Learning Repository.

Howevever, i downloaded it in a formatted way from Kaggle.

The original database contains 76 attributes, but here only 14 attributes will be used. Attributes (also called features) are the variables what we'll use to predict our target variable.t+Disease), Attributes containing features such as:

  • Age, Sex, Chest pain type
  • Resting blood pressure, Cholesterol
  • Fasting blood sugar, Max heart rate
  • Exercise-induced angina, ST depression, etc.

✅ The dataset is included in the Repository, link is also prvided for it.

🧰 Requirements

To run this notebook, install the following Python packages:

pip install pandas numpy matplotlib seaborn scikit-learn

Or use the provided requirements.txt

🚀 How to Use

  1. Clone the repo:
git clone https://github.com/M-F-Tushar/Heart-Disease-Classification.git
cd Heart-Disease-Classification
  1. Open the notebook:
jupyter notebook Heart-Disease-Classification.ipynb
  1. Run all cells and follow the analysis.

🤝 Contributing

Contributions are welcome! Feel free to fork the repo and submit a pull request.

About

A machine learning project that classifies heart disease using clinical data. It includes data preprocessing, model training, evaluation, and visualization in a Jupyter Notebook.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors