Heart Health Predictor is a web application built using Streamlit that helps users assess their risk of developing a heart disease. Users can input various health parameters, and the application uses a machine learning model to provide a prediction.
- Development: Contains Jupyter Notebook (
heart-health-development.ipynb
) for initial development and dataset (heart.csv
) used for training the model. - final_model.p: Pickle file containing the trained machine learning model.
- heart.py: Python script for the Streamlit web application.
- requirements.txt: List of Python dependencies required to run the project.
Data Source: Heart Health Data
The dataset used in this project is sourced from Kaggle. It includes various health parameters such as age, sex, cholesterol levels, and more, along with a target variable indicating the presence of heart disease.
-
Clone the repository:
git clone https://github.com/hardikjp7/Heart-Health-Predictor.git
-
Navigate to the project directory:
cd Heart-Health-Predictor
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the Streamlit web application:
streamlit run heart.py
The Heart Health Predictor app allows users to input their age, gender, cholesterol levels, and other relevant information. Based on this input, the app predicts the user's risk of developing heart disease. The predictions are displayed in a user-friendly interface, with high-risk predictions shown in red and low-risk predictions in green. The app also provides information about how to interpret the results and encourages users to seek medical advice if they have concerns about their heart health.