This repository contains the source code and implementation for a heart disease prediction model deployed on Flask. The machine learning model predicts the likelihood of heart disease based on input features such as age, gender, various health metrics, and test results.
- Flask web application for heart disease prediction
- Pre-trained machine learning model
- User-friendly web interface
- Input validation and error handling
- Complete backend integration
- Complete database integration
-
Clone the repository:
git clone https://github.com/XDFrost/Heart-Disease-Prediction-Model.git
-
Change into the project directory:
cd Heart-Disease-Prediction-Model
-
Install the required dependencies:
pip install -r requirements.txt
-
Add uri and app passwords to config.json file. Make a .env file and add variables in it
Required variables for .env file:
- production_URI
- secret_key
- MAIL_USERNAME
- MAIL_PASSWORD
-
Start the Flask application:
python app.py
-
Open your web browser and go to http://localhost:5000
-
Use the web interface to input the required features and get predictions.
This project is licensed under the MIT License - see the LICENSE file for details.