This project is a Machine Learning-based Cardiovascular Disease Prediction System developed as part of my BTech Artificial Intelligence coursework.
The system uses three trained models to analyze patient data and provide:
- ECG-based prediction
- Heart risk prediction
- Final cardiovascular diagnosis
Loads three trained ML models
Predicts heart-related risks
Clean and modular Python structure
Easy to convert into FastAPI or Streamlit app
Designed for academic and research purposes
The system uses three trained models:
- ECG Model – Analyzes ECG-related features
- Heart Risk Model – Predicts heart disease risk
- Diagnosis Model – Provides final cardiovascular diagnosis
Models are stored as: cardio_project/ │ ├── main.py ├── app.py ├── ecg_model.pkl ├── heart_model.pkl ├── diagnosis_model.pkl └── README.md
Due to GitHub file size limitations, trained model files are not stored in this repository.
Download models from: [Google Drive Link]
Place the downloaded .pkl files in the project root directory before running the program.
- Clone the repository:
git clone https://github.com/your-username/cardio-project.git
cd cardio_project
pip install joblib scikit-learn xgboost