A visualization program designed to help users check their risk levels for diabetes. This tool can provide valuable insights into potential health risks and assist users in making informed decisions about their well-being.
This project uses dataset from kaggle.com
Information table image sources BMI, Blood pressure, Age, and Glucose
file | Description |
---|---|
application.py | The class for controlling both UI and Model. |
diabetes_model.py | The model class that load and compute data. |
diabetes_view.py | The GUI class for user interface. |
main.py | Main script to run the program. |
data | Folder that contain both pictures and data for model to compute and UI to display. |
Windows and macOS have only slightly different when it comes to menubar.
Tab(macOS) | Example |
---|---|
Storytelling(Home) | |
Histogram and statistic tab | |
Freestyle tab |
Tab(Other type) | Example |
---|---|
Home(Windows) | |
Home(Light Mode) |
-
Open Terminal (macOS/Linux) or Powershell/Command Prompt (Windows).
-
Clone files from GitHub repository.
git clone https://github.com/PeanutPK/Diabetes-Analysis.git
- After cloning changes your directory to the existing folder.
cd Diabetes-Analysis
- Install all requirements in requirements.txt.
pip install -r requirements.txt
- Run main.py file
python main.py
- Open Terminal (macOS/Linux) or Powershell/Command Prompt (Windows).
- Change directory to the project
cd Diabetes-Analysis
- Create a Virtual Environment.
- for macOS/Linux
python -m venv env
- or for Windows
python3 -m venv env
- Open Terminal (macOS/Linux) or Powershell/Command Prompt (Windows).
- Change directory to the project
cd Diabetes-Analysis
- Activating venv
- for macOS/Linux
source env/bin/activate
- or for Windows
env\Scripts\activate
Deactivating venv
deactivate