EpiPredict Kenya AI is a disease surveillance platform designed for Kenyan healthcare organizations. It helps hospitals, pharmacies, and county health departments predict disease outbreaks 14-21 days in advance with high accuracy, enabling proactive public health responses.
# EpiPredict Kenya AI ๐ฐ๐ช
**AI-Powered Disease Outbreak Prediction for Kenya**
Demo โข Features โข Architecture โข Quick Start โข Kubernetes โข Contributing
---
## Why This Matters
**The Problem:** Healthcare response to disease outbreaks in Kenya is often **reactionary**. Hospitals and counties deal with outbreaks *after* they happen, leading to overwhelmed facilities, medication shortages, and preventable loss of life.
**The Pain Points:**
- ๐ **Delayed Data**: Paper records take weeks to aggregate.
- ๐ฅ **Overwhelmed Hospitals**: Sudden patient surges catch facilities off guard.
- ๐ **Supply Chain Gaps**: Pharmacies run out of critical meds during peak demand.
**The Solution:** EpiPredict Kenya AI flips the script from *reaction* to *prediction*. By analyzing patterns in real-time, we give decision-makers a **2-week head start** to mobilize resources, stock medicines, and warn communities.
---
## Features
| Feature | Description |
|---------|-------------|
| ๐ **Real-time Dashboard** | Monitor disease trends across all 47 Kenyan counties |
| ๐ฎ **Predictive Analytics** | AI-powered outbreak predictions 14-21 days ahead |
| ๐จ **Smart Alerts** | Receive notifications when risk levels change |
| ๐ง **ML Prediction Engine** | Gaussian Naive Bayes classifier trained on epidemiological data |
| ๐ค **AI Chatbot (EpiBot)** | Context-aware LLM-powered health advisor |
| ๐บ๏ธ **County Mapping** | Visualize outbreak data geographically |
| ๐ณ **Containerized** | Full Docker Compose & Kubernetes orchestration |
| ๐ **Dark Mode** | Full dark mode support |
---
## ๐ Architecture
The application follows a **microservices architecture** with 4 independently deployable tiers:
```mermaid
graph TD
Browser["๐ Browser"] -->|Port 80 / 30080| Frontend["๐ฑ Frontend React + Nginx"]
Frontend -->|HTTP /api| Backend["โ๏ธ Backend FastAPI Gateway"]
Backend -->|SQLAlchemy| Database[("๐ Database PostgreSQL 15")]
Backend -->|HTTP /predict, /train| MLService["๐ง ML Service FastAPI + sc โฆ