This project is a Streamlit-based web application for predicting heart disease severity using a pre-trained machine learning model. The model takes various patient health metrics as input and provides a prediction on the likelihood of heart disease.
- User-friendly web interface built with Streamlit
- Accepts patient details such as age, cholesterol level, heart rate, and more
- Uses a pre-trained machine learning model to predict heart disease severity
- Displays prediction results in an easy-to-understand format
app.py
- Main Streamlit application scriptheart_disease_pred_model.pkl
- Pre-trained machine learning modelheart_disease_data.csv
- Dataset used for training the modelHeart_Disease_Prediction.ipynb
- Jupyter notebook containing data preprocessing, model training, and evaluation
To run the application locally, follow these steps:
-
Clone this repository:
git clone https://github.com/hamzakamelen/Heart-Disease-Prediction.git cd Heart-Disease-Prediction
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
streamlit run app.py
- Open the app in your browser after running
streamlit run app.py
- Enter the patient's health details in the provided fields
- Click the "Predict Heart Disease Severity" button
- View the model's prediction for heart disease severity
Feel free to contribute to this project by submitting issues or pull requests.
This project is licensed under the MIT License.
Developed by Hamza Kamelen