{ "model_version": "phase_classifier_v1", "model_type": "RandomForestClassifier", "trained_on": "2025-10-16 18:49:16", "features_used": 16, "feature_names": [ "cycle_day", "cycle_length", "cycle_day_sin", "cycle_day_cos", "sdnn_z_mad_clipped", "resting_hr_bpm", "sleep_hours", "confidence_score", "vigorous_workout", "illness", "oc_user", "cramps", "mood", "breast_tenderness", "bloating", "is_menses" ], "numeric_features_preprocessed": [ "cycle_day", "cycle_length", "cycle_day_sin", "cycle_day_cos", "sdnn_z_mad_clipped", "resting_hr_bpm", "sleep_hours", "oc_user", "cramps", "breast_tenderness", "bloating", "is_menses" ], "val_accuracy": 0.8157589803012746, "val_macro_f1": 0.814441944405716, "test_accuracy": 0.8329466357308585, "test_macro_f1": 0.8277892739089328, "test_per_class_f1": { "follicular": 0.8595458368376787, "luteal": 0.78330658105939, "menses": 1.0, "ovulation_window": 0.6915254237288135, "premenstrual": 0.8045685279187818 }, "test_confusion_matrix": [ [ 511, 15, 0, 53, 10 ], [ 9, 488, 0, 74, 50 ], [ 0, 0, 532, 0, 0 ], [ 63, 64, 0, 306, 11 ], [ 17, 58, 0, 8, 317 ] ], "notes": "Synthetic HRV + symptom-based cycle phase classification baseline after removing day leakage and applying adjacent-phase jitter. Categorical features (mucus) preprocessed with OneHotEncoder." }