kiril-buga commited on
Commit
631df89
·
1 Parent(s): 4fa6728

previously trained model and results

Browse files
archive/final_model.keras ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3956b0731f0adf104e3f4bab2d1f533defb806b3bb4cbb1022fb1136a9332c11
3
+ size 49516918
archive/model_results.json ADDED
@@ -0,0 +1,255 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "Enhanced_1D_CNN_19Classes_v3",
3
+ "version": "v03",
4
+ "created": "2025-11-30T19:57:52.553525",
5
+ "num_classes": 19,
6
+ "disease_names": [
7
+ "Fulminant/Viral Myocarditis",
8
+ "Acute Myocarditis",
9
+ "Myocarditis Unspecified",
10
+ "Dilated Cardiomyopathy",
11
+ "Hypertrophic Cardiomyopathy",
12
+ "Cardiomyopathy Unspecified",
13
+ "Noncompaction Ventricular Myocardium",
14
+ "Kawasaki Disease",
15
+ "Ventricular Septal Defect",
16
+ "Atrial Septal Defect",
17
+ "Atrioventricular Septal Defect",
18
+ "Tetralogy of Fallot",
19
+ "Pulmonary Valve Stenosis",
20
+ "Patent Ductus Arteriosus",
21
+ "Pulmonary Artery Stenosis",
22
+ "Pulmonary Valve Regurgitation",
23
+ "Mitral Valve Insufficiency",
24
+ "Congenital Heart Malformation",
25
+ "Healthy"
26
+ ],
27
+ "icd_codes": [
28
+ "I40.0",
29
+ "I40.9",
30
+ "I51.4",
31
+ "I42.0",
32
+ "I42.2",
33
+ "I42.9",
34
+ "Q24.8",
35
+ "M30.3",
36
+ "Q21.0",
37
+ "Q21.1",
38
+ "Q21.2",
39
+ "Q21.3",
40
+ "Q22.1",
41
+ "Q25.0",
42
+ "Q25.6",
43
+ "I37.0",
44
+ "I34.0",
45
+ "Q24.9",
46
+ "Healthy"
47
+ ],
48
+ "icd_to_disease_name": {
49
+ "I40.0": "Fulminant/Viral Myocarditis",
50
+ "I40.9": "Acute Myocarditis",
51
+ "I51.4": "Myocarditis Unspecified",
52
+ "I42.0": "Dilated Cardiomyopathy",
53
+ "I42.2": "Hypertrophic Cardiomyopathy",
54
+ "I42.9": "Cardiomyopathy Unspecified",
55
+ "Q24.8": "Noncompaction Ventricular Myocardium",
56
+ "M30.3": "Kawasaki Disease",
57
+ "Q21.0": "Ventricular Septal Defect",
58
+ "Q21.1": "Atrial Septal Defect",
59
+ "Q21.2": "Atrioventricular Septal Defect",
60
+ "Q21.3": "Tetralogy of Fallot",
61
+ "Q22.1": "Pulmonary Valve Stenosis",
62
+ "Q25.0": "Patent Ductus Arteriosus",
63
+ "Q25.6": "Pulmonary Artery Stenosis",
64
+ "I37.0": "Pulmonary Valve Regurgitation",
65
+ "I34.0": "Mitral Valve Insufficiency",
66
+ "Q24.9": "Congenital Heart Malformation",
67
+ "Healthy": "Healthy"
68
+ },
69
+ "disease_groups": {
70
+ "Myocarditis": [
71
+ "I40.0",
72
+ "I40.9",
73
+ "I51.4"
74
+ ],
75
+ "Cardiomyopathy": [
76
+ "I42.0",
77
+ "I42.2",
78
+ "I42.9",
79
+ "Q24.8"
80
+ ],
81
+ "Kawasaki": [
82
+ "M30.3"
83
+ ],
84
+ "CHD": [
85
+ "Q21.0",
86
+ "Q21.1",
87
+ "Q21.2",
88
+ "Q21.3",
89
+ "Q22.1",
90
+ "Q25.0",
91
+ "Q25.6",
92
+ "I37.0",
93
+ "I34.0",
94
+ "Q24.9"
95
+ ]
96
+ },
97
+ "architecture": {
98
+ "type": "Enhanced 1D CNN",
99
+ "blocks": "64\u2192128\u2192256\u2192512 filters",
100
+ "features": [
101
+ "Squeeze-Excitation",
102
+ "Temporal Attention",
103
+ "Residual Connections"
104
+ ],
105
+ "pooling": "Adaptive (Global Avg + Max)",
106
+ "total_params": 4104363
107
+ },
108
+ "training": {
109
+ "epochs": 47,
110
+ "batch_size": 16,
111
+ "learning_rate": 0.001,
112
+ "loss": "Focal Loss (alpha=0.25, gamma=2.0)",
113
+ "optimizer": "Adam"
114
+ },
115
+ "data": {
116
+ "total_samples": 14189,
117
+ "train_samples": 9932,
118
+ "val_samples": 2128,
119
+ "test_samples": 2129,
120
+ "sampling_rate": 500,
121
+ "num_channels": 12,
122
+ "variable_length": true,
123
+ "length_range": "5.0s - 112.0s"
124
+ },
125
+ "test_metrics": {
126
+ "subset_accuracy": 0.6712071395021136,
127
+ "hamming_loss": 0.025240414328446762,
128
+ "f1_micro": 0.7367878319154422,
129
+ "f1_macro": 0.045103763907519925,
130
+ "f1_weighted": 0.648103905036729,
131
+ "precision_micro": 0.8676381299332119,
132
+ "recall_micro": 0.6402329749103942
133
+ },
134
+ "per_class_results": {
135
+ "Acute Myocarditis": {
136
+ "precision": 0.0,
137
+ "recall": 0.0,
138
+ "f1": 0.0,
139
+ "roc_auc": 0.5211892402076451,
140
+ "support": 10
141
+ },
142
+ "Myocarditis Unspecified": {
143
+ "precision": 0.0,
144
+ "recall": 0.0,
145
+ "f1": 0.0,
146
+ "roc_auc": 0.48553409940844494,
147
+ "support": 28
148
+ },
149
+ "Dilated Cardiomyopathy": {
150
+ "precision": 0.0,
151
+ "recall": 0.0,
152
+ "f1": 0.0,
153
+ "roc_auc": 0.6764427361853833,
154
+ "support": 17
155
+ },
156
+ "Hypertrophic Cardiomyopathy": {
157
+ "precision": 0.0,
158
+ "recall": 0.0,
159
+ "f1": 0.0,
160
+ "roc_auc": 0.8030089327691584,
161
+ "support": 2
162
+ },
163
+ "Cardiomyopathy Unspecified": {
164
+ "precision": 0.0,
165
+ "recall": 0.0,
166
+ "f1": 0.0,
167
+ "roc_auc": 0.7473700737949442,
168
+ "support": 6
169
+ },
170
+ "Kawasaki Disease": {
171
+ "precision": 0.0,
172
+ "recall": 0.0,
173
+ "f1": 0.0,
174
+ "roc_auc": 0.5302239288950252,
175
+ "support": 22
176
+ },
177
+ "Ventricular Septal Defect": {
178
+ "precision": 0.0,
179
+ "recall": 0.0,
180
+ "f1": 0.0,
181
+ "roc_auc": 0.7575439927588319,
182
+ "support": 152
183
+ },
184
+ "Atrial Septal Defect": {
185
+ "precision": 0.0,
186
+ "recall": 0.0,
187
+ "f1": 0.0,
188
+ "roc_auc": 0.772888934801216,
189
+ "support": 136
190
+ },
191
+ "Atrioventricular Septal Defect": {
192
+ "precision": 0.0,
193
+ "recall": 0.0,
194
+ "f1": 0.0,
195
+ "roc_auc": 0.874895178197065,
196
+ "support": 9
197
+ },
198
+ "Tetralogy of Fallot": {
199
+ "precision": 0.0,
200
+ "recall": 0.0,
201
+ "f1": 0.0,
202
+ "roc_auc": 0.9088430535798957,
203
+ "support": 20
204
+ },
205
+ "Pulmonary Valve Stenosis": {
206
+ "precision": 0.0,
207
+ "recall": 0.0,
208
+ "f1": 0.0,
209
+ "roc_auc": 0.7572941176470588,
210
+ "support": 4
211
+ },
212
+ "Patent Ductus Arteriosus": {
213
+ "precision": 0.0,
214
+ "recall": 0.0,
215
+ "f1": 0.0,
216
+ "roc_auc": 0.6519405777340901,
217
+ "support": 61
218
+ },
219
+ "Pulmonary Artery Stenosis": {
220
+ "precision": 0.0,
221
+ "recall": 0.0,
222
+ "f1": 0.0,
223
+ "roc_auc": 0.8650047036688617,
224
+ "support": 3
225
+ },
226
+ "Pulmonary Valve Regurgitation": {
227
+ "precision": 0.0,
228
+ "recall": 0.0,
229
+ "f1": 0.0,
230
+ "roc_auc": 0.775852752448497,
231
+ "support": 14
232
+ },
233
+ "Mitral Valve Insufficiency": {
234
+ "precision": 0.0,
235
+ "recall": 0.0,
236
+ "f1": 0.0,
237
+ "roc_auc": 0.7454115421002838,
238
+ "support": 15
239
+ },
240
+ "Congenital Heart Malformation": {
241
+ "precision": 0.0,
242
+ "recall": 0.0,
243
+ "f1": 0.0,
244
+ "roc_auc": 0.7265728300277244,
245
+ "support": 45
246
+ },
247
+ "Healthy": {
248
+ "precision": 0.8676381299332119,
249
+ "recall": 0.8465639810426541,
250
+ "f1": 0.8569715142428785,
251
+ "roc_auc": 0.7353521187305887,
252
+ "support": 1688
253
+ }
254
+ }
255
+ }
archive/training_history.csv ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ epoch,accuracy,auc,learning_rate,loss,precision,recall,val_accuracy,val_auc,val_loss,val_precision,val_recall
2
+ 0,0.8510822057723999,0.4787890911102295,0.0010000000474974513,1.72789466381073,0.17969286441802979,0.47941771149635315,0.9721260666847229,0.4329577088356018,0.26440921425819397,0.85161292552948,0.5953992009162903
3
+ 1,0.9643366932868958,0.474773108959198,0.0010000000474974513,0.24542951583862305,0.7770342230796814,0.49252867698669434,0.9539225697517395,0.49803853034973145,0.30018988251686096,0.9059633016586304,0.17816869914531708
4
+ 2,0.9659842252731323,0.49876469373703003,0.0010000000474974513,0.21423880755901337,0.802478551864624,0.5056396126747131,0.9451659321784973,0.5252382159233093,0.24668258428573608,0.0,0.0
5
+ 3,0.9661113619804382,0.49433064460754395,0.0010000000474974513,0.2034941166639328,0.7983798384666443,0.5130627751350403,0.9451659321784973,0.553851306438446,0.22968539595603943,0.0,0.0
6
+ 4,0.9670926332473755,0.5327081084251404,0.0010000000474974513,0.19187507033348083,0.8194934725761414,0.5147016048431396,0.975143313407898,0.5577508211135864,0.23844610154628754,0.7847744226455688,0.7532702088356018
7
+ 5,0.9670823216438293,0.5400435924530029,0.0010000000474974513,0.18725894391536713,0.818557620048523,0.5153764486312866,0.9748960733413696,0.43052807450294495,0.22700297832489014,0.7867366671562195,0.7437978982925415
8
+ 6,0.96604323387146,0.5071855783462524,0.0010000000474974513,0.1873648315668106,0.8088487386703491,0.5005302429199219,0.958102285861969,0.5455294251441956,0.18764373660087585,0.8944193124771118,0.2674785852432251
9
+ 7,0.9650725722312927,0.5008993744850159,0.0010000000474974513,0.18703939020633698,0.7958385348320007,0.490407794713974,0.9752423167228699,0.5057609677314758,0.19300174713134766,0.7892483472824097,0.748308539390564
10
+ 8,0.9647393226623535,0.49484121799468994,0.0010000000474974513,0.1862979680299759,0.7863853573799133,0.49223947525024414,0.975143313407898,0.5264214873313904,0.1875307410955429,0.7847744226455688,0.7532702088356018
11
+ 9,0.9651678204536438,0.4817586839199066,0.0010000000474974513,0.18455781042575836,0.7934816479682922,0.49522799253463745,0.9616640210151672,0.5660486817359924,0.17504636943340302,0.8668866753578186,0.3554352819919586
12
+ 10,0.965210497379303,0.49211809039115906,0.0010000000474974513,0.18226374685764313,0.8028953075408936,0.4865516126155853,0.9451906681060791,0.5198338627815247,0.18200837075710297,1.0,0.00045105998287908733
13
+ 11,0.9657667279243469,0.4943702220916748,0.0010000000474974513,0.1825098842382431,0.7873402833938599,0.5168225169181824,0.9569896459579468,0.5300279855728149,0.17633989453315735,0.878164529800415,0.25033828616142273
14
+ 12,0.9653910398483276,0.48058634996414185,0.0010000000474974513,0.18147894740104675,0.7882652878761292,0.5064108967781067,0.9550355076789856,0.5463641881942749,0.17462076246738434,0.8858800530433655,0.20658548176288605
15
+ 13,0.9659587740898132,0.5157257318496704,0.0010000000474974513,0.17977309226989746,0.7917836308479309,0.5165333151817322,0.975143313407898,0.590452253818512,0.17435185611248016,0.7847744226455688,0.7532702088356018
16
+ 14,0.9664880633354187,0.49744343757629395,0.0010000000474974513,0.1791478991508484,0.7961960434913635,0.5246312618255615,0.9496189951896667,0.540580153465271,0.17404460906982422,0.8629032373428345,0.09652683883905411
17
+ 15,0.9657347798347473,0.5000625252723694,0.0010000000474974513,0.1774548590183258,0.8007698059082031,0.5013978481292725,0.975143313407898,0.5797159075737,0.17855624854564667,0.7847744226455688,0.7532702088356018
18
+ 16,0.9667481184005737,0.5129356980323792,0.0010000000474974513,0.17581313848495483,0.8071963787078857,0.5190398097038269,0.975143313407898,0.5500307083129883,0.17516233026981354,0.7847744226455688,0.7532702088356018
19
+ 17,0.9668806195259094,0.509750247001648,0.0010000000474974513,0.17563903331756592,0.8052717447280884,0.5242456197738647,0.9724476933479309,0.5847578048706055,0.16985954344272614,0.8288610577583313,0.6269733905792236
20
+ 18,0.9673671722412109,0.5295020937919617,0.0010000000474974513,0.17329756915569305,0.8212162852287292,0.5194254517555237,0.9600563645362854,0.6110630035400391,0.16998961567878723,0.8858974575996399,0.31168246269226074
21
+ 19,0.9681046009063721,0.5378997921943665,0.0010000000474974513,0.17139823734760284,0.831556499004364,0.5263665318489075,0.9556294083595276,0.5834656357765198,0.17387500405311584,0.8824593424797058,0.22011727094650269
22
+ 20,0.9682894349098206,0.5591921210289001,0.0010000000474974513,0.1691010743379593,0.840074360370636,0.5226067900657654,0.9696033596992493,0.590927004814148,0.16552750766277313,0.8528571724891663,0.5385656356811523
23
+ 21,0.969577968120575,0.5847556591033936,0.0010000000474974513,0.1678459793329239,0.8435182571411133,0.5482502579689026,0.9738325476646423,0.6249508857727051,0.16573697328567505,0.8242865204811096,0.6644113659858704
24
+ 22,0.969026505947113,0.575284481048584,0.0010000000474974513,0.16915932297706604,0.8409638404846191,0.5383206605911255,0.9694055318832397,0.6571540832519531,0.1642550230026245,0.8740457892417908,0.5164636969566345
25
+ 23,0.9696144461631775,0.5994630455970764,0.0010000000474974513,0.16699130833148956,0.8447020649909973,0.5479610562324524,0.9735107421875,0.6563828587532043,0.16480490565299988,0.8390532732009888,0.6396030783653259
26
+ 24,0.9698423743247986,0.6023986339569092,0.0010000000474974513,0.16589638590812683,0.8500298857688904,0.5480574369430542,0.9745742678642273,0.6169835329055786,0.16769671440124512,0.8275482058525085,0.677492082118988
27
+ 25,0.9701665639877319,0.5937961339950562,0.0010000000474974513,0.16565196216106415,0.8528493046760559,0.5525884628295898,0.9722248911857605,0.646822452545166,0.16238129138946533,0.878808856010437,0.5723951458930969
28
+ 26,0.9706422686576843,0.6187255382537842,0.0010000000474974513,0.16316474974155426,0.8621309995651245,0.554612934589386,0.9753410220146179,0.6747590899467468,0.16741223633289337,0.83152174949646,0.6901217699050903
29
+ 27,0.9706855416297913,0.6245304942131042,0.0010000000474974513,0.1640329360961914,0.8579033017158508,0.5593367218971252,0.9663136601448059,0.6779999136924744,0.1652560830116272,0.9075309634208679,0.42940911650657654
30
+ 28,0.9703512191772461,0.6166345477104187,0.0010000000474974513,0.16351553797721863,0.8567801713943481,0.5530704855918884,0.9730904698371887,0.6744905710220337,0.16133542358875275,0.8625562191009521,0.6057735681533813
31
+ 29,0.9703306555747986,0.6215302348136902,0.0010000000474974513,0.16309238970279694,0.8587315678596497,0.5508531928062439,0.9750936627388,0.6896924376487732,0.16388675570487976,0.8353658318519592,0.6797474026679993
32
+ 30,0.9705994129180908,0.624535322189331,0.0010000000474974513,0.16237331926822662,0.8666970729827881,0.5496963262557983,0.9747721552848816,0.6806829571723938,0.1710323691368103,0.8341708779335022,0.6738836169242859
33
+ 31,0.9707751870155334,0.6282593011856079,0.0010000000474974513,0.1603950411081314,0.8715203404426575,0.5493106842041016,0.9743766188621521,0.7121614217758179,0.159336119890213,0.8651824593544006,0.6310329437255859
34
+ 32,0.9707913398742676,0.6573806405067444,0.0010000000474974513,0.16036613285541534,0.872833251953125,0.5485394597053528,0.9756624698638916,0.695950984954834,0.16716766357421875,0.817619800567627,0.7158322334289551
35
+ 33,0.9712041616439819,0.658597469329834,0.0010000000474974513,0.15952520072460175,0.878119707107544,0.55287766456604,0.9745497107505798,0.6628549695014954,0.16508089005947113,0.8253012299537659,0.6797474026679993
36
+ 34,0.9704206585884094,0.6633495092391968,0.0010000000474974513,0.16060425341129303,0.8744723796844482,0.5392847061157227,0.9750444293022156,0.6673092842102051,0.16927646100521088,0.8004975318908691,0.725755512714386
37
+ 35,0.9708438515663147,0.6568770408630371,0.0010000000474974513,0.15939481556415558,0.8794204592704773,0.5442013144493103,0.9746731519699097,0.6645341515541077,0.16298921406269073,0.8379603624343872,0.667117714881897
38
+ 36,0.9707704782485962,0.6505053043365479,0.0010000000474974513,0.15937505662441254,0.8784478902816772,0.5434300303459167,0.9754646420478821,0.6705322861671448,0.16291269659996033,0.8316188454627991,0.6928281188011169
39
+ 37,0.971077024936676,0.6552930474281311,0.0005000000237487257,0.15848912298679352,0.8791853189468384,0.5493106842041016,0.9754895567893982,0.6664952635765076,0.16160069406032562,0.8398004174232483,0.6833558678627014
40
+ 38,0.971156895160675,0.6667534708976746,0.0005000000237487257,0.1574985533952713,0.8806362152099609,0.5497927069664001,0.9747227430343628,0.6824701428413391,0.16209770739078522,0.8396816253662109,0.6662155985832214
41
+ 39,0.9712361693382263,0.6576641201972961,0.0005000000237487257,0.15879565477371216,0.876848042011261,0.554612934589386,0.9722498655319214,0.7065017819404602,0.1571519374847412,0.8831350803375244,0.5692377090454102
42
+ 40,0.9703616499900818,0.6631851196289062,0.0005000000237487257,0.15829308331012726,0.8719265460968018,0.5401523113250732,0.975687563419342,0.701470673084259,0.1607586145401001,0.8466292023658752,0.6797474026679993
43
+ 41,0.9707229137420654,0.661217212677002,0.0005000000237487257,0.1584259271621704,0.8776877522468567,0.5430444478988647,0.9762069582939148,0.701678991317749,0.16394875943660736,0.809876561164856,0.739738404750824
44
+ 42,0.9707803130149841,0.6525394916534424,0.0005000000237487257,0.15819983184337616,0.8787217736244202,0.5434300303459167,0.9750937819480896,0.6832001209259033,0.16189807653427124,0.857988178730011,0.6540369987487793
45
+ 43,0.9705634117126465,0.6525664329528809,0.0005000000237487257,0.15789981186389923,0.8829888701438904,0.535428524017334,0.9756627082824707,0.6969619989395142,0.16236679255962372,0.8411732316017151,0.6856111884117126
46
+ 44,0.9704945087432861,0.6497383713722229,0.0005000000237487257,0.15794014930725098,0.8833572864532471,0.533693253993988,0.975143313407898,0.6731274127960205,0.16921544075012207,0.7850423455238342,0.7528191208839417
47
+ 45,0.9711570739746094,0.6567102670669556,0.0002500000118743628,0.15756560862064362,0.8822891116142273,0.548443078994751,0.975143313407898,0.7011749148368835,0.16688035428524017,0.7853107452392578,0.7523680925369263
48
+ 46,0.9710562229156494,0.6691934466362,0.0002500000118743628,0.1571454405784607,0.8813480138778687,0.547093391418457,0.9751185178756714,0.6770845651626587,0.1702290028333664,0.7849411964416504,0.7523680925369263
archive/training_history.png ADDED

Git LFS Details

  • SHA256: ad4e47f9a43acb97eb44ab17a9c2243b8ea4b5083a8f8271ce6d407def709ff9
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB