File size: 2,009 Bytes
cb0ad4c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | {
"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."
} |