HealSync
Precision Health, One Prediction at a Time
The problem HealSync solves
HealSync isn’t just another health tech gimmick—it’s a precision tool designed to tackle two massive, interconnected problems in healthcare: patients’ lack of timely, clear risk awareness and healthcare providers’ struggle with overloaded, inefficient diagnostics. These issues create a dangerous gap where preventable conditions escalate, lives are risked, and resources are wasted. HealSync bridges that gap with an AI-powered risk predictor that’s fast, accurate (90.8% accuracy, 0.9857 ROC AUC), and actionable, using just five everyday inputs: age, weight, systolic blood pressure, diastolic blood pressure, and smoking status. Let’s unpack the problem and how HealSync flips the script.
Challenges we ran into
Challenges We Ran Into
Building HealSync wasn’t smooth sailing—bugs hit hard. Here’s what we faced and how we crushed it.
-
Class Imbalance Skewed Everything
Issue: Model stuck on “Moderate Risk” for all—data skewed (60% Low, 10% High). ROC AUC was a sad 0.65.
Fix: Added SMOTE in load_and_preprocess_data—balanced classes to ~33% each. ROC jumped to 0.9857, High Risk at 0.9980. -
Missing Data Crashed Features
Issue: No weight_kg or height_cm in final_dataset.csv—bmi calcs died with NaNs.
Fix: Set defaults (height_cm = 170.0) in engineer_features. Stable 41 features—demo like [25, 65, 115, 75, 0] worked. -
Memory Overload Stalled Training
Issue: Big dataset + batch size 32 crashed—70% accuracy max.
Fix: Cut batch to 16, added early stopping in train_model. Hit 90.8%—saved as best_model.pth. -
Predictions Ignored Red Flags
Issue: [65, 90, 155, 95, 1] got “Moderate”—missed high BP.
Fix: Added rules in predict() (e.g., systolic > 140 = High). Now 100% High Risk. -
No UI, Just Console
Issue: Demo was plain text—lacked wow.
Fix: Formatted run_healsync_demo—planned Streamlit, pitched with screenshots.
Tracks Applied (1)
