The Heart Disease Prediction web app predicts the likelihood of heart disease based on input parameters related to an individual's medical data.
The Heart Disease Prediction Web Application aims to assist users in understanding their risk of heart disease based on medical attributes such as age, sex, chest pain type, blood pressure, cholesterol levels, ECG results, maximum heart rate, exercise angina, old peak, and ST slope. By inputting these parameters, users can obtain predictions about the likelihood of having heart disease using a machine learning model.
-
Install the requirements
pip install -r requirements.txt
-
Run the Flask app by executing the following command in the project directory:
python app.py
-
Open a web browser and navigate to
http://localhost:5000/
. -
On the home page, you can:
- Input various medical parameters such as age, sex, chest pain type, etc.
- Click the "Submit" button to obtain a prediction about the likelihood of heart disease.
-
The prediction will be displayed on the prediction page along with the input parameters.