WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

CodeWithMehru/Heart-Disease-Prediction

Repository files navigation

❤️ Heart Disease Prediction Using Machine Learning

Created by CodeWithMehru

This project is a Machine Learning-based application that predicts the likelihood of heart disease using multiple algorithms such as:

  • Decision Tree
  • Random Forest
  • K-Nearest Neighbors (KNN)
  • Support Vector Machine (SVM)
  • K-Means Clustering

The dataset used is heart.csv, which contains medical attributes commonly associated with cardiovascular health.


🚀 How to Run

1. Install the required libraries:

pip install pandas numpy scikit-learn matplotlib

python3 heartdieseaspredictor.py

python3 decesiontreee.py
python3 knn.py
python3 svm.py
python3 randomforest.py
python3 kmean.py

###---

📊 Dataset Information

The dataset contains features such as:

Age

Sex

Cholesterol

Fasting Blood Sugar

Max Heart Rate

Chest Pain Type

Oldpeak

Resting ECG

Slope

CA

Thal

---

✨ Features

Multi-algorithm comparison

Clean ML workflow

Beginner-friendly

Good for portfolio, college submission, or GitHub

📌 Author

💻 Developed by: CodeWithMehru

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages