A behavioral-pattern AI project for the HealthTech Innovators Hackathon 2025
PharmaSync AI is a lightweight, behavior-driven tool that analyzes when users actually attempt to take their medication and uses Machine Learning to recommend the best one-hour window where they are most likely to remember.
Instead of focusing on dosage or diagnosis, PharmaSync AI focuses strictly on habit patterns — giving users a personalized, data-driven adherence schedule.
- Dynamic KMeans clustering (1–3 clusters depending on data size)
- Automatically selects the strongest adherence pattern
- Returns:
- Best time window to take medication
- One-hour optimized window
- Confidence score (%)
Users can enter:
- Time attempted
- Success or missed
Data updates live inside the app.
- Success Rate by Time of Day
- Raw Attempts Scatter Plot
- Highlights high-adherence vs low-adherence time ranges.
Shows how dependable the AI’s recommendation is based on pattern strength.
All entered data can be downloaded for reuse or analysis.
- User records daily attempts (time + success).
- ML engine converts time → minutes for clustering.
- Dynamic clustering:
- If successes = 1 → simple rule model
- If successes = 2 → k = 1 or 2
- If successes ≥ 3 → k = 1, 2, 3
- The model selects the cluster with the highest success density.
- Produces the optimal 1-hour window + confidence score.
- Python
- Streamlit
- Pandas
- Seaborn
- Matplotlib
- Scikit-learn
PharmaSync-AI/
│── app.py # Streamlit UI
│── pharmasync_model.py # ML clustering engine
│── requirements.txt # Dependencies
│── README.md # Documentation
│── habit_data.csv (optional)
- Multi-user behavior profiles
- Weekday vs weekend adherence modeling
- Personalized reminder engine
- Behavior drift detection
- Mobile UI version
Devi Manoharan
Enterprise Quality Engineering Specialist
FOE Portfolio Project
PharmaSync AI – HealthTech Innovators Hackathon 2025 Submission