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.
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