| { |
| "optimal_threshold": 0.293748559646689, |
| "feature_names": [ |
| "pressure_mb", |
| "pressure_change_24h", |
| "pressure_volatility", |
| "humidity_pct", |
| "temperature_c", |
| "is_pressure_drop", |
| "sleep_total_hours", |
| "deep_sleep_min", |
| "rem_sleep_min", |
| "resting_hr", |
| "hrv_avg_ms", |
| "workout_min", |
| "menstrual_flow_flag", |
| "had_headache_1d", |
| "severity_1d", |
| "duration_1d", |
| "mood_1d", |
| "symptom_count_1d", |
| "trigger_count_1d", |
| "had_headache_2d", |
| "severity_2d", |
| "duration_2d", |
| "dow_sin", |
| "dow_cos", |
| "month_sin", |
| "month_cos", |
| "doy_sin", |
| "doy_cos", |
| "is_weekend", |
| "age_midpoint", |
| "is_europe", |
| "is_tropical", |
| "sleep_x_pressure", |
| "low_hrv_flag", |
| "sleep_deficit", |
| "high_humidity_flag", |
| "headache_streak_2d", |
| "consecutive_headache_days" |
| ], |
| "num_features": 38, |
| "model_version": "3.0.0", |
| "trained_at": "2026-03-12T10:47:40.844379", |
| "test_metrics": { |
| "roc_auc": 0.6859, |
| "pr_auc": 0.5669, |
| "f1": 0.5593 |
| }, |
| "training_rows": 150480, |
| "feature_importances": { |
| "had_headache_1d": 0.039352, |
| "pressure_change_24h": 0.008701, |
| "consecutive_headache_days": 0.007257, |
| "hrv_avg_ms": 0.004118, |
| "headache_streak_2d": 0.003967, |
| "duration_2d": 0.003535, |
| "duration_1d": 0.002007, |
| "humidity_pct": 0.001802, |
| "menstrual_flow_flag": 0.001657, |
| "temperature_c": 0.001522, |
| "resting_hr": 0.000438, |
| "had_headache_2d": 0.000436, |
| "rem_sleep_min": 0.000399, |
| "pressure_mb": 0.000374, |
| "pressure_volatility": 0.000369 |
| } |
| } |