A privacy-preserving, federated learning system for health risk prediction using real-world open datasets. Simulates Apple Watch/Fitbit signals for research and prototyping.
- Federated Learning (Flower + PyTorch)
- Real-world data integration (WESAD, Fitbit, MIMIC-IV)
- Personalization layer (per-user fine-tuning, SHAP explanations)
- Streamlit dashboard (training stats, risk scores, feature importances)
- Docker Compose orchestration
- CI with GitHub Actions
[Server] <--> [Clients 1..N] <--> [Dashboard]
- backend/
- server.py
- model.py
- utils/
- clients/
- client_1/train.py
- client_N/train.py
- data/
- raw/
- processed/
- generate_dataset.py
- dashboard/
- app.py
- visualizations.py
- Dockerfile
- docker-compose.yml
- requirements.txt
- .github/workflows/ci.yml
- Generate placeholder data:
python data/generate_dataset.py
- Start with Docker Compose:
docker-compose up --build
- Access dashboard at http://localhost:8501
- WESAD: https://archive.ics.uci.edu/ml/datasets/WESAD
- Fitbit Public Dataset: https://www.fitabase.com/databank/
- MIMIC-IV Waveform: https://physionet.org/content/mimiciv/
- [Placeholder for dashboard screenshots]