Prediabetes risk estimator for Rwanda, built on WHO STEP Survey data.
# Rwanda Prediabetes Risk Predictor
A tool that estimates a person's risk of prediabetes based on lifestyle,
health background, and body measurements. Built using data from the
Rwanda WHO STEP Survey (2021-2022).
## Two versions
**App1** shows your risk as a category only: Low, Moderate, or High.
**App2** shows your exact estimated risk percentage, along with the
category.
Both versions use the same underlying model and ask the same
questions. The only difference is how the result is displayed.
## How it works
You answer questions about your age, sex, lifestyle (smoking, alcohol,
diet, physical activity), and health background. For a more accurate
result, you can also add body measurements (weight, height, waist
circumference) and lab values if you have them.
The tool then estimates your risk using a model trained on real survey
data from Rwanda.
## Data source
Rwanda WHO STEP Survey 2021-2022, conducted by the Rwanda Biomedical
Centre and Ministry of Health.
## Running locally
```
pip install -r requirements.txt
streamlit run App1.py
```
(or `App2.py` for the percentage version)
## Disclaimer
This tool estimates risk based on population data. It does not replace
a clinical diagnosis. Please consult a healthcare provider to confirm
any result.
## Author
Pasteur DUSHIMIMANA