A machine learning-powered web application that predicts a patient's risk of having a heart attack based on key clinical parameters.
This application takes in medical inputs such as age, blood pressure, heart rate, and cardiac enzyme levels to estimate the likelihood of a heart attack using a trained Random Forest model. The web interface is built using Streamlit.
DEMO LINK
project/
├── app.py
├── model/
│ └── heart_model.pkl
├── assets/
│ ├── heart.png
│ └── icon.png
- User-friendly web interface
- Real-time prediction of heart attack risk
- Model trained using:
- Age
- Gender
- Heart rate
- Systolic & Diastolic blood pressure
- Blood sugar
- CK-MB & Troponin levels
Sourced from Kaggle, the dataset includes clinical data points relevant to heart health.
git clone https://github.com/Hasan-Uddin/HeartAttackPredictionUsingML-App.git
cd heart_attack_predictorpip install -r requirements.txtcd model
jupyter notebook train_model.ipynbcd heart_attack_predictor
streamlit run app.py