Tchak91 commited on
Commit
41bd0fd
·
verified ·
1 Parent(s): 0648a44

Training results - 20251126_232703

Browse files
.gitattributes CHANGED
@@ -64,3 +64,6 @@ checkpoint_epoch_025.keras filter=lfs diff=lfs merge=lfs -text
64
  checkpoint_epoch_035.keras filter=lfs diff=lfs merge=lfs -text
65
  checkpoint_epoch_040.keras filter=lfs diff=lfs merge=lfs -text
66
  checkpoint_epoch_050.keras filter=lfs diff=lfs merge=lfs -text
 
 
 
 
64
  checkpoint_epoch_035.keras filter=lfs diff=lfs merge=lfs -text
65
  checkpoint_epoch_040.keras filter=lfs diff=lfs merge=lfs -text
66
  checkpoint_epoch_050.keras filter=lfs diff=lfs merge=lfs -text
67
+ training_results/model_20251126_214649.keras filter=lfs diff=lfs merge=lfs -text
68
+ training_results/roc_curves_20251126_214649.png filter=lfs diff=lfs merge=lfs -text
69
+ training_results/threshold_optimization_20251126_214649.png filter=lfs diff=lfs merge=lfs -text
training_results/confusion_matrices_20251126_214649.png ADDED
training_results/evaluation_metrics_20251126_214649.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ Class,Precision,Recall,F1-Score,ROC-AUC,Support
2
+ Myocarditis,0.8045977011494253,0.8433734939759037,0.8235294117647058,0.9822673795232773,415
3
+ Cardiomyopathy,0.8524590163934426,0.9811320754716981,0.9122807017543859,0.9996838484495928,53
4
+ Kawasaki,0.5882352941176471,0.6349206349206349,0.6106870229007634,0.9758098219443181,63
5
+ CHD,0.8439849624060151,0.8487712665406427,0.8463713477851084,0.9748555944410885,1058
6
+ Healthy,0.9792474786656322,0.9709615384615384,0.9750869061413673,0.9724127414435786,10400
training_results/metrics_summary_20251126_214649.png ADDED
training_results/model_20251126_214649.keras ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:850c21d3fbbe39d7ce818a76fb243ef357ffe6fac35eda46d35d40dbcea23f3e
3
+ size 5990753
training_results/predictions_20251126_214649.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33d4d7fbb6503b0b0606aaf6d7518278cc17f280398eb2f9edd23151fb29e94d
3
+ size 959876
training_results/results_20251126_214649.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "20251126_214649",
3
+ "disease_classes": [
4
+ "Myocarditis",
5
+ "Cardiomyopathy",
6
+ "Kawasaki",
7
+ "CHD",
8
+ "Healthy"
9
+ ],
10
+ "epochs_trained": 50,
11
+ "test_samples": 11989,
12
+ "global_metrics": {
13
+ "hamming_loss": 0.01756610226040537,
14
+ "exact_match_accuracy": 0.9536241554758529,
15
+ "subset_accuracy": 0.9538326799566269,
16
+ "micro_f1": 0.9559948180032597,
17
+ "macro_f1": 0.8042808578768124,
18
+ "mean_roc_auc": 0.981005877160371
19
+ },
20
+ "per_class_metrics": {
21
+ "Myocarditis": {
22
+ "precision": 0.8045977011494253,
23
+ "recall": 0.8433734939759037,
24
+ "f1_score": 0.8235294117647058,
25
+ "roc_auc": 0.9822673795232773,
26
+ "support": 415
27
+ },
28
+ "Cardiomyopathy": {
29
+ "precision": 0.8524590163934426,
30
+ "recall": 0.9811320754716981,
31
+ "f1_score": 0.9122807017543859,
32
+ "roc_auc": 0.9996838484495928,
33
+ "support": 53
34
+ },
35
+ "Kawasaki": {
36
+ "precision": 0.5882352941176471,
37
+ "recall": 0.6349206349206349,
38
+ "f1_score": 0.6106870229007634,
39
+ "roc_auc": 0.9758098219443181,
40
+ "support": 63
41
+ },
42
+ "CHD": {
43
+ "precision": 0.8439849624060151,
44
+ "recall": 0.8487712665406427,
45
+ "f1_score": 0.8463713477851084,
46
+ "roc_auc": 0.9748555944410885,
47
+ "support": 1058
48
+ },
49
+ "Healthy": {
50
+ "precision": 0.9792474786656322,
51
+ "recall": 0.9709615384615384,
52
+ "f1_score": 0.9750869061413673,
53
+ "roc_auc": 0.9724127414435786,
54
+ "support": 10400
55
+ }
56
+ }
57
+ }
training_results/roc_curves_20251126_214649.png ADDED

Git LFS Details

  • SHA256: b715da4a7118e1abe8fe0494961e2bf1bd6b16e8ede4423fdf22f7b4f035acfc
  • Pointer size: 131 Bytes
  • Size of remote file: 160 kB
training_results/threshold_comparison_20251126_214649.csv ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Strategy,Class,Threshold,Precision,Recall,F1-Score
2
+ Baseline (0.5),Myocarditis,0.5,0.8045977011494253,0.8433734939759037,0.8235294117647058
3
+ Baseline (0.5),Cardiomyopathy,0.5,0.8524590163934426,0.9811320754716981,0.9122807017543859
4
+ Baseline (0.5),Kawasaki,0.5,0.5882352941176471,0.6349206349206349,0.6106870229007634
5
+ Baseline (0.5),CHD,0.5,0.8439849624060151,0.8487712665406427,0.8463713477851084
6
+ Baseline (0.5),Healthy,0.5,0.9792474786656322,0.9709615384615384,0.9750869061413673
7
+ F1-Maximization,Myocarditis,0.8199999999999996,0.8842105263157894,0.8096385542168675,0.8452830188679246
8
+ F1-Maximization,Cardiomyopathy,0.8799999999999996,0.9622641509433962,0.9622641509433962,0.9622641509433962
9
+ F1-Maximization,Kawasaki,0.7999999999999996,0.723404255319149,0.5396825396825397,0.6181818181818182
10
+ F1-Maximization,CHD,0.8199999999999996,0.9144385026737968,0.8081285444234405,0.8580030105368791
11
+ F1-Maximization,Healthy,0.12,0.9717230943824475,0.9879807692307693,0.979784495089158
12
+ Youden's J,Myocarditis,0.20999999999999996,0.7029126213592233,0.8722891566265061,0.7784946236559139
13
+ Youden's J,Cardiomyopathy,0.29999999999999993,0.8,0.9811320754716981,0.8813559322033898
14
+ Youden's J,Kawasaki,0.12,0.3533834586466165,0.746031746031746,0.47959183673469385
15
+ Youden's J,CHD,0.13,0.6991150442477876,0.8960302457466919,0.7854183927091963
16
+ Youden's J,Healthy,0.7699999999999997,0.9829804076786067,0.9551923076923077,0.9688871549790306
17
+ Recall-Prioritized,Myocarditis,0.8200000000000002,0.8842105263157894,0.8096385542168675,0.8452830188679246
18
+ Recall-Prioritized,Cardiomyopathy,0.8800000000000002,0.9622641509433962,0.9622641509433962,0.9622641509433962
19
+ Recall-Prioritized,Kawasaki,0.05,0.24867724867724866,0.746031746031746,0.373015873015873
20
+ Recall-Prioritized,CHD,0.7200000000000002,0.8924949290060852,0.831758034026465,0.8610567514677103
21
+ Recall-Prioritized,Healthy,0.12000000000000001,0.9717230943824475,0.9879807692307693,0.979784495089158
training_results/threshold_optimization_20251126_214649.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "timestamp": "20251126_214649",
3
+ "disease_classes": [
4
+ "Myocarditis",
5
+ "Cardiomyopathy",
6
+ "Kawasaki",
7
+ "CHD",
8
+ "Healthy"
9
+ ],
10
+ "optimized_thresholds": {
11
+ "f1_max": {
12
+ "Myocarditis": 0.8199999999999996,
13
+ "Cardiomyopathy": 0.8799999999999996,
14
+ "Kawasaki": 0.7999999999999996,
15
+ "CHD": 0.8199999999999996,
16
+ "Healthy": 0.12
17
+ },
18
+ "youden": {
19
+ "Myocarditis": 0.20999999999999996,
20
+ "Cardiomyopathy": 0.29999999999999993,
21
+ "Kawasaki": 0.12,
22
+ "CHD": 0.13,
23
+ "Healthy": 0.7699999999999997
24
+ },
25
+ "recall_priority": {
26
+ "Myocarditis": 0.8200000000000002,
27
+ "Cardiomyopathy": 0.8800000000000002,
28
+ "Kawasaki": 0.05,
29
+ "CHD": 0.7200000000000002,
30
+ "Healthy": 0.12000000000000001
31
+ }
32
+ },
33
+ "comparison": {
34
+ "Baseline (0.5)": {
35
+ "global_metrics": {
36
+ "hamming_loss": 0.01756610226040537,
37
+ "exact_match": 0.9536241554758529,
38
+ "subset_accuracy": 0.9538326799566269,
39
+ "micro_f1": 0.9559948180032597,
40
+ "macro_f1": 0.8335910780692661
41
+ },
42
+ "per_class_metrics": {
43
+ "Myocarditis": {
44
+ "precision": 0.8045977011494253,
45
+ "recall": 0.8433734939759037,
46
+ "f1": 0.8235294117647058,
47
+ "threshold": 0.5
48
+ },
49
+ "Cardiomyopathy": {
50
+ "precision": 0.8524590163934426,
51
+ "recall": 0.9811320754716981,
52
+ "f1": 0.9122807017543859,
53
+ "threshold": 0.5
54
+ },
55
+ "Kawasaki": {
56
+ "precision": 0.5882352941176471,
57
+ "recall": 0.6349206349206349,
58
+ "f1": 0.6106870229007634,
59
+ "threshold": 0.5
60
+ },
61
+ "CHD": {
62
+ "precision": 0.8439849624060151,
63
+ "recall": 0.8487712665406427,
64
+ "f1": 0.8463713477851084,
65
+ "threshold": 0.5
66
+ },
67
+ "Healthy": {
68
+ "precision": 0.9792474786656322,
69
+ "recall": 0.9709615384615384,
70
+ "f1": 0.9750869061413673,
71
+ "threshold": 0.5
72
+ }
73
+ }
74
+ },
75
+ "F1-Maximization": {
76
+ "global_metrics": {
77
+ "hamming_loss": 0.014613395612644924,
78
+ "exact_match": 0.9613812661606472,
79
+ "subset_accuracy": 0.9624238885645174,
80
+ "micro_f1": 0.9634665109683876,
81
+ "macro_f1": 0.8527032987238352
82
+ },
83
+ "per_class_metrics": {
84
+ "Myocarditis": {
85
+ "precision": 0.8842105263157894,
86
+ "recall": 0.8096385542168675,
87
+ "f1": 0.8452830188679246,
88
+ "threshold": 0.8199999999999996
89
+ },
90
+ "Cardiomyopathy": {
91
+ "precision": 0.9622641509433962,
92
+ "recall": 0.9622641509433962,
93
+ "f1": 0.9622641509433962,
94
+ "threshold": 0.8799999999999996
95
+ },
96
+ "Kawasaki": {
97
+ "precision": 0.723404255319149,
98
+ "recall": 0.5396825396825397,
99
+ "f1": 0.6181818181818182,
100
+ "threshold": 0.7999999999999996
101
+ },
102
+ "CHD": {
103
+ "precision": 0.9144385026737968,
104
+ "recall": 0.8081285444234405,
105
+ "f1": 0.8580030105368791,
106
+ "threshold": 0.8199999999999996
107
+ },
108
+ "Healthy": {
109
+ "precision": 0.9717230943824475,
110
+ "recall": 0.9879807692307693,
111
+ "f1": 0.979784495089158,
112
+ "threshold": 0.12
113
+ }
114
+ }
115
+ },
116
+ "Youden's J": {
117
+ "global_metrics": {
118
+ "hamming_loss": 0.02465593460672283,
119
+ "exact_match": 0.9327717073984486,
120
+ "subset_accuracy": 0.9394305891511664,
121
+ "micro_f1": 0.938834630028141,
122
+ "macro_f1": 0.7787495880564449
123
+ },
124
+ "per_class_metrics": {
125
+ "Myocarditis": {
126
+ "precision": 0.7029126213592233,
127
+ "recall": 0.8722891566265061,
128
+ "f1": 0.7784946236559139,
129
+ "threshold": 0.20999999999999996
130
+ },
131
+ "Cardiomyopathy": {
132
+ "precision": 0.8,
133
+ "recall": 0.9811320754716981,
134
+ "f1": 0.8813559322033898,
135
+ "threshold": 0.29999999999999993
136
+ },
137
+ "Kawasaki": {
138
+ "precision": 0.3533834586466165,
139
+ "recall": 0.746031746031746,
140
+ "f1": 0.47959183673469385,
141
+ "threshold": 0.12
142
+ },
143
+ "CHD": {
144
+ "precision": 0.6991150442477876,
145
+ "recall": 0.8960302457466919,
146
+ "f1": 0.7854183927091963,
147
+ "threshold": 0.13
148
+ },
149
+ "Healthy": {
150
+ "precision": 0.9829804076786067,
151
+ "recall": 0.9551923076923077,
152
+ "f1": 0.9688871549790306,
153
+ "threshold": 0.7699999999999997
154
+ }
155
+ }
156
+ },
157
+ "Recall-Prioritized": {
158
+ "global_metrics": {
159
+ "hamming_loss": 0.016565184752689966,
160
+ "exact_match": 0.950537993160397,
161
+ "subset_accuracy": 0.9585870381182751,
162
+ "micro_f1": 0.958917711306938,
163
+ "macro_f1": 0.8042808578768124
164
+ },
165
+ "per_class_metrics": {
166
+ "Myocarditis": {
167
+ "precision": 0.8842105263157894,
168
+ "recall": 0.8096385542168675,
169
+ "f1": 0.8452830188679246,
170
+ "threshold": 0.8200000000000002
171
+ },
172
+ "Cardiomyopathy": {
173
+ "precision": 0.9622641509433962,
174
+ "recall": 0.9622641509433962,
175
+ "f1": 0.9622641509433962,
176
+ "threshold": 0.8800000000000002
177
+ },
178
+ "Kawasaki": {
179
+ "precision": 0.24867724867724866,
180
+ "recall": 0.746031746031746,
181
+ "f1": 0.373015873015873,
182
+ "threshold": 0.05
183
+ },
184
+ "CHD": {
185
+ "precision": 0.8924949290060852,
186
+ "recall": 0.831758034026465,
187
+ "f1": 0.8610567514677103,
188
+ "threshold": 0.7200000000000002
189
+ },
190
+ "Healthy": {
191
+ "precision": 0.9717230943824475,
192
+ "recall": 0.9879807692307693,
193
+ "f1": 0.979784495089158,
194
+ "threshold": 0.12000000000000001
195
+ }
196
+ }
197
+ }
198
+ }
199
+ }
training_results/threshold_optimization_20251126_214649.png ADDED

Git LFS Details

  • SHA256: fe334d53beee74c76551a0c8186328a3a172478fd8cc89afa530d1e7287bc521
  • Pointer size: 131 Bytes
  • Size of remote file: 156 kB