duyle2408 commited on
Commit
5b1ed1a
·
verified ·
1 Parent(s): c6b8dfd

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. singleenc_canvas_meta_clean.predict.log +4 -0
  2. singleenc_canvas_meta_clean.train.log +0 -0
  3. singleenc_canvas_meta_clean/confusion_analysis.json +695 -0
  4. singleenc_canvas_meta_clean/confusion_matrix.csv +12 -0
  5. singleenc_canvas_meta_clean/confusion_matrix_raw.csv +12 -0
  6. singleenc_canvas_meta_clean/data_summary.json +102 -0
  7. singleenc_canvas_meta_clean/history.csv +0 -0
  8. singleenc_canvas_meta_clean/metrics.json +719 -0
  9. singleenc_canvas_meta_clean/per_class_metrics.csv +12 -0
  10. singleenc_canvas_meta_clean/per_class_metrics_raw.csv +12 -0
  11. singleenc_canvas_meta_clean/prediction_summary.json +50 -0
  12. singleenc_canvas_meta_clean/raw/val_predictions.csv +0 -0
  13. singleenc_canvas_meta_clean/run_config.json +203 -0
  14. singleenc_canvas_meta_clean/run_diagnostics.json +756 -0
  15. singleenc_canvas_meta_clean/run_report.md +160 -0
  16. singleenc_canvas_meta_clean/split_summary.md +66 -0
  17. singleenc_canvas_meta_clean/splits/train.csv +0 -0
  18. singleenc_canvas_meta_clean/splits/val.csv +0 -0
  19. singleenc_canvas_meta_clean/val_predictions.csv +0 -0
  20. singleenc_canvas_nometa_clean.predict.log +4 -0
  21. singleenc_canvas_nometa_clean.train.log +0 -0
  22. singleenc_canvas_nometa_clean/confusion_analysis.json +809 -0
  23. singleenc_canvas_nometa_clean/confusion_matrix.csv +12 -0
  24. singleenc_canvas_nometa_clean/confusion_matrix_raw.csv +12 -0
  25. singleenc_canvas_nometa_clean/data_summary.json +102 -0
  26. singleenc_canvas_nometa_clean/history.csv +0 -0
  27. singleenc_canvas_nometa_clean/metrics.json +719 -0
  28. singleenc_canvas_nometa_clean/per_class_metrics.csv +12 -0
  29. singleenc_canvas_nometa_clean/per_class_metrics_raw.csv +12 -0
  30. singleenc_canvas_nometa_clean/prediction_summary.json +50 -0
  31. singleenc_canvas_nometa_clean/run_config.json +204 -0
  32. singleenc_canvas_nometa_clean/split_summary.md +66 -0
  33. singleenc_canvas_nometa_clean/val_predictions.csv +0 -0
  34. singleenc_pool_meta_clean.predict.log +4 -0
  35. singleenc_pool_meta_clean.train.log +0 -0
  36. singleenc_pool_meta_clean/confusion_analysis.json +761 -0
  37. singleenc_pool_meta_clean/confusion_matrix.csv +12 -0
  38. singleenc_pool_meta_clean/confusion_matrix_raw.csv +12 -0
  39. singleenc_pool_meta_clean/data_summary.json +102 -0
  40. singleenc_pool_meta_clean/history.csv +0 -0
  41. singleenc_pool_meta_clean/metrics.json +719 -0
  42. singleenc_pool_meta_clean/per_class_metrics.csv +12 -0
  43. singleenc_pool_meta_clean/per_class_metrics_raw.csv +12 -0
  44. singleenc_pool_meta_clean/prediction_summary.json +50 -0
  45. singleenc_pool_meta_clean/raw/val_predictions.csv +0 -0
  46. singleenc_pool_meta_clean/run_config.json +203 -0
  47. singleenc_pool_meta_clean/run_diagnostics.json +822 -0
  48. singleenc_pool_meta_clean/run_report.md +161 -0
  49. singleenc_pool_meta_clean/split_summary.md +66 -0
  50. singleenc_pool_meta_clean/val_predictions.csv +0 -0
singleenc_canvas_meta_clean.predict.log ADDED
@@ -0,0 +1,4 @@
 
0
  0%| | 0/60 [00:00<?, ?it/s]
1
  2%|▏ | 1/60 [00:01<01:13, 1.25s/it]
2
  17%|█▋ | 10/60 [00:01<00:05, 9.94it/s]
3
  27%|██▋ | 16/60 [00:01<00:02, 16.09it/s]
4
  37%|███▋ | 22/60 [00:01<00:01, 21.75it/s]
5
  48%|████▊ | 29/60 [00:01<00:01, 29.98it/s]
6
  58%|█████▊ | 35/60 [00:01<00:00, 33.90it/s]
7
  68%|██████▊ | 41/60 [00:01<00:00, 39.27it/s]
8
  78%|███████▊ | 47/60 [00:02<00:00, 41.51it/s]
9
  88%|████████▊ | 53/60 [00:02<00:00, 45.01it/s]
10
  98%|█████████▊| 59/60 [00:02<00:00, 46.41it/s]
11
 
 
 
 
 
1
+
2
  0%| | 0/60 [00:00<?, ?it/s]
3
  2%|▏ | 1/60 [00:01<01:13, 1.25s/it]
4
  17%|█▋ | 10/60 [00:01<00:05, 9.94it/s]
5
  27%|██▋ | 16/60 [00:01<00:02, 16.09it/s]
6
  37%|███▋ | 22/60 [00:01<00:01, 21.75it/s]
7
  48%|████▊ | 29/60 [00:01<00:01, 29.98it/s]
8
  58%|█████▊ | 35/60 [00:01<00:00, 33.90it/s]
9
  68%|██████▊ | 41/60 [00:01<00:00, 39.27it/s]
10
  78%|███████▊ | 47/60 [00:02<00:00, 41.51it/s]
11
  88%|████████▊ | 53/60 [00:02<00:00, 45.01it/s]
12
  98%|█████████▊| 59/60 [00:02<00:00, 46.41it/s]
13
 
14
+ Tail audit DF: predicted_count=3, mean_probability=0.007857, max_probability=0.946680
15
+ Tail audit INF: predicted_count=1, mean_probability=0.004758, max_probability=0.476605
16
+ Saved predictions: /marimo/single_encoder_split_submissions/singleenc_canvas_meta_clean.csv
singleenc_canvas_meta_clean.train.log ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_meta_clean/confusion_analysis.json ADDED
@@ -0,0 +1,695 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "false_negatives_by_true_class": {
3
+ "AKIEC": [
4
+ {
5
+ "true": "AKIEC",
6
+ "predicted": "BCC",
7
+ "count": 14,
8
+ "rate_of_true": 0.22950819672131148
9
+ },
10
+ {
11
+ "true": "AKIEC",
12
+ "predicted": "SCCKA",
13
+ "count": 12,
14
+ "rate_of_true": 0.19672131147540983
15
+ },
16
+ {
17
+ "true": "AKIEC",
18
+ "predicted": "BKL",
19
+ "count": 10,
20
+ "rate_of_true": 0.16393442622950818
21
+ }
22
+ ],
23
+ "BCC": [
24
+ {
25
+ "true": "BCC",
26
+ "predicted": "SCCKA",
27
+ "count": 18,
28
+ "rate_of_true": 0.03571428571428571
29
+ },
30
+ {
31
+ "true": "BCC",
32
+ "predicted": "AKIEC",
33
+ "count": 6,
34
+ "rate_of_true": 0.011904761904761904
35
+ },
36
+ {
37
+ "true": "BCC",
38
+ "predicted": "BKL",
39
+ "count": 6,
40
+ "rate_of_true": 0.011904761904761904
41
+ },
42
+ {
43
+ "true": "BCC",
44
+ "predicted": "MEL",
45
+ "count": 5,
46
+ "rate_of_true": 0.00992063492063492
47
+ },
48
+ {
49
+ "true": "BCC",
50
+ "predicted": "BEN_OTH",
51
+ "count": 2,
52
+ "rate_of_true": 0.003968253968253968
53
+ }
54
+ ],
55
+ "BEN_OTH": [
56
+ {
57
+ "true": "BEN_OTH",
58
+ "predicted": "BCC",
59
+ "count": 4,
60
+ "rate_of_true": 0.4444444444444444
61
+ },
62
+ {
63
+ "true": "BEN_OTH",
64
+ "predicted": "BKL",
65
+ "count": 2,
66
+ "rate_of_true": 0.2222222222222222
67
+ },
68
+ {
69
+ "true": "BEN_OTH",
70
+ "predicted": "MEL",
71
+ "count": 1,
72
+ "rate_of_true": 0.1111111111111111
73
+ },
74
+ {
75
+ "true": "BEN_OTH",
76
+ "predicted": "NV",
77
+ "count": 1,
78
+ "rate_of_true": 0.1111111111111111
79
+ }
80
+ ],
81
+ "BKL": [
82
+ {
83
+ "true": "BKL",
84
+ "predicted": "BCC",
85
+ "count": 36,
86
+ "rate_of_true": 0.3302752293577982
87
+ },
88
+ {
89
+ "true": "BKL",
90
+ "predicted": "SCCKA",
91
+ "count": 12,
92
+ "rate_of_true": 0.11009174311926606
93
+ },
94
+ {
95
+ "true": "BKL",
96
+ "predicted": "NV",
97
+ "count": 6,
98
+ "rate_of_true": 0.05504587155963303
99
+ },
100
+ {
101
+ "true": "BKL",
102
+ "predicted": "AKIEC",
103
+ "count": 5,
104
+ "rate_of_true": 0.045871559633027525
105
+ },
106
+ {
107
+ "true": "BKL",
108
+ "predicted": "MEL",
109
+ "count": 5,
110
+ "rate_of_true": 0.045871559633027525
111
+ },
112
+ {
113
+ "true": "BKL",
114
+ "predicted": "INF",
115
+ "count": 2,
116
+ "rate_of_true": 0.01834862385321101
117
+ }
118
+ ],
119
+ "DF": [
120
+ {
121
+ "true": "DF",
122
+ "predicted": "BCC",
123
+ "count": 3,
124
+ "rate_of_true": 0.3
125
+ },
126
+ {
127
+ "true": "DF",
128
+ "predicted": "BKL",
129
+ "count": 1,
130
+ "rate_of_true": 0.1
131
+ },
132
+ {
133
+ "true": "DF",
134
+ "predicted": "MEL",
135
+ "count": 1,
136
+ "rate_of_true": 0.1
137
+ },
138
+ {
139
+ "true": "DF",
140
+ "predicted": "NV",
141
+ "count": 1,
142
+ "rate_of_true": 0.1
143
+ }
144
+ ],
145
+ "INF": [
146
+ {
147
+ "true": "INF",
148
+ "predicted": "BCC",
149
+ "count": 6,
150
+ "rate_of_true": 0.6
151
+ },
152
+ {
153
+ "true": "INF",
154
+ "predicted": "NV",
155
+ "count": 3,
156
+ "rate_of_true": 0.3
157
+ }
158
+ ],
159
+ "MAL_OTH": [
160
+ {
161
+ "true": "MAL_OTH",
162
+ "predicted": "BCC",
163
+ "count": 2,
164
+ "rate_of_true": 1.0
165
+ }
166
+ ],
167
+ "MEL": [
168
+ {
169
+ "true": "MEL",
170
+ "predicted": "NV",
171
+ "count": 26,
172
+ "rate_of_true": 0.28888888888888886
173
+ },
174
+ {
175
+ "true": "MEL",
176
+ "predicted": "BKL",
177
+ "count": 9,
178
+ "rate_of_true": 0.1
179
+ },
180
+ {
181
+ "true": "MEL",
182
+ "predicted": "BCC",
183
+ "count": 8,
184
+ "rate_of_true": 0.08888888888888889
185
+ },
186
+ {
187
+ "true": "MEL",
188
+ "predicted": "INF",
189
+ "count": 1,
190
+ "rate_of_true": 0.011111111111111112
191
+ },
192
+ {
193
+ "true": "MEL",
194
+ "predicted": "VASC",
195
+ "count": 1,
196
+ "rate_of_true": 0.011111111111111112
197
+ }
198
+ ],
199
+ "NV": [
200
+ {
201
+ "true": "NV",
202
+ "predicted": "MEL",
203
+ "count": 14,
204
+ "rate_of_true": 0.09395973154362416
205
+ },
206
+ {
207
+ "true": "NV",
208
+ "predicted": "BKL",
209
+ "count": 13,
210
+ "rate_of_true": 0.087248322147651
211
+ },
212
+ {
213
+ "true": "NV",
214
+ "predicted": "BCC",
215
+ "count": 4,
216
+ "rate_of_true": 0.026845637583892617
217
+ },
218
+ {
219
+ "true": "NV",
220
+ "predicted": "DF",
221
+ "count": 1,
222
+ "rate_of_true": 0.006711409395973154
223
+ }
224
+ ],
225
+ "SCCKA": [
226
+ {
227
+ "true": "SCCKA",
228
+ "predicted": "BCC",
229
+ "count": 30,
230
+ "rate_of_true": 0.3157894736842105
231
+ },
232
+ {
233
+ "true": "SCCKA",
234
+ "predicted": "BKL",
235
+ "count": 8,
236
+ "rate_of_true": 0.08421052631578947
237
+ },
238
+ {
239
+ "true": "SCCKA",
240
+ "predicted": "AKIEC",
241
+ "count": 7,
242
+ "rate_of_true": 0.07368421052631578
243
+ }
244
+ ],
245
+ "VASC": [
246
+ {
247
+ "true": "VASC",
248
+ "predicted": "BCC",
249
+ "count": 3,
250
+ "rate_of_true": 0.3333333333333333
251
+ },
252
+ {
253
+ "true": "VASC",
254
+ "predicted": "NV",
255
+ "count": 2,
256
+ "rate_of_true": 0.2222222222222222
257
+ }
258
+ ]
259
+ },
260
+ "false_positives_by_predicted_class": {
261
+ "AKIEC": [
262
+ {
263
+ "predicted": "AKIEC",
264
+ "true": "SCCKA",
265
+ "count": 7,
266
+ "rate_of_predicted": 0.16279069767441862
267
+ },
268
+ {
269
+ "predicted": "AKIEC",
270
+ "true": "BCC",
271
+ "count": 6,
272
+ "rate_of_predicted": 0.13953488372093023
273
+ },
274
+ {
275
+ "predicted": "AKIEC",
276
+ "true": "BKL",
277
+ "count": 5,
278
+ "rate_of_predicted": 0.11627906976744186
279
+ }
280
+ ],
281
+ "BCC": [
282
+ {
283
+ "predicted": "BCC",
284
+ "true": "BKL",
285
+ "count": 36,
286
+ "rate_of_predicted": 0.06239168110918544
287
+ },
288
+ {
289
+ "predicted": "BCC",
290
+ "true": "SCCKA",
291
+ "count": 30,
292
+ "rate_of_predicted": 0.05199306759098787
293
+ },
294
+ {
295
+ "predicted": "BCC",
296
+ "true": "AKIEC",
297
+ "count": 14,
298
+ "rate_of_predicted": 0.024263431542461005
299
+ },
300
+ {
301
+ "predicted": "BCC",
302
+ "true": "MEL",
303
+ "count": 8,
304
+ "rate_of_predicted": 0.01386481802426343
305
+ },
306
+ {
307
+ "predicted": "BCC",
308
+ "true": "INF",
309
+ "count": 6,
310
+ "rate_of_predicted": 0.010398613518197574
311
+ },
312
+ {
313
+ "predicted": "BCC",
314
+ "true": "BEN_OTH",
315
+ "count": 4,
316
+ "rate_of_predicted": 0.006932409012131715
317
+ },
318
+ {
319
+ "predicted": "BCC",
320
+ "true": "NV",
321
+ "count": 4,
322
+ "rate_of_predicted": 0.006932409012131715
323
+ },
324
+ {
325
+ "predicted": "BCC",
326
+ "true": "DF",
327
+ "count": 3,
328
+ "rate_of_predicted": 0.005199306759098787
329
+ },
330
+ {
331
+ "predicted": "BCC",
332
+ "true": "VASC",
333
+ "count": 3,
334
+ "rate_of_predicted": 0.005199306759098787
335
+ },
336
+ {
337
+ "predicted": "BCC",
338
+ "true": "MAL_OTH",
339
+ "count": 2,
340
+ "rate_of_predicted": 0.0034662045060658577
341
+ }
342
+ ],
343
+ "BEN_OTH": [
344
+ {
345
+ "predicted": "BEN_OTH",
346
+ "true": "BCC",
347
+ "count": 2,
348
+ "rate_of_predicted": 0.6666666666666666
349
+ }
350
+ ],
351
+ "BKL": [
352
+ {
353
+ "predicted": "BKL",
354
+ "true": "NV",
355
+ "count": 13,
356
+ "rate_of_predicted": 0.14130434782608695
357
+ },
358
+ {
359
+ "predicted": "BKL",
360
+ "true": "AKIEC",
361
+ "count": 10,
362
+ "rate_of_predicted": 0.10869565217391304
363
+ },
364
+ {
365
+ "predicted": "BKL",
366
+ "true": "MEL",
367
+ "count": 9,
368
+ "rate_of_predicted": 0.09782608695652174
369
+ },
370
+ {
371
+ "predicted": "BKL",
372
+ "true": "SCCKA",
373
+ "count": 8,
374
+ "rate_of_predicted": 0.08695652173913043
375
+ },
376
+ {
377
+ "predicted": "BKL",
378
+ "true": "BCC",
379
+ "count": 6,
380
+ "rate_of_predicted": 0.06521739130434782
381
+ },
382
+ {
383
+ "predicted": "BKL",
384
+ "true": "BEN_OTH",
385
+ "count": 2,
386
+ "rate_of_predicted": 0.021739130434782608
387
+ },
388
+ {
389
+ "predicted": "BKL",
390
+ "true": "DF",
391
+ "count": 1,
392
+ "rate_of_predicted": 0.010869565217391304
393
+ }
394
+ ],
395
+ "DF": [
396
+ {
397
+ "predicted": "DF",
398
+ "true": "NV",
399
+ "count": 1,
400
+ "rate_of_predicted": 0.2
401
+ }
402
+ ],
403
+ "INF": [
404
+ {
405
+ "predicted": "INF",
406
+ "true": "BKL",
407
+ "count": 2,
408
+ "rate_of_predicted": 0.5
409
+ },
410
+ {
411
+ "predicted": "INF",
412
+ "true": "MEL",
413
+ "count": 1,
414
+ "rate_of_predicted": 0.25
415
+ }
416
+ ],
417
+ "MAL_OTH": [],
418
+ "MEL": [
419
+ {
420
+ "predicted": "MEL",
421
+ "true": "NV",
422
+ "count": 14,
423
+ "rate_of_predicted": 0.19718309859154928
424
+ },
425
+ {
426
+ "predicted": "MEL",
427
+ "true": "BCC",
428
+ "count": 5,
429
+ "rate_of_predicted": 0.07042253521126761
430
+ },
431
+ {
432
+ "predicted": "MEL",
433
+ "true": "BKL",
434
+ "count": 5,
435
+ "rate_of_predicted": 0.07042253521126761
436
+ },
437
+ {
438
+ "predicted": "MEL",
439
+ "true": "BEN_OTH",
440
+ "count": 1,
441
+ "rate_of_predicted": 0.014084507042253521
442
+ },
443
+ {
444
+ "predicted": "MEL",
445
+ "true": "DF",
446
+ "count": 1,
447
+ "rate_of_predicted": 0.014084507042253521
448
+ }
449
+ ],
450
+ "NV": [
451
+ {
452
+ "predicted": "NV",
453
+ "true": "MEL",
454
+ "count": 26,
455
+ "rate_of_predicted": 0.16666666666666666
456
+ },
457
+ {
458
+ "predicted": "NV",
459
+ "true": "BKL",
460
+ "count": 6,
461
+ "rate_of_predicted": 0.038461538461538464
462
+ },
463
+ {
464
+ "predicted": "NV",
465
+ "true": "INF",
466
+ "count": 3,
467
+ "rate_of_predicted": 0.019230769230769232
468
+ },
469
+ {
470
+ "predicted": "NV",
471
+ "true": "VASC",
472
+ "count": 2,
473
+ "rate_of_predicted": 0.01282051282051282
474
+ },
475
+ {
476
+ "predicted": "NV",
477
+ "true": "BEN_OTH",
478
+ "count": 1,
479
+ "rate_of_predicted": 0.00641025641025641
480
+ },
481
+ {
482
+ "predicted": "NV",
483
+ "true": "DF",
484
+ "count": 1,
485
+ "rate_of_predicted": 0.00641025641025641
486
+ }
487
+ ],
488
+ "SCCKA": [
489
+ {
490
+ "predicted": "SCCKA",
491
+ "true": "BCC",
492
+ "count": 18,
493
+ "rate_of_predicted": 0.1956521739130435
494
+ },
495
+ {
496
+ "predicted": "SCCKA",
497
+ "true": "AKIEC",
498
+ "count": 12,
499
+ "rate_of_predicted": 0.13043478260869565
500
+ },
501
+ {
502
+ "predicted": "SCCKA",
503
+ "true": "BKL",
504
+ "count": 12,
505
+ "rate_of_predicted": 0.13043478260869565
506
+ }
507
+ ],
508
+ "VASC": [
509
+ {
510
+ "predicted": "VASC",
511
+ "true": "MEL",
512
+ "count": 1,
513
+ "rate_of_predicted": 0.2
514
+ }
515
+ ]
516
+ },
517
+ "top_confusion_pairs": [
518
+ {
519
+ "true": "BKL",
520
+ "predicted": "BCC",
521
+ "count": 36,
522
+ "rate_of_true": 0.3302752293577982
523
+ },
524
+ {
525
+ "true": "SCCKA",
526
+ "predicted": "BCC",
527
+ "count": 30,
528
+ "rate_of_true": 0.3157894736842105
529
+ },
530
+ {
531
+ "true": "MEL",
532
+ "predicted": "NV",
533
+ "count": 26,
534
+ "rate_of_true": 0.28888888888888886
535
+ },
536
+ {
537
+ "true": "BCC",
538
+ "predicted": "SCCKA",
539
+ "count": 18,
540
+ "rate_of_true": 0.03571428571428571
541
+ },
542
+ {
543
+ "true": "AKIEC",
544
+ "predicted": "BCC",
545
+ "count": 14,
546
+ "rate_of_true": 0.22950819672131148
547
+ },
548
+ {
549
+ "true": "NV",
550
+ "predicted": "MEL",
551
+ "count": 14,
552
+ "rate_of_true": 0.09395973154362416
553
+ },
554
+ {
555
+ "true": "NV",
556
+ "predicted": "BKL",
557
+ "count": 13,
558
+ "rate_of_true": 0.087248322147651
559
+ },
560
+ {
561
+ "true": "AKIEC",
562
+ "predicted": "SCCKA",
563
+ "count": 12,
564
+ "rate_of_true": 0.19672131147540983
565
+ },
566
+ {
567
+ "true": "BKL",
568
+ "predicted": "SCCKA",
569
+ "count": 12,
570
+ "rate_of_true": 0.11009174311926606
571
+ },
572
+ {
573
+ "true": "AKIEC",
574
+ "predicted": "BKL",
575
+ "count": 10,
576
+ "rate_of_true": 0.16393442622950818
577
+ },
578
+ {
579
+ "true": "MEL",
580
+ "predicted": "BKL",
581
+ "count": 9,
582
+ "rate_of_true": 0.1
583
+ },
584
+ {
585
+ "true": "MEL",
586
+ "predicted": "BCC",
587
+ "count": 8,
588
+ "rate_of_true": 0.08888888888888889
589
+ },
590
+ {
591
+ "true": "SCCKA",
592
+ "predicted": "BKL",
593
+ "count": 8,
594
+ "rate_of_true": 0.08421052631578947
595
+ },
596
+ {
597
+ "true": "SCCKA",
598
+ "predicted": "AKIEC",
599
+ "count": 7,
600
+ "rate_of_true": 0.07368421052631578
601
+ },
602
+ {
603
+ "true": "BCC",
604
+ "predicted": "AKIEC",
605
+ "count": 6,
606
+ "rate_of_true": 0.011904761904761904
607
+ },
608
+ {
609
+ "true": "BCC",
610
+ "predicted": "BKL",
611
+ "count": 6,
612
+ "rate_of_true": 0.011904761904761904
613
+ },
614
+ {
615
+ "true": "BKL",
616
+ "predicted": "NV",
617
+ "count": 6,
618
+ "rate_of_true": 0.05504587155963303
619
+ },
620
+ {
621
+ "true": "INF",
622
+ "predicted": "BCC",
623
+ "count": 6,
624
+ "rate_of_true": 0.6
625
+ },
626
+ {
627
+ "true": "BCC",
628
+ "predicted": "MEL",
629
+ "count": 5,
630
+ "rate_of_true": 0.00992063492063492
631
+ },
632
+ {
633
+ "true": "BKL",
634
+ "predicted": "AKIEC",
635
+ "count": 5,
636
+ "rate_of_true": 0.045871559633027525
637
+ }
638
+ ],
639
+ "watched_confusion_patterns": [
640
+ {
641
+ "true": "BCC",
642
+ "predicted": "SCCKA",
643
+ "count": 18,
644
+ "rate_of_true": 0.03571428571428571
645
+ },
646
+ {
647
+ "true": "AKIEC",
648
+ "predicted": "SCCKA",
649
+ "count": 12,
650
+ "rate_of_true": 0.19672131147540983
651
+ },
652
+ {
653
+ "true": "BKL",
654
+ "predicted": "SCCKA",
655
+ "count": 12,
656
+ "rate_of_true": 0.11009174311926606
657
+ },
658
+ {
659
+ "true": "SCCKA",
660
+ "predicted": "BKL",
661
+ "count": 8,
662
+ "rate_of_true": 0.08421052631578947
663
+ },
664
+ {
665
+ "true": "SCCKA",
666
+ "predicted": "AKIEC",
667
+ "count": 7,
668
+ "rate_of_true": 0.07368421052631578
669
+ },
670
+ {
671
+ "true": "BCC",
672
+ "predicted": "AKIEC",
673
+ "count": 6,
674
+ "rate_of_true": 0.011904761904761904
675
+ },
676
+ {
677
+ "true": "BCC",
678
+ "predicted": "BKL",
679
+ "count": 6,
680
+ "rate_of_true": 0.011904761904761904
681
+ },
682
+ {
683
+ "true": "INF",
684
+ "predicted": "BCC",
685
+ "count": 6,
686
+ "rate_of_true": 0.6
687
+ },
688
+ {
689
+ "true": "INF",
690
+ "predicted": "NV",
691
+ "count": 3,
692
+ "rate_of_true": 0.3
693
+ }
694
+ ]
695
+ }
singleenc_canvas_meta_clean/confusion_matrix.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,25,14,0,10,0,0,0,0,0,12,0
3
+ BCC,6,467,2,6,0,0,0,5,0,18,0
4
+ BEN_OTH,0,4,1,2,0,0,0,1,1,0,0
5
+ BKL,5,36,0,43,0,2,0,5,6,12,0
6
+ DF,0,3,0,1,4,0,0,1,1,0,0
7
+ INF,0,6,0,0,0,1,0,0,3,0,0
8
+ MAL_OTH,0,2,0,0,0,0,0,0,0,0,0
9
+ MEL,0,8,0,9,0,1,0,45,26,0,1
10
+ NV,0,4,0,13,1,0,0,14,117,0,0
11
+ SCCKA,7,30,0,8,0,0,0,0,0,50,0
12
+ VASC,0,3,0,0,0,0,0,0,2,0,4
singleenc_canvas_meta_clean/confusion_matrix_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,25,14,0,10,0,0,0,0,0,12,0
3
+ BCC,6,467,2,6,0,0,0,5,0,18,0
4
+ BEN_OTH,0,4,1,2,0,0,0,1,1,0,0
5
+ BKL,5,36,0,43,0,2,0,5,6,12,0
6
+ DF,0,3,0,1,4,0,0,1,1,0,0
7
+ INF,0,6,0,0,0,1,0,0,3,0,0
8
+ MAL_OTH,0,2,0,0,0,0,0,0,0,0,0
9
+ MEL,0,8,0,9,0,1,0,45,26,0,1
10
+ NV,0,4,0,13,1,0,0,14,117,0,0
11
+ SCCKA,7,30,0,8,0,0,0,0,0,50,0
12
+ VASC,0,3,0,0,0,0,0,0,2,0,4
singleenc_canvas_meta_clean/data_summary.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full": {
3
+ "rows": 5240,
4
+ "class_counts": {
5
+ "AKIEC": 303,
6
+ "BCC": 2522,
7
+ "BEN_OTH": 44,
8
+ "BKL": 544,
9
+ "DF": 52,
10
+ "INF": 50,
11
+ "MAL_OTH": 9,
12
+ "MEL": 450,
13
+ "NV": 746,
14
+ "SCCKA": 473,
15
+ "VASC": 47
16
+ },
17
+ "real_rows": 5240,
18
+ "synthetic_rows": 0,
19
+ "synthetic_class_counts": {
20
+ "AKIEC": 0,
21
+ "BCC": 0,
22
+ "BEN_OTH": 0,
23
+ "BKL": 0,
24
+ "DF": 0,
25
+ "INF": 0,
26
+ "MAL_OTH": 0,
27
+ "MEL": 0,
28
+ "NV": 0,
29
+ "SCCKA": 0,
30
+ "VASC": 0
31
+ },
32
+ "ignore_metadata_rows": 0,
33
+ "dermoscopic_mask_status_counts": {}
34
+ },
35
+ "train": {
36
+ "rows": 4192,
37
+ "class_counts": {
38
+ "AKIEC": 242,
39
+ "BCC": 2018,
40
+ "BEN_OTH": 35,
41
+ "BKL": 435,
42
+ "DF": 42,
43
+ "INF": 40,
44
+ "MAL_OTH": 7,
45
+ "MEL": 360,
46
+ "NV": 597,
47
+ "SCCKA": 378,
48
+ "VASC": 38
49
+ },
50
+ "real_rows": 4192,
51
+ "synthetic_rows": 0,
52
+ "synthetic_class_counts": {
53
+ "AKIEC": 0,
54
+ "BCC": 0,
55
+ "BEN_OTH": 0,
56
+ "BKL": 0,
57
+ "DF": 0,
58
+ "INF": 0,
59
+ "MAL_OTH": 0,
60
+ "MEL": 0,
61
+ "NV": 0,
62
+ "SCCKA": 0,
63
+ "VASC": 0
64
+ },
65
+ "ignore_metadata_rows": 0,
66
+ "dermoscopic_mask_status_counts": {}
67
+ },
68
+ "val": {
69
+ "rows": 1048,
70
+ "class_counts": {
71
+ "AKIEC": 61,
72
+ "BCC": 504,
73
+ "BEN_OTH": 9,
74
+ "BKL": 109,
75
+ "DF": 10,
76
+ "INF": 10,
77
+ "MAL_OTH": 2,
78
+ "MEL": 90,
79
+ "NV": 149,
80
+ "SCCKA": 95,
81
+ "VASC": 9
82
+ },
83
+ "real_rows": 1048,
84
+ "synthetic_rows": 0,
85
+ "synthetic_class_counts": {
86
+ "AKIEC": 0,
87
+ "BCC": 0,
88
+ "BEN_OTH": 0,
89
+ "BKL": 0,
90
+ "DF": 0,
91
+ "INF": 0,
92
+ "MAL_OTH": 0,
93
+ "MEL": 0,
94
+ "NV": 0,
95
+ "SCCKA": 0,
96
+ "VASC": 0
97
+ },
98
+ "ignore_metadata_rows": 0,
99
+ "dermoscopic_mask_status_counts": {}
100
+ },
101
+ "synthetic_train_only": false
102
+ }
singleenc_canvas_meta_clean/history.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_meta_clean/metrics.json ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_selection_metric": 0.45890082971867585,
3
+ "selection_metric_name": "f1_macro",
4
+ "best_val_f1_macro": 0.45890082971867585,
5
+ "checkpoint_variant": "raw",
6
+ "temperature": 1.0,
7
+ "variants": {
8
+ "raw": {
9
+ "checkpoint": "/marimo/single_encoder_split_runs/singleenc_canvas_meta_clean/best_raw.pt",
10
+ "temperature": 1.0,
11
+ "uncalibrated_metrics": {
12
+ "accuracy": 0.7223282442748091,
13
+ "nll": 0.9558886233648743,
14
+ "ece": 0.12614943638881393,
15
+ "mean_confidence": 0.8397572697118073,
16
+ "mean_correct_confidence": 0.8830919518505055,
17
+ "balanced_accuracy": 0.41800227494210984,
18
+ "top2_accuracy": 0.8826335877862596,
19
+ "top3_accuracy": 0.9427480916030534,
20
+ "precision_macro": 0.5426145287687019,
21
+ "recall_macro": 0.41800227494210984,
22
+ "f1_macro": 0.45890082971867585,
23
+ "precision_weighted": 0.7017655227562718,
24
+ "recall_weighted": 0.7223282442748091,
25
+ "f1_weighted": 0.7063544015301239,
26
+ "dice_macro": 0.45890082971867585,
27
+ "roc_auc_macro_ovr": 0.8877698658146211,
28
+ "roc_auc_weighted_ovr": 0.9259082650648938,
29
+ "roc_auc_micro_ovr": 0.9648051905483364,
30
+ "specificity_macro": 0.9641854674839209,
31
+ "per_class": [
32
+ {
33
+ "class": "AKIEC",
34
+ "support": 61,
35
+ "precision": 0.5813953488372093,
36
+ "recall_sensitivity": 0.4098360655737705,
37
+ "specificity": 0.9817629179331308,
38
+ "f1": 0.4807692307692308,
39
+ "auc_ovr": 0.9202252229807164,
40
+ "mean_correct_confidence": 0.7249597858045641
41
+ },
42
+ {
43
+ "class": "BCC",
44
+ "support": 504,
45
+ "precision": 0.8093587521663779,
46
+ "recall_sensitivity": 0.9265873015873016,
47
+ "specificity": 0.7977941176470589,
48
+ "f1": 0.8640148011100832,
49
+ "auc_ovr": 0.9349578373015873,
50
+ "mean_correct_confidence": 0.9063078182329873
51
+ },
52
+ {
53
+ "class": "BEN_OTH",
54
+ "support": 9,
55
+ "precision": 0.3333333333333333,
56
+ "recall_sensitivity": 0.1111111111111111,
57
+ "specificity": 0.9980750721847931,
58
+ "f1": 0.16666666666666666,
59
+ "auc_ovr": 0.9069618222649984,
60
+ "mean_correct_confidence": 0.5962276162185882
61
+ },
62
+ {
63
+ "class": "BKL",
64
+ "support": 109,
65
+ "precision": 0.4673913043478261,
66
+ "recall_sensitivity": 0.3944954128440367,
67
+ "specificity": 0.9478168264110756,
68
+ "f1": 0.42786069651741293,
69
+ "auc_ovr": 0.837441744584811,
70
+ "mean_correct_confidence": 0.779698067611131
71
+ },
72
+ {
73
+ "class": "DF",
74
+ "support": 10,
75
+ "precision": 0.8,
76
+ "recall_sensitivity": 0.4,
77
+ "specificity": 0.9990366088631984,
78
+ "f1": 0.5333333333333333,
79
+ "auc_ovr": 0.922543352601156,
80
+ "mean_correct_confidence": 0.6129321245485475
81
+ },
82
+ {
83
+ "class": "INF",
84
+ "support": 10,
85
+ "precision": 0.25,
86
+ "recall_sensitivity": 0.1,
87
+ "specificity": 0.9971098265895953,
88
+ "f1": 0.14285714285714285,
89
+ "auc_ovr": 0.9444123314065511,
90
+ "mean_correct_confidence": 0.6850158165814613
91
+ },
92
+ {
93
+ "class": "MAL_OTH",
94
+ "support": 2,
95
+ "precision": 0.0,
96
+ "recall_sensitivity": 0.0,
97
+ "specificity": 1.0,
98
+ "f1": 0.0,
99
+ "auc_ovr": 0.497131931166348,
100
+ "mean_correct_confidence": null
101
+ },
102
+ {
103
+ "class": "MEL",
104
+ "support": 90,
105
+ "precision": 0.6338028169014085,
106
+ "recall_sensitivity": 0.5,
107
+ "specificity": 0.9728601252609603,
108
+ "f1": 0.5590062111801242,
109
+ "auc_ovr": 0.9212131755973092,
110
+ "mean_correct_confidence": 0.7802996118564285
111
+ },
112
+ {
113
+ "class": "NV",
114
+ "support": 149,
115
+ "precision": 0.75,
116
+ "recall_sensitivity": 0.785234899328859,
117
+ "specificity": 0.9566184649610678,
118
+ "f1": 0.7672131147540984,
119
+ "auc_ovr": 0.9642107934991153,
120
+ "mean_correct_confidence": 0.9115875213789741
121
+ },
122
+ {
123
+ "class": "SCCKA",
124
+ "support": 95,
125
+ "precision": 0.5434782608695652,
126
+ "recall_sensitivity": 0.5263157894736842,
127
+ "specificity": 0.9559286463798531,
128
+ "f1": 0.5347593582887701,
129
+ "auc_ovr": 0.9310211520406474,
130
+ "mean_correct_confidence": 0.8917582760628049
131
+ },
132
+ {
133
+ "class": "VASC",
134
+ "support": 9,
135
+ "precision": 0.8,
136
+ "recall_sensitivity": 0.4444444444444444,
137
+ "specificity": 0.9990375360923965,
138
+ "f1": 0.5714285714285714,
139
+ "auc_ovr": 0.9853491605175917,
140
+ "mean_correct_confidence": 0.8784341536552687
141
+ }
142
+ ],
143
+ "classification_report": {
144
+ "AKIEC": {
145
+ "precision": 0.5813953488372093,
146
+ "recall": 0.4098360655737705,
147
+ "f1-score": 0.4807692307692308,
148
+ "support": 61.0
149
+ },
150
+ "BCC": {
151
+ "precision": 0.8093587521663779,
152
+ "recall": 0.9265873015873016,
153
+ "f1-score": 0.8640148011100832,
154
+ "support": 504.0
155
+ },
156
+ "BEN_OTH": {
157
+ "precision": 0.3333333333333333,
158
+ "recall": 0.1111111111111111,
159
+ "f1-score": 0.16666666666666666,
160
+ "support": 9.0
161
+ },
162
+ "BKL": {
163
+ "precision": 0.4673913043478261,
164
+ "recall": 0.3944954128440367,
165
+ "f1-score": 0.42786069651741293,
166
+ "support": 109.0
167
+ },
168
+ "DF": {
169
+ "precision": 0.8,
170
+ "recall": 0.4,
171
+ "f1-score": 0.5333333333333333,
172
+ "support": 10.0
173
+ },
174
+ "INF": {
175
+ "precision": 0.25,
176
+ "recall": 0.1,
177
+ "f1-score": 0.14285714285714285,
178
+ "support": 10.0
179
+ },
180
+ "MAL_OTH": {
181
+ "precision": 0.0,
182
+ "recall": 0.0,
183
+ "f1-score": 0.0,
184
+ "support": 2.0
185
+ },
186
+ "MEL": {
187
+ "precision": 0.6338028169014085,
188
+ "recall": 0.5,
189
+ "f1-score": 0.5590062111801242,
190
+ "support": 90.0
191
+ },
192
+ "NV": {
193
+ "precision": 0.75,
194
+ "recall": 0.785234899328859,
195
+ "f1-score": 0.7672131147540984,
196
+ "support": 149.0
197
+ },
198
+ "SCCKA": {
199
+ "precision": 0.5434782608695652,
200
+ "recall": 0.5263157894736842,
201
+ "f1-score": 0.5347593582887701,
202
+ "support": 95.0
203
+ },
204
+ "VASC": {
205
+ "precision": 0.8,
206
+ "recall": 0.4444444444444444,
207
+ "f1-score": 0.5714285714285714,
208
+ "support": 9.0
209
+ },
210
+ "accuracy": 0.7223282442748091,
211
+ "macro avg": {
212
+ "precision": 0.5426145287687019,
213
+ "recall": 0.41800227494210984,
214
+ "f1-score": 0.45890082971867585,
215
+ "support": 1048.0
216
+ },
217
+ "weighted avg": {
218
+ "precision": 0.7017655227562718,
219
+ "recall": 0.7223282442748091,
220
+ "f1-score": 0.7063544015301239,
221
+ "support": 1048.0
222
+ }
223
+ },
224
+ "class_names": [
225
+ "AKIEC",
226
+ "BCC",
227
+ "BEN_OTH",
228
+ "BKL",
229
+ "DF",
230
+ "INF",
231
+ "MAL_OTH",
232
+ "MEL",
233
+ "NV",
234
+ "SCCKA",
235
+ "VASC"
236
+ ],
237
+ "head_class_names": [
238
+ "AKIEC",
239
+ "BCC",
240
+ "BKL",
241
+ "MEL",
242
+ "NV",
243
+ "SCCKA"
244
+ ],
245
+ "mean_correct_confidence_head": 0.8852127194404602
246
+ },
247
+ "metrics": {
248
+ "accuracy": 0.7223282442748091,
249
+ "nll": 0.9558886233648743,
250
+ "ece": 0.12614943638881393,
251
+ "mean_confidence": 0.8397572697118073,
252
+ "mean_correct_confidence": 0.8830919518505055,
253
+ "balanced_accuracy": 0.41800227494210984,
254
+ "top2_accuracy": 0.8826335877862596,
255
+ "top3_accuracy": 0.9427480916030534,
256
+ "precision_macro": 0.5426145287687019,
257
+ "recall_macro": 0.41800227494210984,
258
+ "f1_macro": 0.45890082971867585,
259
+ "precision_weighted": 0.7017655227562718,
260
+ "recall_weighted": 0.7223282442748091,
261
+ "f1_weighted": 0.7063544015301239,
262
+ "dice_macro": 0.45890082971867585,
263
+ "roc_auc_macro_ovr": 0.8877698658146211,
264
+ "roc_auc_weighted_ovr": 0.9259082650648938,
265
+ "roc_auc_micro_ovr": 0.9648051905483364,
266
+ "specificity_macro": 0.9641854674839209,
267
+ "per_class": [
268
+ {
269
+ "class": "AKIEC",
270
+ "support": 61,
271
+ "precision": 0.5813953488372093,
272
+ "recall_sensitivity": 0.4098360655737705,
273
+ "specificity": 0.9817629179331308,
274
+ "f1": 0.4807692307692308,
275
+ "auc_ovr": 0.9202252229807164,
276
+ "mean_correct_confidence": 0.7249597858045641
277
+ },
278
+ {
279
+ "class": "BCC",
280
+ "support": 504,
281
+ "precision": 0.8093587521663779,
282
+ "recall_sensitivity": 0.9265873015873016,
283
+ "specificity": 0.7977941176470589,
284
+ "f1": 0.8640148011100832,
285
+ "auc_ovr": 0.9349578373015873,
286
+ "mean_correct_confidence": 0.9063078182329873
287
+ },
288
+ {
289
+ "class": "BEN_OTH",
290
+ "support": 9,
291
+ "precision": 0.3333333333333333,
292
+ "recall_sensitivity": 0.1111111111111111,
293
+ "specificity": 0.9980750721847931,
294
+ "f1": 0.16666666666666666,
295
+ "auc_ovr": 0.9069618222649984,
296
+ "mean_correct_confidence": 0.5962276162185882
297
+ },
298
+ {
299
+ "class": "BKL",
300
+ "support": 109,
301
+ "precision": 0.4673913043478261,
302
+ "recall_sensitivity": 0.3944954128440367,
303
+ "specificity": 0.9478168264110756,
304
+ "f1": 0.42786069651741293,
305
+ "auc_ovr": 0.837441744584811,
306
+ "mean_correct_confidence": 0.779698067611131
307
+ },
308
+ {
309
+ "class": "DF",
310
+ "support": 10,
311
+ "precision": 0.8,
312
+ "recall_sensitivity": 0.4,
313
+ "specificity": 0.9990366088631984,
314
+ "f1": 0.5333333333333333,
315
+ "auc_ovr": 0.922543352601156,
316
+ "mean_correct_confidence": 0.6129321245485475
317
+ },
318
+ {
319
+ "class": "INF",
320
+ "support": 10,
321
+ "precision": 0.25,
322
+ "recall_sensitivity": 0.1,
323
+ "specificity": 0.9971098265895953,
324
+ "f1": 0.14285714285714285,
325
+ "auc_ovr": 0.9444123314065511,
326
+ "mean_correct_confidence": 0.6850158165814613
327
+ },
328
+ {
329
+ "class": "MAL_OTH",
330
+ "support": 2,
331
+ "precision": 0.0,
332
+ "recall_sensitivity": 0.0,
333
+ "specificity": 1.0,
334
+ "f1": 0.0,
335
+ "auc_ovr": 0.497131931166348,
336
+ "mean_correct_confidence": null
337
+ },
338
+ {
339
+ "class": "MEL",
340
+ "support": 90,
341
+ "precision": 0.6338028169014085,
342
+ "recall_sensitivity": 0.5,
343
+ "specificity": 0.9728601252609603,
344
+ "f1": 0.5590062111801242,
345
+ "auc_ovr": 0.9212131755973092,
346
+ "mean_correct_confidence": 0.7802996118564285
347
+ },
348
+ {
349
+ "class": "NV",
350
+ "support": 149,
351
+ "precision": 0.75,
352
+ "recall_sensitivity": 0.785234899328859,
353
+ "specificity": 0.9566184649610678,
354
+ "f1": 0.7672131147540984,
355
+ "auc_ovr": 0.9642107934991153,
356
+ "mean_correct_confidence": 0.9115875213789741
357
+ },
358
+ {
359
+ "class": "SCCKA",
360
+ "support": 95,
361
+ "precision": 0.5434782608695652,
362
+ "recall_sensitivity": 0.5263157894736842,
363
+ "specificity": 0.9559286463798531,
364
+ "f1": 0.5347593582887701,
365
+ "auc_ovr": 0.9310211520406474,
366
+ "mean_correct_confidence": 0.8917582760628049
367
+ },
368
+ {
369
+ "class": "VASC",
370
+ "support": 9,
371
+ "precision": 0.8,
372
+ "recall_sensitivity": 0.4444444444444444,
373
+ "specificity": 0.9990375360923965,
374
+ "f1": 0.5714285714285714,
375
+ "auc_ovr": 0.9853491605175917,
376
+ "mean_correct_confidence": 0.8784341536552687
377
+ }
378
+ ],
379
+ "classification_report": {
380
+ "AKIEC": {
381
+ "precision": 0.5813953488372093,
382
+ "recall": 0.4098360655737705,
383
+ "f1-score": 0.4807692307692308,
384
+ "support": 61.0
385
+ },
386
+ "BCC": {
387
+ "precision": 0.8093587521663779,
388
+ "recall": 0.9265873015873016,
389
+ "f1-score": 0.8640148011100832,
390
+ "support": 504.0
391
+ },
392
+ "BEN_OTH": {
393
+ "precision": 0.3333333333333333,
394
+ "recall": 0.1111111111111111,
395
+ "f1-score": 0.16666666666666666,
396
+ "support": 9.0
397
+ },
398
+ "BKL": {
399
+ "precision": 0.4673913043478261,
400
+ "recall": 0.3944954128440367,
401
+ "f1-score": 0.42786069651741293,
402
+ "support": 109.0
403
+ },
404
+ "DF": {
405
+ "precision": 0.8,
406
+ "recall": 0.4,
407
+ "f1-score": 0.5333333333333333,
408
+ "support": 10.0
409
+ },
410
+ "INF": {
411
+ "precision": 0.25,
412
+ "recall": 0.1,
413
+ "f1-score": 0.14285714285714285,
414
+ "support": 10.0
415
+ },
416
+ "MAL_OTH": {
417
+ "precision": 0.0,
418
+ "recall": 0.0,
419
+ "f1-score": 0.0,
420
+ "support": 2.0
421
+ },
422
+ "MEL": {
423
+ "precision": 0.6338028169014085,
424
+ "recall": 0.5,
425
+ "f1-score": 0.5590062111801242,
426
+ "support": 90.0
427
+ },
428
+ "NV": {
429
+ "precision": 0.75,
430
+ "recall": 0.785234899328859,
431
+ "f1-score": 0.7672131147540984,
432
+ "support": 149.0
433
+ },
434
+ "SCCKA": {
435
+ "precision": 0.5434782608695652,
436
+ "recall": 0.5263157894736842,
437
+ "f1-score": 0.5347593582887701,
438
+ "support": 95.0
439
+ },
440
+ "VASC": {
441
+ "precision": 0.8,
442
+ "recall": 0.4444444444444444,
443
+ "f1-score": 0.5714285714285714,
444
+ "support": 9.0
445
+ },
446
+ "accuracy": 0.7223282442748091,
447
+ "macro avg": {
448
+ "precision": 0.5426145287687019,
449
+ "recall": 0.41800227494210984,
450
+ "f1-score": 0.45890082971867585,
451
+ "support": 1048.0
452
+ },
453
+ "weighted avg": {
454
+ "precision": 0.7017655227562718,
455
+ "recall": 0.7223282442748091,
456
+ "f1-score": 0.7063544015301239,
457
+ "support": 1048.0
458
+ }
459
+ },
460
+ "class_names": [
461
+ "AKIEC",
462
+ "BCC",
463
+ "BEN_OTH",
464
+ "BKL",
465
+ "DF",
466
+ "INF",
467
+ "MAL_OTH",
468
+ "MEL",
469
+ "NV",
470
+ "SCCKA",
471
+ "VASC"
472
+ ],
473
+ "head_class_names": [
474
+ "AKIEC",
475
+ "BCC",
476
+ "BKL",
477
+ "MEL",
478
+ "NV",
479
+ "SCCKA"
480
+ ],
481
+ "mean_correct_confidence_head": 0.8852127194404602
482
+ }
483
+ }
484
+ },
485
+ "accuracy": 0.7223282442748091,
486
+ "nll": 0.9558886233648743,
487
+ "ece": 0.12614943638881393,
488
+ "mean_confidence": 0.8397572697118073,
489
+ "mean_correct_confidence": 0.8830919518505055,
490
+ "balanced_accuracy": 0.41800227494210984,
491
+ "top2_accuracy": 0.8826335877862596,
492
+ "top3_accuracy": 0.9427480916030534,
493
+ "precision_macro": 0.5426145287687019,
494
+ "recall_macro": 0.41800227494210984,
495
+ "f1_macro": 0.45890082971867585,
496
+ "precision_weighted": 0.7017655227562718,
497
+ "recall_weighted": 0.7223282442748091,
498
+ "f1_weighted": 0.7063544015301239,
499
+ "dice_macro": 0.45890082971867585,
500
+ "roc_auc_macro_ovr": 0.8877698658146211,
501
+ "roc_auc_weighted_ovr": 0.9259082650648938,
502
+ "roc_auc_micro_ovr": 0.9648051905483364,
503
+ "specificity_macro": 0.9641854674839209,
504
+ "per_class": [
505
+ {
506
+ "class": "AKIEC",
507
+ "support": 61,
508
+ "precision": 0.5813953488372093,
509
+ "recall_sensitivity": 0.4098360655737705,
510
+ "specificity": 0.9817629179331308,
511
+ "f1": 0.4807692307692308,
512
+ "auc_ovr": 0.9202252229807164,
513
+ "mean_correct_confidence": 0.7249597858045641
514
+ },
515
+ {
516
+ "class": "BCC",
517
+ "support": 504,
518
+ "precision": 0.8093587521663779,
519
+ "recall_sensitivity": 0.9265873015873016,
520
+ "specificity": 0.7977941176470589,
521
+ "f1": 0.8640148011100832,
522
+ "auc_ovr": 0.9349578373015873,
523
+ "mean_correct_confidence": 0.9063078182329873
524
+ },
525
+ {
526
+ "class": "BEN_OTH",
527
+ "support": 9,
528
+ "precision": 0.3333333333333333,
529
+ "recall_sensitivity": 0.1111111111111111,
530
+ "specificity": 0.9980750721847931,
531
+ "f1": 0.16666666666666666,
532
+ "auc_ovr": 0.9069618222649984,
533
+ "mean_correct_confidence": 0.5962276162185882
534
+ },
535
+ {
536
+ "class": "BKL",
537
+ "support": 109,
538
+ "precision": 0.4673913043478261,
539
+ "recall_sensitivity": 0.3944954128440367,
540
+ "specificity": 0.9478168264110756,
541
+ "f1": 0.42786069651741293,
542
+ "auc_ovr": 0.837441744584811,
543
+ "mean_correct_confidence": 0.779698067611131
544
+ },
545
+ {
546
+ "class": "DF",
547
+ "support": 10,
548
+ "precision": 0.8,
549
+ "recall_sensitivity": 0.4,
550
+ "specificity": 0.9990366088631984,
551
+ "f1": 0.5333333333333333,
552
+ "auc_ovr": 0.922543352601156,
553
+ "mean_correct_confidence": 0.6129321245485475
554
+ },
555
+ {
556
+ "class": "INF",
557
+ "support": 10,
558
+ "precision": 0.25,
559
+ "recall_sensitivity": 0.1,
560
+ "specificity": 0.9971098265895953,
561
+ "f1": 0.14285714285714285,
562
+ "auc_ovr": 0.9444123314065511,
563
+ "mean_correct_confidence": 0.6850158165814613
564
+ },
565
+ {
566
+ "class": "MAL_OTH",
567
+ "support": 2,
568
+ "precision": 0.0,
569
+ "recall_sensitivity": 0.0,
570
+ "specificity": 1.0,
571
+ "f1": 0.0,
572
+ "auc_ovr": 0.497131931166348,
573
+ "mean_correct_confidence": null
574
+ },
575
+ {
576
+ "class": "MEL",
577
+ "support": 90,
578
+ "precision": 0.6338028169014085,
579
+ "recall_sensitivity": 0.5,
580
+ "specificity": 0.9728601252609603,
581
+ "f1": 0.5590062111801242,
582
+ "auc_ovr": 0.9212131755973092,
583
+ "mean_correct_confidence": 0.7802996118564285
584
+ },
585
+ {
586
+ "class": "NV",
587
+ "support": 149,
588
+ "precision": 0.75,
589
+ "recall_sensitivity": 0.785234899328859,
590
+ "specificity": 0.9566184649610678,
591
+ "f1": 0.7672131147540984,
592
+ "auc_ovr": 0.9642107934991153,
593
+ "mean_correct_confidence": 0.9115875213789741
594
+ },
595
+ {
596
+ "class": "SCCKA",
597
+ "support": 95,
598
+ "precision": 0.5434782608695652,
599
+ "recall_sensitivity": 0.5263157894736842,
600
+ "specificity": 0.9559286463798531,
601
+ "f1": 0.5347593582887701,
602
+ "auc_ovr": 0.9310211520406474,
603
+ "mean_correct_confidence": 0.8917582760628049
604
+ },
605
+ {
606
+ "class": "VASC",
607
+ "support": 9,
608
+ "precision": 0.8,
609
+ "recall_sensitivity": 0.4444444444444444,
610
+ "specificity": 0.9990375360923965,
611
+ "f1": 0.5714285714285714,
612
+ "auc_ovr": 0.9853491605175917,
613
+ "mean_correct_confidence": 0.8784341536552687
614
+ }
615
+ ],
616
+ "classification_report": {
617
+ "AKIEC": {
618
+ "precision": 0.5813953488372093,
619
+ "recall": 0.4098360655737705,
620
+ "f1-score": 0.4807692307692308,
621
+ "support": 61.0
622
+ },
623
+ "BCC": {
624
+ "precision": 0.8093587521663779,
625
+ "recall": 0.9265873015873016,
626
+ "f1-score": 0.8640148011100832,
627
+ "support": 504.0
628
+ },
629
+ "BEN_OTH": {
630
+ "precision": 0.3333333333333333,
631
+ "recall": 0.1111111111111111,
632
+ "f1-score": 0.16666666666666666,
633
+ "support": 9.0
634
+ },
635
+ "BKL": {
636
+ "precision": 0.4673913043478261,
637
+ "recall": 0.3944954128440367,
638
+ "f1-score": 0.42786069651741293,
639
+ "support": 109.0
640
+ },
641
+ "DF": {
642
+ "precision": 0.8,
643
+ "recall": 0.4,
644
+ "f1-score": 0.5333333333333333,
645
+ "support": 10.0
646
+ },
647
+ "INF": {
648
+ "precision": 0.25,
649
+ "recall": 0.1,
650
+ "f1-score": 0.14285714285714285,
651
+ "support": 10.0
652
+ },
653
+ "MAL_OTH": {
654
+ "precision": 0.0,
655
+ "recall": 0.0,
656
+ "f1-score": 0.0,
657
+ "support": 2.0
658
+ },
659
+ "MEL": {
660
+ "precision": 0.6338028169014085,
661
+ "recall": 0.5,
662
+ "f1-score": 0.5590062111801242,
663
+ "support": 90.0
664
+ },
665
+ "NV": {
666
+ "precision": 0.75,
667
+ "recall": 0.785234899328859,
668
+ "f1-score": 0.7672131147540984,
669
+ "support": 149.0
670
+ },
671
+ "SCCKA": {
672
+ "precision": 0.5434782608695652,
673
+ "recall": 0.5263157894736842,
674
+ "f1-score": 0.5347593582887701,
675
+ "support": 95.0
676
+ },
677
+ "VASC": {
678
+ "precision": 0.8,
679
+ "recall": 0.4444444444444444,
680
+ "f1-score": 0.5714285714285714,
681
+ "support": 9.0
682
+ },
683
+ "accuracy": 0.7223282442748091,
684
+ "macro avg": {
685
+ "precision": 0.5426145287687019,
686
+ "recall": 0.41800227494210984,
687
+ "f1-score": 0.45890082971867585,
688
+ "support": 1048.0
689
+ },
690
+ "weighted avg": {
691
+ "precision": 0.7017655227562718,
692
+ "recall": 0.7223282442748091,
693
+ "f1-score": 0.7063544015301239,
694
+ "support": 1048.0
695
+ }
696
+ },
697
+ "class_names": [
698
+ "AKIEC",
699
+ "BCC",
700
+ "BEN_OTH",
701
+ "BKL",
702
+ "DF",
703
+ "INF",
704
+ "MAL_OTH",
705
+ "MEL",
706
+ "NV",
707
+ "SCCKA",
708
+ "VASC"
709
+ ],
710
+ "head_class_names": [
711
+ "AKIEC",
712
+ "BCC",
713
+ "BKL",
714
+ "MEL",
715
+ "NV",
716
+ "SCCKA"
717
+ ],
718
+ "mean_correct_confidence_head": 0.8852127194404602
719
+ }
singleenc_canvas_meta_clean/per_class_metrics.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.5813953488372093,0.4098360655737705,0.9817629179331308,0.4807692307692308,0.9202252229807164,0.7249597858045641
3
+ BCC,504,0.8093587521663779,0.9265873015873016,0.7977941176470589,0.8640148011100832,0.9349578373015873,0.9063078182329873
4
+ BEN_OTH,9,0.3333333333333333,0.1111111111111111,0.9980750721847931,0.16666666666666666,0.9069618222649984,0.5962276162185882
5
+ BKL,109,0.4673913043478261,0.3944954128440367,0.9478168264110756,0.42786069651741293,0.837441744584811,0.779698067611131
6
+ DF,10,0.8,0.4,0.9990366088631984,0.5333333333333333,0.922543352601156,0.6129321245485475
7
+ INF,10,0.25,0.1,0.9971098265895953,0.14285714285714285,0.9444123314065511,0.6850158165814613
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.497131931166348,
9
+ MEL,90,0.6338028169014085,0.5,0.9728601252609603,0.5590062111801242,0.9212131755973092,0.7802996118564285
10
+ NV,149,0.75,0.785234899328859,0.9566184649610678,0.7672131147540984,0.9642107934991153,0.9115875213789741
11
+ SCCKA,95,0.5434782608695652,0.5263157894736842,0.9559286463798531,0.5347593582887701,0.9310211520406474,0.8917582760628049
12
+ VASC,9,0.8,0.4444444444444444,0.9990375360923965,0.5714285714285714,0.9853491605175917,0.8784341536552687
singleenc_canvas_meta_clean/per_class_metrics_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.5813953488372093,0.4098360655737705,0.9817629179331308,0.4807692307692308,0.9202252229807164,0.7249597858045641
3
+ BCC,504,0.8093587521663779,0.9265873015873016,0.7977941176470589,0.8640148011100832,0.9349578373015873,0.9063078182329873
4
+ BEN_OTH,9,0.3333333333333333,0.1111111111111111,0.9980750721847931,0.16666666666666666,0.9069618222649984,0.5962276162185882
5
+ BKL,109,0.4673913043478261,0.3944954128440367,0.9478168264110756,0.42786069651741293,0.837441744584811,0.779698067611131
6
+ DF,10,0.8,0.4,0.9990366088631984,0.5333333333333333,0.922543352601156,0.6129321245485475
7
+ INF,10,0.25,0.1,0.9971098265895953,0.14285714285714285,0.9444123314065511,0.6850158165814613
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.497131931166348,
9
+ MEL,90,0.6338028169014085,0.5,0.9728601252609603,0.5590062111801242,0.9212131755973092,0.7802996118564285
10
+ NV,149,0.75,0.785234899328859,0.9566184649610678,0.7672131147540984,0.9642107934991153,0.9115875213789741
11
+ SCCKA,95,0.5434782608695652,0.5263157894736842,0.9559286463798531,0.5347593582887701,0.9310211520406474,0.8917582760628049
12
+ VASC,9,0.8,0.4444444444444444,0.9990375360923965,0.5714285714285714,0.9853491605175917,0.8784341536552687
singleenc_canvas_meta_clean/prediction_summary.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 1048,
3
+ "predicted_class_counts": {
4
+ "AKIEC": 43,
5
+ "BCC": 577,
6
+ "BEN_OTH": 3,
7
+ "BKL": 92,
8
+ "DF": 5,
9
+ "INF": 4,
10
+ "MAL_OTH": 0,
11
+ "MEL": 71,
12
+ "NV": 156,
13
+ "SCCKA": 92,
14
+ "VASC": 5
15
+ },
16
+ "mean_probability": {
17
+ "AKIEC": 0.052189018577337265,
18
+ "BCC": 0.5079343318939209,
19
+ "BEN_OTH": 0.0059618339873850346,
20
+ "BKL": 0.10647891461849213,
21
+ "DF": 0.005393606144934893,
22
+ "INF": 0.004017123021185398,
23
+ "MAL_OTH": 0.0004838905297219753,
24
+ "MEL": 0.06894421577453613,
25
+ "NV": 0.14760766923427582,
26
+ "SCCKA": 0.09546048194169998,
27
+ "VASC": 0.005528921727091074
28
+ },
29
+ "median_probability": {
30
+ "AKIEC": 0.001042254501953721,
31
+ "BCC": 0.5547813773155212,
32
+ "BEN_OTH": 2.522435534046963e-05,
33
+ "BKL": 0.011626601219177246,
34
+ "DF": 3.542529884725809e-05,
35
+ "INF": 2.483165189914871e-05,
36
+ "MAL_OTH": 6.39051286270842e-05,
37
+ "MEL": 0.0002256285515613854,
38
+ "NV": 0.0007636842201463878,
39
+ "SCCKA": 0.001273753005079925,
40
+ "VASC": 3.525881766108796e-06
41
+ },
42
+ "mean_confidence": 0.8397572636604309,
43
+ "median_confidence": 0.931233286857605,
44
+ "mean_top1_top2_gap": 0.7270599007606506,
45
+ "median_top1_top2_gap": 0.881771445274353,
46
+ "mean_entropy": 0.4348164200782776,
47
+ "median_entropy": 0.2936103940010071,
48
+ "low_confidence_threshold": 0.5,
49
+ "low_confidence_rows": 76
50
+ }
singleenc_canvas_meta_clean/raw/val_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_meta_clean/run_config.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "data_dir": "/marimo/milk10k",
4
+ "dermoscopic_mask_dir": null,
5
+ "min_dermoscopic_mask_ratio": 0.01,
6
+ "clinical_checkpoint": null,
7
+ "dermoscopic_checkpoint": null,
8
+ "resume_checkpoint": null,
9
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_canvas_meta_clean",
10
+ "freeze_epochs": 8,
11
+ "finetune_epochs": 40,
12
+ "batch_size": 8,
13
+ "image_size": 260,
14
+ "backbone": "efficientnet_b2",
15
+ "num_workers": 4,
16
+ "head_lr": 0.0001,
17
+ "encoder_lr": 1e-05,
18
+ "metadata_lr": null,
19
+ "metadata_fusion": "concat",
20
+ "image_fusion": "single_encoder_canvas",
21
+ "metadata_gate_hidden_dim": 64,
22
+ "disable_metadata": false,
23
+ "freeze_metadata_head": false,
24
+ "weight_decay": 0.0001,
25
+ "val_size": 0.2,
26
+ "synthetic_train_only": false,
27
+ "augmented_data_dir": null,
28
+ "augmented_max_per_class": 0,
29
+ "augmented_classes": [],
30
+ "zero_augmented_metadata": false,
31
+ "seed": 42,
32
+ "branch_dim": 512,
33
+ "metadata_dim": 64,
34
+ "classifier_hidden_dim": 512,
35
+ "classifier_style": "simple",
36
+ "dropout": 0.3,
37
+ "logit_fusion_mode": "single",
38
+ "fusion_logit_weight": 0.6,
39
+ "clinical_logit_weight": 0.2,
40
+ "dermoscopic_logit_weight": 0.2,
41
+ "class_weight": false,
42
+ "weighted_sampler": false,
43
+ "sampler_power": 1.0,
44
+ "balance_mode": "none",
45
+ "balance_head_ratio": 2.0,
46
+ "balance_tail_floor": 100,
47
+ "balance_min_source_count": 20,
48
+ "loss": "ce",
49
+ "focal_gamma": 2.0,
50
+ "dice_weight": 0.3,
51
+ "f1_weight": 0.3,
52
+ "f1_ignore_classes": [],
53
+ "f1_class_weight": [],
54
+ "ldam_beta": 0.9999,
55
+ "ldam_max_margin": 0.5,
56
+ "ldam_drw_start_epoch": 0,
57
+ "ldam_alpha_max": 10.0,
58
+ "tail_num_classes": 4,
59
+ "k_folds": 1,
60
+ "amp": true,
61
+ "backbone_backend": "auto",
62
+ "imagenet_pretrained": true,
63
+ "selection_metric": "f1_macro",
64
+ "calibrate_bias": false,
65
+ "calibration_metric": "dice_macro",
66
+ "calibration_max_bias": 1.5,
67
+ "calibration_step": 0.25,
68
+ "calibration_passes": 3,
69
+ "patience": 6,
70
+ "tau": 0.0,
71
+ "lws_epochs": 0,
72
+ "lws_lr": 0.01,
73
+ "lws_sampler_power": 0.5,
74
+ "lws_min_scale": 0.75,
75
+ "lws_max_scale": 1.5,
76
+ "ema": false,
77
+ "ema_decay": 0.999,
78
+ "fit_temperature": false
79
+ },
80
+ "environment": {
81
+ "timestamp_utc": "2026-06-23T00:31:28.961798+00:00",
82
+ "cwd": "/marimo",
83
+ "command": [
84
+ "/marimo/code/train_milk10k_effb2_dual_metadata.py",
85
+ "--data-dir",
86
+ "/marimo/milk10k",
87
+ "--backbone",
88
+ "efficientnet_b2",
89
+ "--backbone-backend",
90
+ "auto",
91
+ "--metadata-fusion",
92
+ "concat",
93
+ "--classifier-style",
94
+ "simple",
95
+ "--logit-fusion-mode",
96
+ "single",
97
+ "--loss",
98
+ "ce",
99
+ "--freeze-epochs",
100
+ "8",
101
+ "--finetune-epochs",
102
+ "40",
103
+ "--batch-size",
104
+ "8",
105
+ "--image-size",
106
+ "260",
107
+ "--selection-metric",
108
+ "f1_macro",
109
+ "--patience",
110
+ "6",
111
+ "--num-workers",
112
+ "4",
113
+ "--seed",
114
+ "42",
115
+ "--amp",
116
+ "--output-dir",
117
+ "/marimo/single_encoder_split_runs/singleenc_canvas_meta_clean",
118
+ "--image-fusion",
119
+ "single_encoder_canvas"
120
+ ],
121
+ "python": "3.13.11 (main, Feb 3 2026, 03:08:54) [GCC 14.2.0]",
122
+ "platform": "Linux-4.4.0-x86_64-with-glibc2.41",
123
+ "executable": "/tmp/uv-venv/bin/python",
124
+ "torch": {
125
+ "version": "2.12.0+cu130",
126
+ "cuda_available": true,
127
+ "cuda_device_count": 1,
128
+ "cuda_device_name": "NVIDIA RTX PRO 6000 Blackwell Server Edition"
129
+ },
130
+ "git": {
131
+ "available": false
132
+ }
133
+ },
134
+ "class_names": [
135
+ "AKIEC",
136
+ "BCC",
137
+ "BEN_OTH",
138
+ "BKL",
139
+ "DF",
140
+ "INF",
141
+ "MAL_OTH",
142
+ "MEL",
143
+ "NV",
144
+ "SCCKA",
145
+ "VASC"
146
+ ],
147
+ "label_to_idx": {
148
+ "AKIEC": 0,
149
+ "BCC": 1,
150
+ "BEN_OTH": 2,
151
+ "BKL": 3,
152
+ "DF": 4,
153
+ "INF": 5,
154
+ "MAL_OTH": 6,
155
+ "MEL": 7,
156
+ "NV": 8,
157
+ "SCCKA": 9,
158
+ "VASC": 10
159
+ },
160
+ "metadata_spec": {
161
+ "sex_values": [
162
+ "female",
163
+ "male",
164
+ "unknown"
165
+ ],
166
+ "site_values": [
167
+ "foot",
168
+ "genital",
169
+ "hand",
170
+ "head_neck_face",
171
+ "lower_extremity",
172
+ "trunk",
173
+ "unknown",
174
+ "upper_extremity"
175
+ ],
176
+ "monet_columns": [
177
+ "MONET_erythema",
178
+ "MONET_gel_water_drop_fluid_dermoscopy_liquid",
179
+ "MONET_hair",
180
+ "MONET_pigmented",
181
+ "MONET_skin_markings_pen_ink_purple_pen",
182
+ "MONET_ulceration_crust",
183
+ "MONET_vasculature_vessels"
184
+ ]
185
+ },
186
+ "model_type": "DualEffB2MetadataClassifier",
187
+ "train_size": 4192,
188
+ "val_size": 1048,
189
+ "fold": null,
190
+ "metadata_fusion": "concat",
191
+ "image_fusion": "single_encoder_canvas",
192
+ "clinical_backbone": "timm efficientnet_b2",
193
+ "dermoscopic_backbone": "timm efficientnet_b2",
194
+ "paths": {
195
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_canvas_meta_clean",
196
+ "data_dir": "/marimo/milk10k",
197
+ "dermoscopic_mask_dir": "None",
198
+ "clinical_checkpoint": "None",
199
+ "dermoscopic_checkpoint": "None",
200
+ "resume_checkpoint": "None",
201
+ "augmented_data_dir": "None"
202
+ }
203
+ }
singleenc_canvas_meta_clean/run_diagnostics.json ADDED
@@ -0,0 +1,756 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fold": null,
3
+ "warnings": [
4
+ {
5
+ "code": "tiny_validation_support",
6
+ "severity": "medium",
7
+ "message": "MAL_OTH validation support is only 2.",
8
+ "class": "MAL_OTH"
9
+ }
10
+ ],
11
+ "prediction_summary": {
12
+ "rows": 1048,
13
+ "predicted_class_counts": {
14
+ "AKIEC": 43,
15
+ "BCC": 577,
16
+ "BEN_OTH": 3,
17
+ "BKL": 92,
18
+ "DF": 5,
19
+ "INF": 4,
20
+ "MAL_OTH": 0,
21
+ "MEL": 71,
22
+ "NV": 156,
23
+ "SCCKA": 92,
24
+ "VASC": 5
25
+ },
26
+ "mean_probability": {
27
+ "AKIEC": 0.052189018577337265,
28
+ "BCC": 0.5079343318939209,
29
+ "BEN_OTH": 0.0059618339873850346,
30
+ "BKL": 0.10647891461849213,
31
+ "DF": 0.005393606144934893,
32
+ "INF": 0.004017123021185398,
33
+ "MAL_OTH": 0.0004838905297219753,
34
+ "MEL": 0.06894421577453613,
35
+ "NV": 0.14760766923427582,
36
+ "SCCKA": 0.09546048194169998,
37
+ "VASC": 0.005528921727091074
38
+ },
39
+ "median_probability": {
40
+ "AKIEC": 0.001042254501953721,
41
+ "BCC": 0.5547813773155212,
42
+ "BEN_OTH": 2.522435534046963e-05,
43
+ "BKL": 0.011626601219177246,
44
+ "DF": 3.542529884725809e-05,
45
+ "INF": 2.483165189914871e-05,
46
+ "MAL_OTH": 6.39051286270842e-05,
47
+ "MEL": 0.0002256285515613854,
48
+ "NV": 0.0007636842201463878,
49
+ "SCCKA": 0.001273753005079925,
50
+ "VASC": 3.525881766108796e-06
51
+ },
52
+ "mean_confidence": 0.8397572636604309,
53
+ "median_confidence": 0.931233286857605,
54
+ "mean_top1_top2_gap": 0.7270599007606506,
55
+ "median_top1_top2_gap": 0.881771445274353,
56
+ "mean_entropy": 0.4348164200782776,
57
+ "median_entropy": 0.2936103940010071,
58
+ "low_confidence_threshold": 0.5,
59
+ "low_confidence_rows": 76
60
+ },
61
+ "confusion_analysis": {
62
+ "false_negatives_by_true_class": {
63
+ "AKIEC": [
64
+ {
65
+ "true": "AKIEC",
66
+ "predicted": "BCC",
67
+ "count": 14,
68
+ "rate_of_true": 0.22950819672131148
69
+ },
70
+ {
71
+ "true": "AKIEC",
72
+ "predicted": "SCCKA",
73
+ "count": 12,
74
+ "rate_of_true": 0.19672131147540983
75
+ },
76
+ {
77
+ "true": "AKIEC",
78
+ "predicted": "BKL",
79
+ "count": 10,
80
+ "rate_of_true": 0.16393442622950818
81
+ }
82
+ ],
83
+ "BCC": [
84
+ {
85
+ "true": "BCC",
86
+ "predicted": "SCCKA",
87
+ "count": 18,
88
+ "rate_of_true": 0.03571428571428571
89
+ },
90
+ {
91
+ "true": "BCC",
92
+ "predicted": "AKIEC",
93
+ "count": 6,
94
+ "rate_of_true": 0.011904761904761904
95
+ },
96
+ {
97
+ "true": "BCC",
98
+ "predicted": "BKL",
99
+ "count": 6,
100
+ "rate_of_true": 0.011904761904761904
101
+ },
102
+ {
103
+ "true": "BCC",
104
+ "predicted": "MEL",
105
+ "count": 5,
106
+ "rate_of_true": 0.00992063492063492
107
+ },
108
+ {
109
+ "true": "BCC",
110
+ "predicted": "BEN_OTH",
111
+ "count": 2,
112
+ "rate_of_true": 0.003968253968253968
113
+ }
114
+ ],
115
+ "BEN_OTH": [
116
+ {
117
+ "true": "BEN_OTH",
118
+ "predicted": "BCC",
119
+ "count": 4,
120
+ "rate_of_true": 0.4444444444444444
121
+ },
122
+ {
123
+ "true": "BEN_OTH",
124
+ "predicted": "BKL",
125
+ "count": 2,
126
+ "rate_of_true": 0.2222222222222222
127
+ },
128
+ {
129
+ "true": "BEN_OTH",
130
+ "predicted": "MEL",
131
+ "count": 1,
132
+ "rate_of_true": 0.1111111111111111
133
+ },
134
+ {
135
+ "true": "BEN_OTH",
136
+ "predicted": "NV",
137
+ "count": 1,
138
+ "rate_of_true": 0.1111111111111111
139
+ }
140
+ ],
141
+ "BKL": [
142
+ {
143
+ "true": "BKL",
144
+ "predicted": "BCC",
145
+ "count": 36,
146
+ "rate_of_true": 0.3302752293577982
147
+ },
148
+ {
149
+ "true": "BKL",
150
+ "predicted": "SCCKA",
151
+ "count": 12,
152
+ "rate_of_true": 0.11009174311926606
153
+ },
154
+ {
155
+ "true": "BKL",
156
+ "predicted": "NV",
157
+ "count": 6,
158
+ "rate_of_true": 0.05504587155963303
159
+ },
160
+ {
161
+ "true": "BKL",
162
+ "predicted": "AKIEC",
163
+ "count": 5,
164
+ "rate_of_true": 0.045871559633027525
165
+ },
166
+ {
167
+ "true": "BKL",
168
+ "predicted": "MEL",
169
+ "count": 5,
170
+ "rate_of_true": 0.045871559633027525
171
+ },
172
+ {
173
+ "true": "BKL",
174
+ "predicted": "INF",
175
+ "count": 2,
176
+ "rate_of_true": 0.01834862385321101
177
+ }
178
+ ],
179
+ "DF": [
180
+ {
181
+ "true": "DF",
182
+ "predicted": "BCC",
183
+ "count": 3,
184
+ "rate_of_true": 0.3
185
+ },
186
+ {
187
+ "true": "DF",
188
+ "predicted": "BKL",
189
+ "count": 1,
190
+ "rate_of_true": 0.1
191
+ },
192
+ {
193
+ "true": "DF",
194
+ "predicted": "MEL",
195
+ "count": 1,
196
+ "rate_of_true": 0.1
197
+ },
198
+ {
199
+ "true": "DF",
200
+ "predicted": "NV",
201
+ "count": 1,
202
+ "rate_of_true": 0.1
203
+ }
204
+ ],
205
+ "INF": [
206
+ {
207
+ "true": "INF",
208
+ "predicted": "BCC",
209
+ "count": 6,
210
+ "rate_of_true": 0.6
211
+ },
212
+ {
213
+ "true": "INF",
214
+ "predicted": "NV",
215
+ "count": 3,
216
+ "rate_of_true": 0.3
217
+ }
218
+ ],
219
+ "MAL_OTH": [
220
+ {
221
+ "true": "MAL_OTH",
222
+ "predicted": "BCC",
223
+ "count": 2,
224
+ "rate_of_true": 1.0
225
+ }
226
+ ],
227
+ "MEL": [
228
+ {
229
+ "true": "MEL",
230
+ "predicted": "NV",
231
+ "count": 26,
232
+ "rate_of_true": 0.28888888888888886
233
+ },
234
+ {
235
+ "true": "MEL",
236
+ "predicted": "BKL",
237
+ "count": 9,
238
+ "rate_of_true": 0.1
239
+ },
240
+ {
241
+ "true": "MEL",
242
+ "predicted": "BCC",
243
+ "count": 8,
244
+ "rate_of_true": 0.08888888888888889
245
+ },
246
+ {
247
+ "true": "MEL",
248
+ "predicted": "INF",
249
+ "count": 1,
250
+ "rate_of_true": 0.011111111111111112
251
+ },
252
+ {
253
+ "true": "MEL",
254
+ "predicted": "VASC",
255
+ "count": 1,
256
+ "rate_of_true": 0.011111111111111112
257
+ }
258
+ ],
259
+ "NV": [
260
+ {
261
+ "true": "NV",
262
+ "predicted": "MEL",
263
+ "count": 14,
264
+ "rate_of_true": 0.09395973154362416
265
+ },
266
+ {
267
+ "true": "NV",
268
+ "predicted": "BKL",
269
+ "count": 13,
270
+ "rate_of_true": 0.087248322147651
271
+ },
272
+ {
273
+ "true": "NV",
274
+ "predicted": "BCC",
275
+ "count": 4,
276
+ "rate_of_true": 0.026845637583892617
277
+ },
278
+ {
279
+ "true": "NV",
280
+ "predicted": "DF",
281
+ "count": 1,
282
+ "rate_of_true": 0.006711409395973154
283
+ }
284
+ ],
285
+ "SCCKA": [
286
+ {
287
+ "true": "SCCKA",
288
+ "predicted": "BCC",
289
+ "count": 30,
290
+ "rate_of_true": 0.3157894736842105
291
+ },
292
+ {
293
+ "true": "SCCKA",
294
+ "predicted": "BKL",
295
+ "count": 8,
296
+ "rate_of_true": 0.08421052631578947
297
+ },
298
+ {
299
+ "true": "SCCKA",
300
+ "predicted": "AKIEC",
301
+ "count": 7,
302
+ "rate_of_true": 0.07368421052631578
303
+ }
304
+ ],
305
+ "VASC": [
306
+ {
307
+ "true": "VASC",
308
+ "predicted": "BCC",
309
+ "count": 3,
310
+ "rate_of_true": 0.3333333333333333
311
+ },
312
+ {
313
+ "true": "VASC",
314
+ "predicted": "NV",
315
+ "count": 2,
316
+ "rate_of_true": 0.2222222222222222
317
+ }
318
+ ]
319
+ },
320
+ "false_positives_by_predicted_class": {
321
+ "AKIEC": [
322
+ {
323
+ "predicted": "AKIEC",
324
+ "true": "SCCKA",
325
+ "count": 7,
326
+ "rate_of_predicted": 0.16279069767441862
327
+ },
328
+ {
329
+ "predicted": "AKIEC",
330
+ "true": "BCC",
331
+ "count": 6,
332
+ "rate_of_predicted": 0.13953488372093023
333
+ },
334
+ {
335
+ "predicted": "AKIEC",
336
+ "true": "BKL",
337
+ "count": 5,
338
+ "rate_of_predicted": 0.11627906976744186
339
+ }
340
+ ],
341
+ "BCC": [
342
+ {
343
+ "predicted": "BCC",
344
+ "true": "BKL",
345
+ "count": 36,
346
+ "rate_of_predicted": 0.06239168110918544
347
+ },
348
+ {
349
+ "predicted": "BCC",
350
+ "true": "SCCKA",
351
+ "count": 30,
352
+ "rate_of_predicted": 0.05199306759098787
353
+ },
354
+ {
355
+ "predicted": "BCC",
356
+ "true": "AKIEC",
357
+ "count": 14,
358
+ "rate_of_predicted": 0.024263431542461005
359
+ },
360
+ {
361
+ "predicted": "BCC",
362
+ "true": "MEL",
363
+ "count": 8,
364
+ "rate_of_predicted": 0.01386481802426343
365
+ },
366
+ {
367
+ "predicted": "BCC",
368
+ "true": "INF",
369
+ "count": 6,
370
+ "rate_of_predicted": 0.010398613518197574
371
+ },
372
+ {
373
+ "predicted": "BCC",
374
+ "true": "BEN_OTH",
375
+ "count": 4,
376
+ "rate_of_predicted": 0.006932409012131715
377
+ },
378
+ {
379
+ "predicted": "BCC",
380
+ "true": "NV",
381
+ "count": 4,
382
+ "rate_of_predicted": 0.006932409012131715
383
+ },
384
+ {
385
+ "predicted": "BCC",
386
+ "true": "DF",
387
+ "count": 3,
388
+ "rate_of_predicted": 0.005199306759098787
389
+ },
390
+ {
391
+ "predicted": "BCC",
392
+ "true": "VASC",
393
+ "count": 3,
394
+ "rate_of_predicted": 0.005199306759098787
395
+ },
396
+ {
397
+ "predicted": "BCC",
398
+ "true": "MAL_OTH",
399
+ "count": 2,
400
+ "rate_of_predicted": 0.0034662045060658577
401
+ }
402
+ ],
403
+ "BEN_OTH": [
404
+ {
405
+ "predicted": "BEN_OTH",
406
+ "true": "BCC",
407
+ "count": 2,
408
+ "rate_of_predicted": 0.6666666666666666
409
+ }
410
+ ],
411
+ "BKL": [
412
+ {
413
+ "predicted": "BKL",
414
+ "true": "NV",
415
+ "count": 13,
416
+ "rate_of_predicted": 0.14130434782608695
417
+ },
418
+ {
419
+ "predicted": "BKL",
420
+ "true": "AKIEC",
421
+ "count": 10,
422
+ "rate_of_predicted": 0.10869565217391304
423
+ },
424
+ {
425
+ "predicted": "BKL",
426
+ "true": "MEL",
427
+ "count": 9,
428
+ "rate_of_predicted": 0.09782608695652174
429
+ },
430
+ {
431
+ "predicted": "BKL",
432
+ "true": "SCCKA",
433
+ "count": 8,
434
+ "rate_of_predicted": 0.08695652173913043
435
+ },
436
+ {
437
+ "predicted": "BKL",
438
+ "true": "BCC",
439
+ "count": 6,
440
+ "rate_of_predicted": 0.06521739130434782
441
+ },
442
+ {
443
+ "predicted": "BKL",
444
+ "true": "BEN_OTH",
445
+ "count": 2,
446
+ "rate_of_predicted": 0.021739130434782608
447
+ },
448
+ {
449
+ "predicted": "BKL",
450
+ "true": "DF",
451
+ "count": 1,
452
+ "rate_of_predicted": 0.010869565217391304
453
+ }
454
+ ],
455
+ "DF": [
456
+ {
457
+ "predicted": "DF",
458
+ "true": "NV",
459
+ "count": 1,
460
+ "rate_of_predicted": 0.2
461
+ }
462
+ ],
463
+ "INF": [
464
+ {
465
+ "predicted": "INF",
466
+ "true": "BKL",
467
+ "count": 2,
468
+ "rate_of_predicted": 0.5
469
+ },
470
+ {
471
+ "predicted": "INF",
472
+ "true": "MEL",
473
+ "count": 1,
474
+ "rate_of_predicted": 0.25
475
+ }
476
+ ],
477
+ "MAL_OTH": [],
478
+ "MEL": [
479
+ {
480
+ "predicted": "MEL",
481
+ "true": "NV",
482
+ "count": 14,
483
+ "rate_of_predicted": 0.19718309859154928
484
+ },
485
+ {
486
+ "predicted": "MEL",
487
+ "true": "BCC",
488
+ "count": 5,
489
+ "rate_of_predicted": 0.07042253521126761
490
+ },
491
+ {
492
+ "predicted": "MEL",
493
+ "true": "BKL",
494
+ "count": 5,
495
+ "rate_of_predicted": 0.07042253521126761
496
+ },
497
+ {
498
+ "predicted": "MEL",
499
+ "true": "BEN_OTH",
500
+ "count": 1,
501
+ "rate_of_predicted": 0.014084507042253521
502
+ },
503
+ {
504
+ "predicted": "MEL",
505
+ "true": "DF",
506
+ "count": 1,
507
+ "rate_of_predicted": 0.014084507042253521
508
+ }
509
+ ],
510
+ "NV": [
511
+ {
512
+ "predicted": "NV",
513
+ "true": "MEL",
514
+ "count": 26,
515
+ "rate_of_predicted": 0.16666666666666666
516
+ },
517
+ {
518
+ "predicted": "NV",
519
+ "true": "BKL",
520
+ "count": 6,
521
+ "rate_of_predicted": 0.038461538461538464
522
+ },
523
+ {
524
+ "predicted": "NV",
525
+ "true": "INF",
526
+ "count": 3,
527
+ "rate_of_predicted": 0.019230769230769232
528
+ },
529
+ {
530
+ "predicted": "NV",
531
+ "true": "VASC",
532
+ "count": 2,
533
+ "rate_of_predicted": 0.01282051282051282
534
+ },
535
+ {
536
+ "predicted": "NV",
537
+ "true": "BEN_OTH",
538
+ "count": 1,
539
+ "rate_of_predicted": 0.00641025641025641
540
+ },
541
+ {
542
+ "predicted": "NV",
543
+ "true": "DF",
544
+ "count": 1,
545
+ "rate_of_predicted": 0.00641025641025641
546
+ }
547
+ ],
548
+ "SCCKA": [
549
+ {
550
+ "predicted": "SCCKA",
551
+ "true": "BCC",
552
+ "count": 18,
553
+ "rate_of_predicted": 0.1956521739130435
554
+ },
555
+ {
556
+ "predicted": "SCCKA",
557
+ "true": "AKIEC",
558
+ "count": 12,
559
+ "rate_of_predicted": 0.13043478260869565
560
+ },
561
+ {
562
+ "predicted": "SCCKA",
563
+ "true": "BKL",
564
+ "count": 12,
565
+ "rate_of_predicted": 0.13043478260869565
566
+ }
567
+ ],
568
+ "VASC": [
569
+ {
570
+ "predicted": "VASC",
571
+ "true": "MEL",
572
+ "count": 1,
573
+ "rate_of_predicted": 0.2
574
+ }
575
+ ]
576
+ },
577
+ "top_confusion_pairs": [
578
+ {
579
+ "true": "BKL",
580
+ "predicted": "BCC",
581
+ "count": 36,
582
+ "rate_of_true": 0.3302752293577982
583
+ },
584
+ {
585
+ "true": "SCCKA",
586
+ "predicted": "BCC",
587
+ "count": 30,
588
+ "rate_of_true": 0.3157894736842105
589
+ },
590
+ {
591
+ "true": "MEL",
592
+ "predicted": "NV",
593
+ "count": 26,
594
+ "rate_of_true": 0.28888888888888886
595
+ },
596
+ {
597
+ "true": "BCC",
598
+ "predicted": "SCCKA",
599
+ "count": 18,
600
+ "rate_of_true": 0.03571428571428571
601
+ },
602
+ {
603
+ "true": "AKIEC",
604
+ "predicted": "BCC",
605
+ "count": 14,
606
+ "rate_of_true": 0.22950819672131148
607
+ },
608
+ {
609
+ "true": "NV",
610
+ "predicted": "MEL",
611
+ "count": 14,
612
+ "rate_of_true": 0.09395973154362416
613
+ },
614
+ {
615
+ "true": "NV",
616
+ "predicted": "BKL",
617
+ "count": 13,
618
+ "rate_of_true": 0.087248322147651
619
+ },
620
+ {
621
+ "true": "AKIEC",
622
+ "predicted": "SCCKA",
623
+ "count": 12,
624
+ "rate_of_true": 0.19672131147540983
625
+ },
626
+ {
627
+ "true": "BKL",
628
+ "predicted": "SCCKA",
629
+ "count": 12,
630
+ "rate_of_true": 0.11009174311926606
631
+ },
632
+ {
633
+ "true": "AKIEC",
634
+ "predicted": "BKL",
635
+ "count": 10,
636
+ "rate_of_true": 0.16393442622950818
637
+ },
638
+ {
639
+ "true": "MEL",
640
+ "predicted": "BKL",
641
+ "count": 9,
642
+ "rate_of_true": 0.1
643
+ },
644
+ {
645
+ "true": "MEL",
646
+ "predicted": "BCC",
647
+ "count": 8,
648
+ "rate_of_true": 0.08888888888888889
649
+ },
650
+ {
651
+ "true": "SCCKA",
652
+ "predicted": "BKL",
653
+ "count": 8,
654
+ "rate_of_true": 0.08421052631578947
655
+ },
656
+ {
657
+ "true": "SCCKA",
658
+ "predicted": "AKIEC",
659
+ "count": 7,
660
+ "rate_of_true": 0.07368421052631578
661
+ },
662
+ {
663
+ "true": "BCC",
664
+ "predicted": "AKIEC",
665
+ "count": 6,
666
+ "rate_of_true": 0.011904761904761904
667
+ },
668
+ {
669
+ "true": "BCC",
670
+ "predicted": "BKL",
671
+ "count": 6,
672
+ "rate_of_true": 0.011904761904761904
673
+ },
674
+ {
675
+ "true": "BKL",
676
+ "predicted": "NV",
677
+ "count": 6,
678
+ "rate_of_true": 0.05504587155963303
679
+ },
680
+ {
681
+ "true": "INF",
682
+ "predicted": "BCC",
683
+ "count": 6,
684
+ "rate_of_true": 0.6
685
+ },
686
+ {
687
+ "true": "BCC",
688
+ "predicted": "MEL",
689
+ "count": 5,
690
+ "rate_of_true": 0.00992063492063492
691
+ },
692
+ {
693
+ "true": "BKL",
694
+ "predicted": "AKIEC",
695
+ "count": 5,
696
+ "rate_of_true": 0.045871559633027525
697
+ }
698
+ ],
699
+ "watched_confusion_patterns": [
700
+ {
701
+ "true": "BCC",
702
+ "predicted": "SCCKA",
703
+ "count": 18,
704
+ "rate_of_true": 0.03571428571428571
705
+ },
706
+ {
707
+ "true": "AKIEC",
708
+ "predicted": "SCCKA",
709
+ "count": 12,
710
+ "rate_of_true": 0.19672131147540983
711
+ },
712
+ {
713
+ "true": "BKL",
714
+ "predicted": "SCCKA",
715
+ "count": 12,
716
+ "rate_of_true": 0.11009174311926606
717
+ },
718
+ {
719
+ "true": "SCCKA",
720
+ "predicted": "BKL",
721
+ "count": 8,
722
+ "rate_of_true": 0.08421052631578947
723
+ },
724
+ {
725
+ "true": "SCCKA",
726
+ "predicted": "AKIEC",
727
+ "count": 7,
728
+ "rate_of_true": 0.07368421052631578
729
+ },
730
+ {
731
+ "true": "BCC",
732
+ "predicted": "AKIEC",
733
+ "count": 6,
734
+ "rate_of_true": 0.011904761904761904
735
+ },
736
+ {
737
+ "true": "BCC",
738
+ "predicted": "BKL",
739
+ "count": 6,
740
+ "rate_of_true": 0.011904761904761904
741
+ },
742
+ {
743
+ "true": "INF",
744
+ "predicted": "BCC",
745
+ "count": 6,
746
+ "rate_of_true": 0.6
747
+ },
748
+ {
749
+ "true": "INF",
750
+ "predicted": "NV",
751
+ "count": 3,
752
+ "rate_of_true": 0.3
753
+ }
754
+ ]
755
+ }
756
+ }
singleenc_canvas_meta_clean/run_report.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MILK10k Run Report
2
+
3
+ ## Config Summary
4
+
5
+ - fold: None
6
+ - output_dir: /marimo/single_encoder_split_runs/singleenc_canvas_meta_clean
7
+ - backbone: efficientnet_b2
8
+ - metadata_fusion: concat
9
+ - image_fusion: single_encoder_canvas
10
+ - loss: ce
11
+ - class_weight: False
12
+ - weighted_sampler: False
13
+ - balance_mode: none
14
+ - balance_head_ratio: 2.0
15
+ - balance_tail_floor: 100
16
+ - balance_min_source_count: 20
17
+ - augmented_data_dir: None
18
+ - dermoscopic_mask_dir: None
19
+ - min_dermoscopic_mask_ratio: 0.01
20
+ - augmented_classes: []
21
+ - augmented_max_per_class: 0
22
+ - freeze_metadata_head: False
23
+ - zero_augmented_metadata: False
24
+
25
+ ## Final Metrics
26
+
27
+ - accuracy: 0.7223282442748091
28
+ - balanced_accuracy: 0.41800227494210984
29
+ - dice_macro: 0.45890082971867585
30
+ - f1_macro: 0.45890082971867585
31
+ - roc_auc_macro_ovr: 0.8877698658146211
32
+ - top2_accuracy: 0.8826335877862596
33
+ - top3_accuracy: 0.9427480916030534
34
+
35
+ ## Data Distribution
36
+
37
+ ### Train
38
+
39
+ - rows: 4192
40
+ - real_rows: 4192
41
+ - synthetic_rows: 0
42
+ - ignore_metadata_rows: 0
43
+
44
+ | class | count | synthetic |
45
+ |---|---:|---:|
46
+ | AKIEC | 242 | 0 |
47
+ | BCC | 2018 | 0 |
48
+ | BEN_OTH | 35 | 0 |
49
+ | BKL | 435 | 0 |
50
+ | DF | 42 | 0 |
51
+ | INF | 40 | 0 |
52
+ | MAL_OTH | 7 | 0 |
53
+ | MEL | 360 | 0 |
54
+ | NV | 597 | 0 |
55
+ | SCCKA | 378 | 0 |
56
+ | VASC | 38 | 0 |
57
+
58
+ ### Validation
59
+
60
+ - rows: 1048
61
+ - real_rows: 1048
62
+ - synthetic_rows: 0
63
+ - ignore_metadata_rows: 0
64
+
65
+ | class | count | synthetic |
66
+ |---|---:|---:|
67
+ | AKIEC | 61 | 0 |
68
+ | BCC | 504 | 0 |
69
+ | BEN_OTH | 9 | 0 |
70
+ | BKL | 109 | 0 |
71
+ | DF | 10 | 0 |
72
+ | INF | 10 | 0 |
73
+ | MAL_OTH | 2 | 0 |
74
+ | MEL | 90 | 0 |
75
+ | NV | 149 | 0 |
76
+ | SCCKA | 95 | 0 |
77
+ | VASC | 9 | 0 |
78
+
79
+ ## Per-Class Metrics
80
+
81
+ | class | support | precision | recall_sensitivity | specificity | f1 | auc_ovr | mean_correct_confidence |
82
+ | --- | --- | --- | --- | --- | --- | --- | --- |
83
+ | AKIEC | 61 | 0.581395 | 0.409836 | 0.981763 | 0.480769 | 0.920225 | 0.72496 |
84
+ | BCC | 504 | 0.809359 | 0.926587 | 0.797794 | 0.864015 | 0.934958 | 0.906308 |
85
+ | BEN_OTH | 9 | 0.333333 | 0.111111 | 0.998075 | 0.166667 | 0.906962 | 0.596228 |
86
+ | BKL | 109 | 0.467391 | 0.394495 | 0.947817 | 0.427861 | 0.837442 | 0.779698 |
87
+ | DF | 10 | 0.8 | 0.4 | 0.999037 | 0.533333 | 0.922543 | 0.612932 |
88
+ | INF | 10 | 0.25 | 0.1 | 0.99711 | 0.142857 | 0.944412 | 0.685016 |
89
+ | MAL_OTH | 2 | 0 | 0 | 1 | 0 | 0.497132 | |
90
+ | MEL | 90 | 0.633803 | 0.5 | 0.97286 | 0.559006 | 0.921213 | 0.7803 |
91
+ | NV | 149 | 0.75 | 0.785235 | 0.956618 | 0.767213 | 0.964211 | 0.911588 |
92
+ | SCCKA | 95 | 0.543478 | 0.526316 | 0.955929 | 0.534759 | 0.931021 | 0.891758 |
93
+ | VASC | 9 | 0.8 | 0.444444 | 0.999038 | 0.571429 | 0.985349 | 0.878434 |
94
+
95
+ ## Weak Classes
96
+
97
+ | class | support | precision | recall_sensitivity | specificity | f1 | auc_ovr | mean_correct_confidence |
98
+ | --- | --- | --- | --- | --- | --- | --- | --- |
99
+ | MAL_OTH | 2 | 0 | 0 | 1 | 0 | 0.497132 | |
100
+ | INF | 10 | 0.25 | 0.1 | 0.99711 | 0.142857 | 0.944412 | 0.685016 |
101
+ | BEN_OTH | 9 | 0.333333 | 0.111111 | 0.998075 | 0.166667 | 0.906962 | 0.596228 |
102
+ | BKL | 109 | 0.467391 | 0.394495 | 0.947817 | 0.427861 | 0.837442 | 0.779698 |
103
+ | AKIEC | 61 | 0.581395 | 0.409836 | 0.981763 | 0.480769 | 0.920225 | 0.72496 |
104
+
105
+ ## Prediction Distribution
106
+
107
+ | class | pred_count | mean_prob |
108
+ |---|---:|---:|
109
+ | AKIEC | 43 | 0.0522 |
110
+ | BCC | 577 | 0.5079 |
111
+ | BEN_OTH | 3 | 0.0060 |
112
+ | BKL | 92 | 0.1065 |
113
+ | DF | 5 | 0.0054 |
114
+ | INF | 4 | 0.0040 |
115
+ | MAL_OTH | 0 | 0.0005 |
116
+ | MEL | 71 | 0.0689 |
117
+ | NV | 156 | 0.1476 |
118
+ | SCCKA | 92 | 0.0955 |
119
+ | VASC | 5 | 0.0055 |
120
+
121
+ - mean_confidence: 0.8397572636604309
122
+ - median_confidence: 0.931233286857605
123
+ - mean_top1_top2_gap: 0.7270599007606506
124
+ - mean_entropy: 0.4348164200782776
125
+ - low_confidence_rows: 76
126
+
127
+ ## Top Confusion Pairs
128
+
129
+ | true | predicted | count | rate_of_true |
130
+ |---|---|---:|---:|
131
+ | BKL | BCC | 36 | 0.330 |
132
+ | SCCKA | BCC | 30 | 0.316 |
133
+ | MEL | NV | 26 | 0.289 |
134
+ | BCC | SCCKA | 18 | 0.036 |
135
+ | AKIEC | BCC | 14 | 0.230 |
136
+ | NV | MEL | 14 | 0.094 |
137
+ | NV | BKL | 13 | 0.087 |
138
+ | AKIEC | SCCKA | 12 | 0.197 |
139
+ | BKL | SCCKA | 12 | 0.110 |
140
+ | AKIEC | BKL | 10 | 0.164 |
141
+ | MEL | BKL | 9 | 0.100 |
142
+ | MEL | BCC | 8 | 0.089 |
143
+
144
+ ## Watched Confusion Patterns
145
+
146
+ | true | predicted | count | rate_of_true |
147
+ |---|---|---:|---:|
148
+ | BCC | SCCKA | 18 | 0.036 |
149
+ | AKIEC | SCCKA | 12 | 0.197 |
150
+ | BKL | SCCKA | 12 | 0.110 |
151
+ | SCCKA | BKL | 8 | 0.084 |
152
+ | SCCKA | AKIEC | 7 | 0.074 |
153
+ | BCC | AKIEC | 6 | 0.012 |
154
+ | BCC | BKL | 6 | 0.012 |
155
+ | INF | BCC | 6 | 0.600 |
156
+ | INF | NV | 3 | 0.300 |
157
+
158
+ ## Warnings
159
+
160
+ - [medium] tiny_validation_support: MAL_OTH validation support is only 2.
singleenc_canvas_meta_clean/split_summary.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Split Summary
2
+
3
+ ## Full
4
+
5
+ - rows: 5240
6
+ - real_rows: 5240
7
+ - synthetic_rows: 0
8
+ - ignore_metadata_rows: 0
9
+
10
+ | class | count | synthetic |
11
+ |---|---:|---:|
12
+ | AKIEC | 303 | 0 |
13
+ | BCC | 2522 | 0 |
14
+ | BEN_OTH | 44 | 0 |
15
+ | BKL | 544 | 0 |
16
+ | DF | 52 | 0 |
17
+ | INF | 50 | 0 |
18
+ | MAL_OTH | 9 | 0 |
19
+ | MEL | 450 | 0 |
20
+ | NV | 746 | 0 |
21
+ | SCCKA | 473 | 0 |
22
+ | VASC | 47 | 0 |
23
+
24
+ ## Train
25
+
26
+ - rows: 4192
27
+ - real_rows: 4192
28
+ - synthetic_rows: 0
29
+ - ignore_metadata_rows: 0
30
+
31
+ | class | count | synthetic |
32
+ |---|---:|---:|
33
+ | AKIEC | 242 | 0 |
34
+ | BCC | 2018 | 0 |
35
+ | BEN_OTH | 35 | 0 |
36
+ | BKL | 435 | 0 |
37
+ | DF | 42 | 0 |
38
+ | INF | 40 | 0 |
39
+ | MAL_OTH | 7 | 0 |
40
+ | MEL | 360 | 0 |
41
+ | NV | 597 | 0 |
42
+ | SCCKA | 378 | 0 |
43
+ | VASC | 38 | 0 |
44
+
45
+ ## Val
46
+
47
+ - rows: 1048
48
+ - real_rows: 1048
49
+ - synthetic_rows: 0
50
+ - ignore_metadata_rows: 0
51
+
52
+ | class | count | synthetic |
53
+ |---|---:|---:|
54
+ | AKIEC | 61 | 0 |
55
+ | BCC | 504 | 0 |
56
+ | BEN_OTH | 9 | 0 |
57
+ | BKL | 109 | 0 |
58
+ | DF | 10 | 0 |
59
+ | INF | 10 | 0 |
60
+ | MAL_OTH | 2 | 0 |
61
+ | MEL | 90 | 0 |
62
+ | NV | 149 | 0 |
63
+ | SCCKA | 95 | 0 |
64
+ | VASC | 9 | 0 |
65
+
66
+ - synthetic_train_only: False
singleenc_canvas_meta_clean/splits/train.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_meta_clean/splits/val.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_meta_clean/val_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_nometa_clean.predict.log ADDED
@@ -0,0 +1,4 @@
 
0
  0%| | 0/60 [00:00<?, ?it/s]
1
  2%|▏ | 1/60 [00:01<01:14, 1.27s/it]
2
  17%|█▋ | 10/60 [00:01<00:05, 9.80it/s]
3
  27%|██▋ | 16/60 [00:01<00:02, 16.00it/s]
4
  37%|███▋ | 22/60 [00:01<00:01, 21.34it/s]
5
  50%|█████ | 30/60 [00:01<00:01, 29.13it/s]
6
  62%|██████▏ | 37/60 [00:01<00:00, 36.59it/s]
7
  72%|███████▏ | 43/60 [00:01<00:00, 39.05it/s]
8
  83%|████████▎ | 50/60 [00:02<00:00, 42.45it/s]
9
  93%|█████████▎| 56/60 [00:02<00:00, 45.67it/s]
10
 
 
 
 
 
1
+
2
  0%| | 0/60 [00:00<?, ?it/s]
3
  2%|▏ | 1/60 [00:01<01:14, 1.27s/it]
4
  17%|█▋ | 10/60 [00:01<00:05, 9.80it/s]
5
  27%|██▋ | 16/60 [00:01<00:02, 16.00it/s]
6
  37%|███▋ | 22/60 [00:01<00:01, 21.34it/s]
7
  50%|█████ | 30/60 [00:01<00:01, 29.13it/s]
8
  62%|██████▏ | 37/60 [00:01<00:00, 36.59it/s]
9
  72%|███████▏ | 43/60 [00:01<00:00, 39.05it/s]
10
  83%|████████▎ | 50/60 [00:02<00:00, 42.45it/s]
11
  93%|█████████▎| 56/60 [00:02<00:00, 45.67it/s]
12
 
13
+ Tail audit DF: predicted_count=5, mean_probability=0.010479, max_probability=0.837968
14
+ Tail audit INF: predicted_count=2, mean_probability=0.005812, max_probability=0.402538
15
+ Saved predictions: /marimo/single_encoder_split_submissions/singleenc_canvas_nometa_clean.csv
singleenc_canvas_nometa_clean.train.log ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_nometa_clean/confusion_analysis.json ADDED
@@ -0,0 +1,809 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "false_negatives_by_true_class": {
3
+ "AKIEC": [
4
+ {
5
+ "true": "AKIEC",
6
+ "predicted": "BCC",
7
+ "count": 14,
8
+ "rate_of_true": 0.22950819672131148
9
+ },
10
+ {
11
+ "true": "AKIEC",
12
+ "predicted": "SCCKA",
13
+ "count": 13,
14
+ "rate_of_true": 0.21311475409836064
15
+ },
16
+ {
17
+ "true": "AKIEC",
18
+ "predicted": "BKL",
19
+ "count": 10,
20
+ "rate_of_true": 0.16393442622950818
21
+ }
22
+ ],
23
+ "BCC": [
24
+ {
25
+ "true": "BCC",
26
+ "predicted": "SCCKA",
27
+ "count": 12,
28
+ "rate_of_true": 0.023809523809523808
29
+ },
30
+ {
31
+ "true": "BCC",
32
+ "predicted": "BKL",
33
+ "count": 9,
34
+ "rate_of_true": 0.017857142857142856
35
+ },
36
+ {
37
+ "true": "BCC",
38
+ "predicted": "NV",
39
+ "count": 9,
40
+ "rate_of_true": 0.017857142857142856
41
+ },
42
+ {
43
+ "true": "BCC",
44
+ "predicted": "AKIEC",
45
+ "count": 6,
46
+ "rate_of_true": 0.011904761904761904
47
+ },
48
+ {
49
+ "true": "BCC",
50
+ "predicted": "MEL",
51
+ "count": 4,
52
+ "rate_of_true": 0.007936507936507936
53
+ },
54
+ {
55
+ "true": "BCC",
56
+ "predicted": "BEN_OTH",
57
+ "count": 1,
58
+ "rate_of_true": 0.001984126984126984
59
+ },
60
+ {
61
+ "true": "BCC",
62
+ "predicted": "INF",
63
+ "count": 1,
64
+ "rate_of_true": 0.001984126984126984
65
+ },
66
+ {
67
+ "true": "BCC",
68
+ "predicted": "VASC",
69
+ "count": 1,
70
+ "rate_of_true": 0.001984126984126984
71
+ }
72
+ ],
73
+ "BEN_OTH": [
74
+ {
75
+ "true": "BEN_OTH",
76
+ "predicted": "BCC",
77
+ "count": 4,
78
+ "rate_of_true": 0.4444444444444444
79
+ },
80
+ {
81
+ "true": "BEN_OTH",
82
+ "predicted": "BKL",
83
+ "count": 2,
84
+ "rate_of_true": 0.2222222222222222
85
+ },
86
+ {
87
+ "true": "BEN_OTH",
88
+ "predicted": "MEL",
89
+ "count": 1,
90
+ "rate_of_true": 0.1111111111111111
91
+ },
92
+ {
93
+ "true": "BEN_OTH",
94
+ "predicted": "NV",
95
+ "count": 1,
96
+ "rate_of_true": 0.1111111111111111
97
+ }
98
+ ],
99
+ "BKL": [
100
+ {
101
+ "true": "BKL",
102
+ "predicted": "BCC",
103
+ "count": 35,
104
+ "rate_of_true": 0.3211009174311927
105
+ },
106
+ {
107
+ "true": "BKL",
108
+ "predicted": "SCCKA",
109
+ "count": 11,
110
+ "rate_of_true": 0.10091743119266056
111
+ },
112
+ {
113
+ "true": "BKL",
114
+ "predicted": "NV",
115
+ "count": 9,
116
+ "rate_of_true": 0.08256880733944955
117
+ },
118
+ {
119
+ "true": "BKL",
120
+ "predicted": "INF",
121
+ "count": 3,
122
+ "rate_of_true": 0.027522935779816515
123
+ },
124
+ {
125
+ "true": "BKL",
126
+ "predicted": "MEL",
127
+ "count": 3,
128
+ "rate_of_true": 0.027522935779816515
129
+ },
130
+ {
131
+ "true": "BKL",
132
+ "predicted": "AKIEC",
133
+ "count": 1,
134
+ "rate_of_true": 0.009174311926605505
135
+ }
136
+ ],
137
+ "DF": [
138
+ {
139
+ "true": "DF",
140
+ "predicted": "BCC",
141
+ "count": 4,
142
+ "rate_of_true": 0.4
143
+ },
144
+ {
145
+ "true": "DF",
146
+ "predicted": "NV",
147
+ "count": 2,
148
+ "rate_of_true": 0.2
149
+ },
150
+ {
151
+ "true": "DF",
152
+ "predicted": "BKL",
153
+ "count": 1,
154
+ "rate_of_true": 0.1
155
+ }
156
+ ],
157
+ "INF": [
158
+ {
159
+ "true": "INF",
160
+ "predicted": "BCC",
161
+ "count": 7,
162
+ "rate_of_true": 0.7
163
+ },
164
+ {
165
+ "true": "INF",
166
+ "predicted": "BEN_OTH",
167
+ "count": 1,
168
+ "rate_of_true": 0.1
169
+ },
170
+ {
171
+ "true": "INF",
172
+ "predicted": "NV",
173
+ "count": 1,
174
+ "rate_of_true": 0.1
175
+ }
176
+ ],
177
+ "MAL_OTH": [
178
+ {
179
+ "true": "MAL_OTH",
180
+ "predicted": "BCC",
181
+ "count": 2,
182
+ "rate_of_true": 1.0
183
+ }
184
+ ],
185
+ "MEL": [
186
+ {
187
+ "true": "MEL",
188
+ "predicted": "NV",
189
+ "count": 45,
190
+ "rate_of_true": 0.5
191
+ },
192
+ {
193
+ "true": "MEL",
194
+ "predicted": "BCC",
195
+ "count": 8,
196
+ "rate_of_true": 0.08888888888888889
197
+ },
198
+ {
199
+ "true": "MEL",
200
+ "predicted": "BKL",
201
+ "count": 4,
202
+ "rate_of_true": 0.044444444444444446
203
+ },
204
+ {
205
+ "true": "MEL",
206
+ "predicted": "AKIEC",
207
+ "count": 1,
208
+ "rate_of_true": 0.011111111111111112
209
+ },
210
+ {
211
+ "true": "MEL",
212
+ "predicted": "BEN_OTH",
213
+ "count": 1,
214
+ "rate_of_true": 0.011111111111111112
215
+ },
216
+ {
217
+ "true": "MEL",
218
+ "predicted": "DF",
219
+ "count": 1,
220
+ "rate_of_true": 0.011111111111111112
221
+ },
222
+ {
223
+ "true": "MEL",
224
+ "predicted": "INF",
225
+ "count": 1,
226
+ "rate_of_true": 0.011111111111111112
227
+ },
228
+ {
229
+ "true": "MEL",
230
+ "predicted": "SCCKA",
231
+ "count": 1,
232
+ "rate_of_true": 0.011111111111111112
233
+ },
234
+ {
235
+ "true": "MEL",
236
+ "predicted": "VASC",
237
+ "count": 1,
238
+ "rate_of_true": 0.011111111111111112
239
+ }
240
+ ],
241
+ "NV": [
242
+ {
243
+ "true": "NV",
244
+ "predicted": "BKL",
245
+ "count": 8,
246
+ "rate_of_true": 0.053691275167785234
247
+ },
248
+ {
249
+ "true": "NV",
250
+ "predicted": "MEL",
251
+ "count": 8,
252
+ "rate_of_true": 0.053691275167785234
253
+ },
254
+ {
255
+ "true": "NV",
256
+ "predicted": "BCC",
257
+ "count": 3,
258
+ "rate_of_true": 0.020134228187919462
259
+ },
260
+ {
261
+ "true": "NV",
262
+ "predicted": "VASC",
263
+ "count": 3,
264
+ "rate_of_true": 0.020134228187919462
265
+ },
266
+ {
267
+ "true": "NV",
268
+ "predicted": "BEN_OTH",
269
+ "count": 1,
270
+ "rate_of_true": 0.006711409395973154
271
+ },
272
+ {
273
+ "true": "NV",
274
+ "predicted": "DF",
275
+ "count": 1,
276
+ "rate_of_true": 0.006711409395973154
277
+ }
278
+ ],
279
+ "SCCKA": [
280
+ {
281
+ "true": "SCCKA",
282
+ "predicted": "BCC",
283
+ "count": 27,
284
+ "rate_of_true": 0.28421052631578947
285
+ },
286
+ {
287
+ "true": "SCCKA",
288
+ "predicted": "AKIEC",
289
+ "count": 7,
290
+ "rate_of_true": 0.07368421052631578
291
+ },
292
+ {
293
+ "true": "SCCKA",
294
+ "predicted": "BKL",
295
+ "count": 5,
296
+ "rate_of_true": 0.05263157894736842
297
+ }
298
+ ],
299
+ "VASC": [
300
+ {
301
+ "true": "VASC",
302
+ "predicted": "BCC",
303
+ "count": 3,
304
+ "rate_of_true": 0.3333333333333333
305
+ },
306
+ {
307
+ "true": "VASC",
308
+ "predicted": "NV",
309
+ "count": 2,
310
+ "rate_of_true": 0.2222222222222222
311
+ }
312
+ ]
313
+ },
314
+ "false_positives_by_predicted_class": {
315
+ "AKIEC": [
316
+ {
317
+ "predicted": "AKIEC",
318
+ "true": "SCCKA",
319
+ "count": 7,
320
+ "rate_of_predicted": 0.1794871794871795
321
+ },
322
+ {
323
+ "predicted": "AKIEC",
324
+ "true": "BCC",
325
+ "count": 6,
326
+ "rate_of_predicted": 0.15384615384615385
327
+ },
328
+ {
329
+ "predicted": "AKIEC",
330
+ "true": "BKL",
331
+ "count": 1,
332
+ "rate_of_predicted": 0.02564102564102564
333
+ },
334
+ {
335
+ "predicted": "AKIEC",
336
+ "true": "MEL",
337
+ "count": 1,
338
+ "rate_of_predicted": 0.02564102564102564
339
+ }
340
+ ],
341
+ "BCC": [
342
+ {
343
+ "predicted": "BCC",
344
+ "true": "BKL",
345
+ "count": 35,
346
+ "rate_of_predicted": 0.061619718309859156
347
+ },
348
+ {
349
+ "predicted": "BCC",
350
+ "true": "SCCKA",
351
+ "count": 27,
352
+ "rate_of_predicted": 0.04753521126760563
353
+ },
354
+ {
355
+ "predicted": "BCC",
356
+ "true": "AKIEC",
357
+ "count": 14,
358
+ "rate_of_predicted": 0.02464788732394366
359
+ },
360
+ {
361
+ "predicted": "BCC",
362
+ "true": "MEL",
363
+ "count": 8,
364
+ "rate_of_predicted": 0.014084507042253521
365
+ },
366
+ {
367
+ "predicted": "BCC",
368
+ "true": "INF",
369
+ "count": 7,
370
+ "rate_of_predicted": 0.01232394366197183
371
+ },
372
+ {
373
+ "predicted": "BCC",
374
+ "true": "BEN_OTH",
375
+ "count": 4,
376
+ "rate_of_predicted": 0.007042253521126761
377
+ },
378
+ {
379
+ "predicted": "BCC",
380
+ "true": "DF",
381
+ "count": 4,
382
+ "rate_of_predicted": 0.007042253521126761
383
+ },
384
+ {
385
+ "predicted": "BCC",
386
+ "true": "NV",
387
+ "count": 3,
388
+ "rate_of_predicted": 0.00528169014084507
389
+ },
390
+ {
391
+ "predicted": "BCC",
392
+ "true": "VASC",
393
+ "count": 3,
394
+ "rate_of_predicted": 0.00528169014084507
395
+ },
396
+ {
397
+ "predicted": "BCC",
398
+ "true": "MAL_OTH",
399
+ "count": 2,
400
+ "rate_of_predicted": 0.0035211267605633804
401
+ }
402
+ ],
403
+ "BEN_OTH": [
404
+ {
405
+ "predicted": "BEN_OTH",
406
+ "true": "BCC",
407
+ "count": 1,
408
+ "rate_of_predicted": 0.2
409
+ },
410
+ {
411
+ "predicted": "BEN_OTH",
412
+ "true": "INF",
413
+ "count": 1,
414
+ "rate_of_predicted": 0.2
415
+ },
416
+ {
417
+ "predicted": "BEN_OTH",
418
+ "true": "MEL",
419
+ "count": 1,
420
+ "rate_of_predicted": 0.2
421
+ },
422
+ {
423
+ "predicted": "BEN_OTH",
424
+ "true": "NV",
425
+ "count": 1,
426
+ "rate_of_predicted": 0.2
427
+ }
428
+ ],
429
+ "BKL": [
430
+ {
431
+ "predicted": "BKL",
432
+ "true": "AKIEC",
433
+ "count": 10,
434
+ "rate_of_predicted": 0.11627906976744186
435
+ },
436
+ {
437
+ "predicted": "BKL",
438
+ "true": "BCC",
439
+ "count": 9,
440
+ "rate_of_predicted": 0.10465116279069768
441
+ },
442
+ {
443
+ "predicted": "BKL",
444
+ "true": "NV",
445
+ "count": 8,
446
+ "rate_of_predicted": 0.09302325581395349
447
+ },
448
+ {
449
+ "predicted": "BKL",
450
+ "true": "SCCKA",
451
+ "count": 5,
452
+ "rate_of_predicted": 0.05813953488372093
453
+ },
454
+ {
455
+ "predicted": "BKL",
456
+ "true": "MEL",
457
+ "count": 4,
458
+ "rate_of_predicted": 0.046511627906976744
459
+ },
460
+ {
461
+ "predicted": "BKL",
462
+ "true": "BEN_OTH",
463
+ "count": 2,
464
+ "rate_of_predicted": 0.023255813953488372
465
+ },
466
+ {
467
+ "predicted": "BKL",
468
+ "true": "DF",
469
+ "count": 1,
470
+ "rate_of_predicted": 0.011627906976744186
471
+ }
472
+ ],
473
+ "DF": [
474
+ {
475
+ "predicted": "DF",
476
+ "true": "MEL",
477
+ "count": 1,
478
+ "rate_of_predicted": 0.2
479
+ },
480
+ {
481
+ "predicted": "DF",
482
+ "true": "NV",
483
+ "count": 1,
484
+ "rate_of_predicted": 0.2
485
+ }
486
+ ],
487
+ "INF": [
488
+ {
489
+ "predicted": "INF",
490
+ "true": "BKL",
491
+ "count": 3,
492
+ "rate_of_predicted": 0.5
493
+ },
494
+ {
495
+ "predicted": "INF",
496
+ "true": "BCC",
497
+ "count": 1,
498
+ "rate_of_predicted": 0.16666666666666666
499
+ },
500
+ {
501
+ "predicted": "INF",
502
+ "true": "MEL",
503
+ "count": 1,
504
+ "rate_of_predicted": 0.16666666666666666
505
+ }
506
+ ],
507
+ "MAL_OTH": [],
508
+ "MEL": [
509
+ {
510
+ "predicted": "MEL",
511
+ "true": "NV",
512
+ "count": 8,
513
+ "rate_of_predicted": 0.18604651162790697
514
+ },
515
+ {
516
+ "predicted": "MEL",
517
+ "true": "BCC",
518
+ "count": 4,
519
+ "rate_of_predicted": 0.09302325581395349
520
+ },
521
+ {
522
+ "predicted": "MEL",
523
+ "true": "BKL",
524
+ "count": 3,
525
+ "rate_of_predicted": 0.06976744186046512
526
+ },
527
+ {
528
+ "predicted": "MEL",
529
+ "true": "BEN_OTH",
530
+ "count": 1,
531
+ "rate_of_predicted": 0.023255813953488372
532
+ }
533
+ ],
534
+ "NV": [
535
+ {
536
+ "predicted": "NV",
537
+ "true": "MEL",
538
+ "count": 45,
539
+ "rate_of_predicted": 0.23195876288659795
540
+ },
541
+ {
542
+ "predicted": "NV",
543
+ "true": "BCC",
544
+ "count": 9,
545
+ "rate_of_predicted": 0.04639175257731959
546
+ },
547
+ {
548
+ "predicted": "NV",
549
+ "true": "BKL",
550
+ "count": 9,
551
+ "rate_of_predicted": 0.04639175257731959
552
+ },
553
+ {
554
+ "predicted": "NV",
555
+ "true": "DF",
556
+ "count": 2,
557
+ "rate_of_predicted": 0.010309278350515464
558
+ },
559
+ {
560
+ "predicted": "NV",
561
+ "true": "VASC",
562
+ "count": 2,
563
+ "rate_of_predicted": 0.010309278350515464
564
+ },
565
+ {
566
+ "predicted": "NV",
567
+ "true": "BEN_OTH",
568
+ "count": 1,
569
+ "rate_of_predicted": 0.005154639175257732
570
+ },
571
+ {
572
+ "predicted": "NV",
573
+ "true": "INF",
574
+ "count": 1,
575
+ "rate_of_predicted": 0.005154639175257732
576
+ }
577
+ ],
578
+ "SCCKA": [
579
+ {
580
+ "predicted": "SCCKA",
581
+ "true": "AKIEC",
582
+ "count": 13,
583
+ "rate_of_predicted": 0.13978494623655913
584
+ },
585
+ {
586
+ "predicted": "SCCKA",
587
+ "true": "BCC",
588
+ "count": 12,
589
+ "rate_of_predicted": 0.12903225806451613
590
+ },
591
+ {
592
+ "predicted": "SCCKA",
593
+ "true": "BKL",
594
+ "count": 11,
595
+ "rate_of_predicted": 0.11827956989247312
596
+ },
597
+ {
598
+ "predicted": "SCCKA",
599
+ "true": "MEL",
600
+ "count": 1,
601
+ "rate_of_predicted": 0.010752688172043012
602
+ }
603
+ ],
604
+ "VASC": [
605
+ {
606
+ "predicted": "VASC",
607
+ "true": "NV",
608
+ "count": 3,
609
+ "rate_of_predicted": 0.3333333333333333
610
+ },
611
+ {
612
+ "predicted": "VASC",
613
+ "true": "BCC",
614
+ "count": 1,
615
+ "rate_of_predicted": 0.1111111111111111
616
+ },
617
+ {
618
+ "predicted": "VASC",
619
+ "true": "MEL",
620
+ "count": 1,
621
+ "rate_of_predicted": 0.1111111111111111
622
+ }
623
+ ]
624
+ },
625
+ "top_confusion_pairs": [
626
+ {
627
+ "true": "MEL",
628
+ "predicted": "NV",
629
+ "count": 45,
630
+ "rate_of_true": 0.5
631
+ },
632
+ {
633
+ "true": "BKL",
634
+ "predicted": "BCC",
635
+ "count": 35,
636
+ "rate_of_true": 0.3211009174311927
637
+ },
638
+ {
639
+ "true": "SCCKA",
640
+ "predicted": "BCC",
641
+ "count": 27,
642
+ "rate_of_true": 0.28421052631578947
643
+ },
644
+ {
645
+ "true": "AKIEC",
646
+ "predicted": "BCC",
647
+ "count": 14,
648
+ "rate_of_true": 0.22950819672131148
649
+ },
650
+ {
651
+ "true": "AKIEC",
652
+ "predicted": "SCCKA",
653
+ "count": 13,
654
+ "rate_of_true": 0.21311475409836064
655
+ },
656
+ {
657
+ "true": "BCC",
658
+ "predicted": "SCCKA",
659
+ "count": 12,
660
+ "rate_of_true": 0.023809523809523808
661
+ },
662
+ {
663
+ "true": "BKL",
664
+ "predicted": "SCCKA",
665
+ "count": 11,
666
+ "rate_of_true": 0.10091743119266056
667
+ },
668
+ {
669
+ "true": "AKIEC",
670
+ "predicted": "BKL",
671
+ "count": 10,
672
+ "rate_of_true": 0.16393442622950818
673
+ },
674
+ {
675
+ "true": "BCC",
676
+ "predicted": "BKL",
677
+ "count": 9,
678
+ "rate_of_true": 0.017857142857142856
679
+ },
680
+ {
681
+ "true": "BCC",
682
+ "predicted": "NV",
683
+ "count": 9,
684
+ "rate_of_true": 0.017857142857142856
685
+ },
686
+ {
687
+ "true": "BKL",
688
+ "predicted": "NV",
689
+ "count": 9,
690
+ "rate_of_true": 0.08256880733944955
691
+ },
692
+ {
693
+ "true": "MEL",
694
+ "predicted": "BCC",
695
+ "count": 8,
696
+ "rate_of_true": 0.08888888888888889
697
+ },
698
+ {
699
+ "true": "NV",
700
+ "predicted": "BKL",
701
+ "count": 8,
702
+ "rate_of_true": 0.053691275167785234
703
+ },
704
+ {
705
+ "true": "NV",
706
+ "predicted": "MEL",
707
+ "count": 8,
708
+ "rate_of_true": 0.053691275167785234
709
+ },
710
+ {
711
+ "true": "INF",
712
+ "predicted": "BCC",
713
+ "count": 7,
714
+ "rate_of_true": 0.7
715
+ },
716
+ {
717
+ "true": "SCCKA",
718
+ "predicted": "AKIEC",
719
+ "count": 7,
720
+ "rate_of_true": 0.07368421052631578
721
+ },
722
+ {
723
+ "true": "BCC",
724
+ "predicted": "AKIEC",
725
+ "count": 6,
726
+ "rate_of_true": 0.011904761904761904
727
+ },
728
+ {
729
+ "true": "SCCKA",
730
+ "predicted": "BKL",
731
+ "count": 5,
732
+ "rate_of_true": 0.05263157894736842
733
+ },
734
+ {
735
+ "true": "BCC",
736
+ "predicted": "MEL",
737
+ "count": 4,
738
+ "rate_of_true": 0.007936507936507936
739
+ },
740
+ {
741
+ "true": "BEN_OTH",
742
+ "predicted": "BCC",
743
+ "count": 4,
744
+ "rate_of_true": 0.4444444444444444
745
+ }
746
+ ],
747
+ "watched_confusion_patterns": [
748
+ {
749
+ "true": "AKIEC",
750
+ "predicted": "SCCKA",
751
+ "count": 13,
752
+ "rate_of_true": 0.21311475409836064
753
+ },
754
+ {
755
+ "true": "BCC",
756
+ "predicted": "SCCKA",
757
+ "count": 12,
758
+ "rate_of_true": 0.023809523809523808
759
+ },
760
+ {
761
+ "true": "BKL",
762
+ "predicted": "SCCKA",
763
+ "count": 11,
764
+ "rate_of_true": 0.10091743119266056
765
+ },
766
+ {
767
+ "true": "BCC",
768
+ "predicted": "BKL",
769
+ "count": 9,
770
+ "rate_of_true": 0.017857142857142856
771
+ },
772
+ {
773
+ "true": "INF",
774
+ "predicted": "BCC",
775
+ "count": 7,
776
+ "rate_of_true": 0.7
777
+ },
778
+ {
779
+ "true": "SCCKA",
780
+ "predicted": "AKIEC",
781
+ "count": 7,
782
+ "rate_of_true": 0.07368421052631578
783
+ },
784
+ {
785
+ "true": "BCC",
786
+ "predicted": "AKIEC",
787
+ "count": 6,
788
+ "rate_of_true": 0.011904761904761904
789
+ },
790
+ {
791
+ "true": "SCCKA",
792
+ "predicted": "BKL",
793
+ "count": 5,
794
+ "rate_of_true": 0.05263157894736842
795
+ },
796
+ {
797
+ "true": "INF",
798
+ "predicted": "BEN_OTH",
799
+ "count": 1,
800
+ "rate_of_true": 0.1
801
+ },
802
+ {
803
+ "true": "INF",
804
+ "predicted": "NV",
805
+ "count": 1,
806
+ "rate_of_true": 0.1
807
+ }
808
+ ]
809
+ }
singleenc_canvas_nometa_clean/confusion_matrix.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,24,14,0,10,0,0,0,0,0,13,0
3
+ BCC,6,461,1,9,0,1,0,4,9,12,1
4
+ BEN_OTH,0,4,1,2,0,0,0,1,1,0,0
5
+ BKL,1,35,0,47,0,3,0,3,9,11,0
6
+ DF,0,4,0,1,3,0,0,0,2,0,0
7
+ INF,0,7,1,0,0,1,0,0,1,0,0
8
+ MAL_OTH,0,2,0,0,0,0,0,0,0,0,0
9
+ MEL,1,8,1,4,1,1,0,27,45,1,1
10
+ NV,0,3,1,8,1,0,0,8,125,0,3
11
+ SCCKA,7,27,0,5,0,0,0,0,0,56,0
12
+ VASC,0,3,0,0,0,0,0,0,2,0,4
singleenc_canvas_nometa_clean/confusion_matrix_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,24,14,0,10,0,0,0,0,0,13,0
3
+ BCC,6,461,1,9,0,1,0,4,9,12,1
4
+ BEN_OTH,0,4,1,2,0,0,0,1,1,0,0
5
+ BKL,1,35,0,47,0,3,0,3,9,11,0
6
+ DF,0,4,0,1,3,0,0,0,2,0,0
7
+ INF,0,7,1,0,0,1,0,0,1,0,0
8
+ MAL_OTH,0,2,0,0,0,0,0,0,0,0,0
9
+ MEL,1,8,1,4,1,1,0,27,45,1,1
10
+ NV,0,3,1,8,1,0,0,8,125,0,3
11
+ SCCKA,7,27,0,5,0,0,0,0,0,56,0
12
+ VASC,0,3,0,0,0,0,0,0,2,0,4
singleenc_canvas_nometa_clean/data_summary.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full": {
3
+ "rows": 5240,
4
+ "class_counts": {
5
+ "AKIEC": 303,
6
+ "BCC": 2522,
7
+ "BEN_OTH": 44,
8
+ "BKL": 544,
9
+ "DF": 52,
10
+ "INF": 50,
11
+ "MAL_OTH": 9,
12
+ "MEL": 450,
13
+ "NV": 746,
14
+ "SCCKA": 473,
15
+ "VASC": 47
16
+ },
17
+ "real_rows": 5240,
18
+ "synthetic_rows": 0,
19
+ "synthetic_class_counts": {
20
+ "AKIEC": 0,
21
+ "BCC": 0,
22
+ "BEN_OTH": 0,
23
+ "BKL": 0,
24
+ "DF": 0,
25
+ "INF": 0,
26
+ "MAL_OTH": 0,
27
+ "MEL": 0,
28
+ "NV": 0,
29
+ "SCCKA": 0,
30
+ "VASC": 0
31
+ },
32
+ "ignore_metadata_rows": 0,
33
+ "dermoscopic_mask_status_counts": {}
34
+ },
35
+ "train": {
36
+ "rows": 4192,
37
+ "class_counts": {
38
+ "AKIEC": 242,
39
+ "BCC": 2018,
40
+ "BEN_OTH": 35,
41
+ "BKL": 435,
42
+ "DF": 42,
43
+ "INF": 40,
44
+ "MAL_OTH": 7,
45
+ "MEL": 360,
46
+ "NV": 597,
47
+ "SCCKA": 378,
48
+ "VASC": 38
49
+ },
50
+ "real_rows": 4192,
51
+ "synthetic_rows": 0,
52
+ "synthetic_class_counts": {
53
+ "AKIEC": 0,
54
+ "BCC": 0,
55
+ "BEN_OTH": 0,
56
+ "BKL": 0,
57
+ "DF": 0,
58
+ "INF": 0,
59
+ "MAL_OTH": 0,
60
+ "MEL": 0,
61
+ "NV": 0,
62
+ "SCCKA": 0,
63
+ "VASC": 0
64
+ },
65
+ "ignore_metadata_rows": 0,
66
+ "dermoscopic_mask_status_counts": {}
67
+ },
68
+ "val": {
69
+ "rows": 1048,
70
+ "class_counts": {
71
+ "AKIEC": 61,
72
+ "BCC": 504,
73
+ "BEN_OTH": 9,
74
+ "BKL": 109,
75
+ "DF": 10,
76
+ "INF": 10,
77
+ "MAL_OTH": 2,
78
+ "MEL": 90,
79
+ "NV": 149,
80
+ "SCCKA": 95,
81
+ "VASC": 9
82
+ },
83
+ "real_rows": 1048,
84
+ "synthetic_rows": 0,
85
+ "synthetic_class_counts": {
86
+ "AKIEC": 0,
87
+ "BCC": 0,
88
+ "BEN_OTH": 0,
89
+ "BKL": 0,
90
+ "DF": 0,
91
+ "INF": 0,
92
+ "MAL_OTH": 0,
93
+ "MEL": 0,
94
+ "NV": 0,
95
+ "SCCKA": 0,
96
+ "VASC": 0
97
+ },
98
+ "ignore_metadata_rows": 0,
99
+ "dermoscopic_mask_status_counts": {}
100
+ },
101
+ "synthetic_train_only": false
102
+ }
singleenc_canvas_nometa_clean/history.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_canvas_nometa_clean/metrics.json ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_selection_metric": 0.42409547167495665,
3
+ "selection_metric_name": "f1_macro",
4
+ "best_val_f1_macro": 0.42409547167495665,
5
+ "checkpoint_variant": "raw",
6
+ "temperature": 1.0,
7
+ "variants": {
8
+ "raw": {
9
+ "checkpoint": "/marimo/single_encoder_split_runs/singleenc_canvas_nometa_clean/best_raw.pt",
10
+ "temperature": 1.0,
11
+ "uncalibrated_metrics": {
12
+ "accuracy": 0.7146946564885496,
13
+ "nll": 0.9922605125065681,
14
+ "ece": 0.12059909562312701,
15
+ "mean_confidence": 0.8349446633131825,
16
+ "mean_correct_confidence": 0.8819406806764685,
17
+ "balanced_accuracy": 0.40211574885877677,
18
+ "top2_accuracy": 0.8645038167938931,
19
+ "top3_accuracy": 0.9274809160305344,
20
+ "precision_macro": 0.478092225818034,
21
+ "recall_macro": 0.40211574885877677,
22
+ "f1_macro": 0.42409547167495665,
23
+ "precision_weighted": 0.695946867649407,
24
+ "recall_weighted": 0.7146946564885496,
25
+ "f1_weighted": 0.694250569775087,
26
+ "dice_macro": 0.42409547167495665,
27
+ "roc_auc_macro_ovr": 0.886068327441302,
28
+ "roc_auc_weighted_ovr": 0.9217927680839992,
29
+ "roc_auc_micro_ovr": 0.9609580771808169,
30
+ "specificity_macro": 0.9635357839817963,
31
+ "per_class": [
32
+ {
33
+ "class": "AKIEC",
34
+ "support": 61,
35
+ "precision": 0.6153846153846154,
36
+ "recall_sensitivity": 0.39344262295081966,
37
+ "specificity": 0.9848024316109423,
38
+ "f1": 0.48,
39
+ "auc_ovr": 0.9176175527762553,
40
+ "mean_correct_confidence": 0.7418156421648376
41
+ },
42
+ {
43
+ "class": "BCC",
44
+ "support": 504,
45
+ "precision": 0.8116197183098591,
46
+ "recall_sensitivity": 0.9146825396825397,
47
+ "specificity": 0.8033088235294118,
48
+ "f1": 0.8600746268656716,
49
+ "auc_ovr": 0.934140843837535,
50
+ "mean_correct_confidence": 0.9075358093537907
51
+ },
52
+ {
53
+ "class": "BEN_OTH",
54
+ "support": 9,
55
+ "precision": 0.2,
56
+ "recall_sensitivity": 0.1111111111111111,
57
+ "specificity": 0.9961501443695862,
58
+ "f1": 0.14285714285714285,
59
+ "auc_ovr": 0.9378676077424875,
60
+ "mean_correct_confidence": 0.7887043561647962
61
+ },
62
+ {
63
+ "class": "BKL",
64
+ "support": 109,
65
+ "precision": 0.5465116279069767,
66
+ "recall_sensitivity": 0.43119266055045874,
67
+ "specificity": 0.9584664536741214,
68
+ "f1": 0.48205128205128206,
69
+ "auc_ovr": 0.8279059315492765,
70
+ "mean_correct_confidence": 0.7327135713565488
71
+ },
72
+ {
73
+ "class": "DF",
74
+ "support": 10,
75
+ "precision": 0.6,
76
+ "recall_sensitivity": 0.3,
77
+ "specificity": 0.9980732177263969,
78
+ "f1": 0.4,
79
+ "auc_ovr": 0.9576107899807322,
80
+ "mean_correct_confidence": 0.5513030124599051
81
+ },
82
+ {
83
+ "class": "INF",
84
+ "support": 10,
85
+ "precision": 0.16666666666666666,
86
+ "recall_sensitivity": 0.1,
87
+ "specificity": 0.9951830443159922,
88
+ "f1": 0.125,
89
+ "auc_ovr": 0.9180154142581889,
90
+ "mean_correct_confidence": 0.498561377281792
91
+ },
92
+ {
93
+ "class": "MAL_OTH",
94
+ "support": 2,
95
+ "precision": 0.0,
96
+ "recall_sensitivity": 0.0,
97
+ "specificity": 1.0,
98
+ "f1": 0.0,
99
+ "auc_ovr": 0.49139579349904394,
100
+ "mean_correct_confidence": null
101
+ },
102
+ {
103
+ "class": "MEL",
104
+ "support": 90,
105
+ "precision": 0.627906976744186,
106
+ "recall_sensitivity": 0.3,
107
+ "specificity": 0.9832985386221295,
108
+ "f1": 0.40601503759398494,
109
+ "auc_ovr": 0.9022848527023892,
110
+ "mean_correct_confidence": 0.7687961755702101
111
+ },
112
+ {
113
+ "class": "NV",
114
+ "support": 149,
115
+ "precision": 0.6443298969072165,
116
+ "recall_sensitivity": 0.8389261744966443,
117
+ "specificity": 0.9232480533926585,
118
+ "f1": 0.7288629737609329,
119
+ "auc_ovr": 0.9547446454300452,
120
+ "mean_correct_confidence": 0.9204382182845505
121
+ },
122
+ {
123
+ "class": "SCCKA",
124
+ "support": 95,
125
+ "precision": 0.6021505376344086,
126
+ "recall_sensitivity": 0.5894736842105263,
127
+ "specificity": 0.9611752360965372,
128
+ "f1": 0.5957446808510638,
129
+ "auc_ovr": 0.932865742530513,
130
+ "mean_correct_confidence": 0.8521638418878058
131
+ },
132
+ {
133
+ "class": "VASC",
134
+ "support": 9,
135
+ "precision": 0.4444444444444444,
136
+ "recall_sensitivity": 0.4444444444444444,
137
+ "specificity": 0.9951876804619827,
138
+ "f1": 0.4444444444444444,
139
+ "auc_ovr": 0.9723024275478558,
140
+ "mean_correct_confidence": 0.8709561265888918
141
+ }
142
+ ],
143
+ "classification_report": {
144
+ "AKIEC": {
145
+ "precision": 0.6153846153846154,
146
+ "recall": 0.39344262295081966,
147
+ "f1-score": 0.48,
148
+ "support": 61.0
149
+ },
150
+ "BCC": {
151
+ "precision": 0.8116197183098591,
152
+ "recall": 0.9146825396825397,
153
+ "f1-score": 0.8600746268656716,
154
+ "support": 504.0
155
+ },
156
+ "BEN_OTH": {
157
+ "precision": 0.2,
158
+ "recall": 0.1111111111111111,
159
+ "f1-score": 0.14285714285714285,
160
+ "support": 9.0
161
+ },
162
+ "BKL": {
163
+ "precision": 0.5465116279069767,
164
+ "recall": 0.43119266055045874,
165
+ "f1-score": 0.48205128205128206,
166
+ "support": 109.0
167
+ },
168
+ "DF": {
169
+ "precision": 0.6,
170
+ "recall": 0.3,
171
+ "f1-score": 0.4,
172
+ "support": 10.0
173
+ },
174
+ "INF": {
175
+ "precision": 0.16666666666666666,
176
+ "recall": 0.1,
177
+ "f1-score": 0.125,
178
+ "support": 10.0
179
+ },
180
+ "MAL_OTH": {
181
+ "precision": 0.0,
182
+ "recall": 0.0,
183
+ "f1-score": 0.0,
184
+ "support": 2.0
185
+ },
186
+ "MEL": {
187
+ "precision": 0.627906976744186,
188
+ "recall": 0.3,
189
+ "f1-score": 0.40601503759398494,
190
+ "support": 90.0
191
+ },
192
+ "NV": {
193
+ "precision": 0.6443298969072165,
194
+ "recall": 0.8389261744966443,
195
+ "f1-score": 0.7288629737609329,
196
+ "support": 149.0
197
+ },
198
+ "SCCKA": {
199
+ "precision": 0.6021505376344086,
200
+ "recall": 0.5894736842105263,
201
+ "f1-score": 0.5957446808510638,
202
+ "support": 95.0
203
+ },
204
+ "VASC": {
205
+ "precision": 0.4444444444444444,
206
+ "recall": 0.4444444444444444,
207
+ "f1-score": 0.4444444444444444,
208
+ "support": 9.0
209
+ },
210
+ "accuracy": 0.7146946564885496,
211
+ "macro avg": {
212
+ "precision": 0.478092225818034,
213
+ "recall": 0.40211574885877677,
214
+ "f1-score": 0.42409547167495665,
215
+ "support": 1048.0
216
+ },
217
+ "weighted avg": {
218
+ "precision": 0.695946867649407,
219
+ "recall": 0.7146946564885496,
220
+ "f1-score": 0.694250569775087,
221
+ "support": 1048.0
222
+ }
223
+ },
224
+ "class_names": [
225
+ "AKIEC",
226
+ "BCC",
227
+ "BEN_OTH",
228
+ "BKL",
229
+ "DF",
230
+ "INF",
231
+ "MAL_OTH",
232
+ "MEL",
233
+ "NV",
234
+ "SCCKA",
235
+ "VASC"
236
+ ],
237
+ "head_class_names": [
238
+ "AKIEC",
239
+ "BCC",
240
+ "BKL",
241
+ "MEL",
242
+ "NV",
243
+ "SCCKA"
244
+ ],
245
+ "mean_correct_confidence_head": 0.8839845657348633
246
+ },
247
+ "metrics": {
248
+ "accuracy": 0.7146946564885496,
249
+ "nll": 0.9922605125065681,
250
+ "ece": 0.12059909562312701,
251
+ "mean_confidence": 0.8349446633131825,
252
+ "mean_correct_confidence": 0.8819406806764685,
253
+ "balanced_accuracy": 0.40211574885877677,
254
+ "top2_accuracy": 0.8645038167938931,
255
+ "top3_accuracy": 0.9274809160305344,
256
+ "precision_macro": 0.478092225818034,
257
+ "recall_macro": 0.40211574885877677,
258
+ "f1_macro": 0.42409547167495665,
259
+ "precision_weighted": 0.695946867649407,
260
+ "recall_weighted": 0.7146946564885496,
261
+ "f1_weighted": 0.694250569775087,
262
+ "dice_macro": 0.42409547167495665,
263
+ "roc_auc_macro_ovr": 0.886068327441302,
264
+ "roc_auc_weighted_ovr": 0.9217927680839992,
265
+ "roc_auc_micro_ovr": 0.9609580771808169,
266
+ "specificity_macro": 0.9635357839817963,
267
+ "per_class": [
268
+ {
269
+ "class": "AKIEC",
270
+ "support": 61,
271
+ "precision": 0.6153846153846154,
272
+ "recall_sensitivity": 0.39344262295081966,
273
+ "specificity": 0.9848024316109423,
274
+ "f1": 0.48,
275
+ "auc_ovr": 0.9176175527762553,
276
+ "mean_correct_confidence": 0.7418156421648376
277
+ },
278
+ {
279
+ "class": "BCC",
280
+ "support": 504,
281
+ "precision": 0.8116197183098591,
282
+ "recall_sensitivity": 0.9146825396825397,
283
+ "specificity": 0.8033088235294118,
284
+ "f1": 0.8600746268656716,
285
+ "auc_ovr": 0.934140843837535,
286
+ "mean_correct_confidence": 0.9075358093537907
287
+ },
288
+ {
289
+ "class": "BEN_OTH",
290
+ "support": 9,
291
+ "precision": 0.2,
292
+ "recall_sensitivity": 0.1111111111111111,
293
+ "specificity": 0.9961501443695862,
294
+ "f1": 0.14285714285714285,
295
+ "auc_ovr": 0.9378676077424875,
296
+ "mean_correct_confidence": 0.7887043561647962
297
+ },
298
+ {
299
+ "class": "BKL",
300
+ "support": 109,
301
+ "precision": 0.5465116279069767,
302
+ "recall_sensitivity": 0.43119266055045874,
303
+ "specificity": 0.9584664536741214,
304
+ "f1": 0.48205128205128206,
305
+ "auc_ovr": 0.8279059315492765,
306
+ "mean_correct_confidence": 0.7327135713565488
307
+ },
308
+ {
309
+ "class": "DF",
310
+ "support": 10,
311
+ "precision": 0.6,
312
+ "recall_sensitivity": 0.3,
313
+ "specificity": 0.9980732177263969,
314
+ "f1": 0.4,
315
+ "auc_ovr": 0.9576107899807322,
316
+ "mean_correct_confidence": 0.5513030124599051
317
+ },
318
+ {
319
+ "class": "INF",
320
+ "support": 10,
321
+ "precision": 0.16666666666666666,
322
+ "recall_sensitivity": 0.1,
323
+ "specificity": 0.9951830443159922,
324
+ "f1": 0.125,
325
+ "auc_ovr": 0.9180154142581889,
326
+ "mean_correct_confidence": 0.498561377281792
327
+ },
328
+ {
329
+ "class": "MAL_OTH",
330
+ "support": 2,
331
+ "precision": 0.0,
332
+ "recall_sensitivity": 0.0,
333
+ "specificity": 1.0,
334
+ "f1": 0.0,
335
+ "auc_ovr": 0.49139579349904394,
336
+ "mean_correct_confidence": null
337
+ },
338
+ {
339
+ "class": "MEL",
340
+ "support": 90,
341
+ "precision": 0.627906976744186,
342
+ "recall_sensitivity": 0.3,
343
+ "specificity": 0.9832985386221295,
344
+ "f1": 0.40601503759398494,
345
+ "auc_ovr": 0.9022848527023892,
346
+ "mean_correct_confidence": 0.7687961755702101
347
+ },
348
+ {
349
+ "class": "NV",
350
+ "support": 149,
351
+ "precision": 0.6443298969072165,
352
+ "recall_sensitivity": 0.8389261744966443,
353
+ "specificity": 0.9232480533926585,
354
+ "f1": 0.7288629737609329,
355
+ "auc_ovr": 0.9547446454300452,
356
+ "mean_correct_confidence": 0.9204382182845505
357
+ },
358
+ {
359
+ "class": "SCCKA",
360
+ "support": 95,
361
+ "precision": 0.6021505376344086,
362
+ "recall_sensitivity": 0.5894736842105263,
363
+ "specificity": 0.9611752360965372,
364
+ "f1": 0.5957446808510638,
365
+ "auc_ovr": 0.932865742530513,
366
+ "mean_correct_confidence": 0.8521638418878058
367
+ },
368
+ {
369
+ "class": "VASC",
370
+ "support": 9,
371
+ "precision": 0.4444444444444444,
372
+ "recall_sensitivity": 0.4444444444444444,
373
+ "specificity": 0.9951876804619827,
374
+ "f1": 0.4444444444444444,
375
+ "auc_ovr": 0.9723024275478558,
376
+ "mean_correct_confidence": 0.8709561265888918
377
+ }
378
+ ],
379
+ "classification_report": {
380
+ "AKIEC": {
381
+ "precision": 0.6153846153846154,
382
+ "recall": 0.39344262295081966,
383
+ "f1-score": 0.48,
384
+ "support": 61.0
385
+ },
386
+ "BCC": {
387
+ "precision": 0.8116197183098591,
388
+ "recall": 0.9146825396825397,
389
+ "f1-score": 0.8600746268656716,
390
+ "support": 504.0
391
+ },
392
+ "BEN_OTH": {
393
+ "precision": 0.2,
394
+ "recall": 0.1111111111111111,
395
+ "f1-score": 0.14285714285714285,
396
+ "support": 9.0
397
+ },
398
+ "BKL": {
399
+ "precision": 0.5465116279069767,
400
+ "recall": 0.43119266055045874,
401
+ "f1-score": 0.48205128205128206,
402
+ "support": 109.0
403
+ },
404
+ "DF": {
405
+ "precision": 0.6,
406
+ "recall": 0.3,
407
+ "f1-score": 0.4,
408
+ "support": 10.0
409
+ },
410
+ "INF": {
411
+ "precision": 0.16666666666666666,
412
+ "recall": 0.1,
413
+ "f1-score": 0.125,
414
+ "support": 10.0
415
+ },
416
+ "MAL_OTH": {
417
+ "precision": 0.0,
418
+ "recall": 0.0,
419
+ "f1-score": 0.0,
420
+ "support": 2.0
421
+ },
422
+ "MEL": {
423
+ "precision": 0.627906976744186,
424
+ "recall": 0.3,
425
+ "f1-score": 0.40601503759398494,
426
+ "support": 90.0
427
+ },
428
+ "NV": {
429
+ "precision": 0.6443298969072165,
430
+ "recall": 0.8389261744966443,
431
+ "f1-score": 0.7288629737609329,
432
+ "support": 149.0
433
+ },
434
+ "SCCKA": {
435
+ "precision": 0.6021505376344086,
436
+ "recall": 0.5894736842105263,
437
+ "f1-score": 0.5957446808510638,
438
+ "support": 95.0
439
+ },
440
+ "VASC": {
441
+ "precision": 0.4444444444444444,
442
+ "recall": 0.4444444444444444,
443
+ "f1-score": 0.4444444444444444,
444
+ "support": 9.0
445
+ },
446
+ "accuracy": 0.7146946564885496,
447
+ "macro avg": {
448
+ "precision": 0.478092225818034,
449
+ "recall": 0.40211574885877677,
450
+ "f1-score": 0.42409547167495665,
451
+ "support": 1048.0
452
+ },
453
+ "weighted avg": {
454
+ "precision": 0.695946867649407,
455
+ "recall": 0.7146946564885496,
456
+ "f1-score": 0.694250569775087,
457
+ "support": 1048.0
458
+ }
459
+ },
460
+ "class_names": [
461
+ "AKIEC",
462
+ "BCC",
463
+ "BEN_OTH",
464
+ "BKL",
465
+ "DF",
466
+ "INF",
467
+ "MAL_OTH",
468
+ "MEL",
469
+ "NV",
470
+ "SCCKA",
471
+ "VASC"
472
+ ],
473
+ "head_class_names": [
474
+ "AKIEC",
475
+ "BCC",
476
+ "BKL",
477
+ "MEL",
478
+ "NV",
479
+ "SCCKA"
480
+ ],
481
+ "mean_correct_confidence_head": 0.8839845657348633
482
+ }
483
+ }
484
+ },
485
+ "accuracy": 0.7146946564885496,
486
+ "nll": 0.9922605125065681,
487
+ "ece": 0.12059909562312701,
488
+ "mean_confidence": 0.8349446633131825,
489
+ "mean_correct_confidence": 0.8819406806764685,
490
+ "balanced_accuracy": 0.40211574885877677,
491
+ "top2_accuracy": 0.8645038167938931,
492
+ "top3_accuracy": 0.9274809160305344,
493
+ "precision_macro": 0.478092225818034,
494
+ "recall_macro": 0.40211574885877677,
495
+ "f1_macro": 0.42409547167495665,
496
+ "precision_weighted": 0.695946867649407,
497
+ "recall_weighted": 0.7146946564885496,
498
+ "f1_weighted": 0.694250569775087,
499
+ "dice_macro": 0.42409547167495665,
500
+ "roc_auc_macro_ovr": 0.886068327441302,
501
+ "roc_auc_weighted_ovr": 0.9217927680839992,
502
+ "roc_auc_micro_ovr": 0.9609580771808169,
503
+ "specificity_macro": 0.9635357839817963,
504
+ "per_class": [
505
+ {
506
+ "class": "AKIEC",
507
+ "support": 61,
508
+ "precision": 0.6153846153846154,
509
+ "recall_sensitivity": 0.39344262295081966,
510
+ "specificity": 0.9848024316109423,
511
+ "f1": 0.48,
512
+ "auc_ovr": 0.9176175527762553,
513
+ "mean_correct_confidence": 0.7418156421648376
514
+ },
515
+ {
516
+ "class": "BCC",
517
+ "support": 504,
518
+ "precision": 0.8116197183098591,
519
+ "recall_sensitivity": 0.9146825396825397,
520
+ "specificity": 0.8033088235294118,
521
+ "f1": 0.8600746268656716,
522
+ "auc_ovr": 0.934140843837535,
523
+ "mean_correct_confidence": 0.9075358093537907
524
+ },
525
+ {
526
+ "class": "BEN_OTH",
527
+ "support": 9,
528
+ "precision": 0.2,
529
+ "recall_sensitivity": 0.1111111111111111,
530
+ "specificity": 0.9961501443695862,
531
+ "f1": 0.14285714285714285,
532
+ "auc_ovr": 0.9378676077424875,
533
+ "mean_correct_confidence": 0.7887043561647962
534
+ },
535
+ {
536
+ "class": "BKL",
537
+ "support": 109,
538
+ "precision": 0.5465116279069767,
539
+ "recall_sensitivity": 0.43119266055045874,
540
+ "specificity": 0.9584664536741214,
541
+ "f1": 0.48205128205128206,
542
+ "auc_ovr": 0.8279059315492765,
543
+ "mean_correct_confidence": 0.7327135713565488
544
+ },
545
+ {
546
+ "class": "DF",
547
+ "support": 10,
548
+ "precision": 0.6,
549
+ "recall_sensitivity": 0.3,
550
+ "specificity": 0.9980732177263969,
551
+ "f1": 0.4,
552
+ "auc_ovr": 0.9576107899807322,
553
+ "mean_correct_confidence": 0.5513030124599051
554
+ },
555
+ {
556
+ "class": "INF",
557
+ "support": 10,
558
+ "precision": 0.16666666666666666,
559
+ "recall_sensitivity": 0.1,
560
+ "specificity": 0.9951830443159922,
561
+ "f1": 0.125,
562
+ "auc_ovr": 0.9180154142581889,
563
+ "mean_correct_confidence": 0.498561377281792
564
+ },
565
+ {
566
+ "class": "MAL_OTH",
567
+ "support": 2,
568
+ "precision": 0.0,
569
+ "recall_sensitivity": 0.0,
570
+ "specificity": 1.0,
571
+ "f1": 0.0,
572
+ "auc_ovr": 0.49139579349904394,
573
+ "mean_correct_confidence": null
574
+ },
575
+ {
576
+ "class": "MEL",
577
+ "support": 90,
578
+ "precision": 0.627906976744186,
579
+ "recall_sensitivity": 0.3,
580
+ "specificity": 0.9832985386221295,
581
+ "f1": 0.40601503759398494,
582
+ "auc_ovr": 0.9022848527023892,
583
+ "mean_correct_confidence": 0.7687961755702101
584
+ },
585
+ {
586
+ "class": "NV",
587
+ "support": 149,
588
+ "precision": 0.6443298969072165,
589
+ "recall_sensitivity": 0.8389261744966443,
590
+ "specificity": 0.9232480533926585,
591
+ "f1": 0.7288629737609329,
592
+ "auc_ovr": 0.9547446454300452,
593
+ "mean_correct_confidence": 0.9204382182845505
594
+ },
595
+ {
596
+ "class": "SCCKA",
597
+ "support": 95,
598
+ "precision": 0.6021505376344086,
599
+ "recall_sensitivity": 0.5894736842105263,
600
+ "specificity": 0.9611752360965372,
601
+ "f1": 0.5957446808510638,
602
+ "auc_ovr": 0.932865742530513,
603
+ "mean_correct_confidence": 0.8521638418878058
604
+ },
605
+ {
606
+ "class": "VASC",
607
+ "support": 9,
608
+ "precision": 0.4444444444444444,
609
+ "recall_sensitivity": 0.4444444444444444,
610
+ "specificity": 0.9951876804619827,
611
+ "f1": 0.4444444444444444,
612
+ "auc_ovr": 0.9723024275478558,
613
+ "mean_correct_confidence": 0.8709561265888918
614
+ }
615
+ ],
616
+ "classification_report": {
617
+ "AKIEC": {
618
+ "precision": 0.6153846153846154,
619
+ "recall": 0.39344262295081966,
620
+ "f1-score": 0.48,
621
+ "support": 61.0
622
+ },
623
+ "BCC": {
624
+ "precision": 0.8116197183098591,
625
+ "recall": 0.9146825396825397,
626
+ "f1-score": 0.8600746268656716,
627
+ "support": 504.0
628
+ },
629
+ "BEN_OTH": {
630
+ "precision": 0.2,
631
+ "recall": 0.1111111111111111,
632
+ "f1-score": 0.14285714285714285,
633
+ "support": 9.0
634
+ },
635
+ "BKL": {
636
+ "precision": 0.5465116279069767,
637
+ "recall": 0.43119266055045874,
638
+ "f1-score": 0.48205128205128206,
639
+ "support": 109.0
640
+ },
641
+ "DF": {
642
+ "precision": 0.6,
643
+ "recall": 0.3,
644
+ "f1-score": 0.4,
645
+ "support": 10.0
646
+ },
647
+ "INF": {
648
+ "precision": 0.16666666666666666,
649
+ "recall": 0.1,
650
+ "f1-score": 0.125,
651
+ "support": 10.0
652
+ },
653
+ "MAL_OTH": {
654
+ "precision": 0.0,
655
+ "recall": 0.0,
656
+ "f1-score": 0.0,
657
+ "support": 2.0
658
+ },
659
+ "MEL": {
660
+ "precision": 0.627906976744186,
661
+ "recall": 0.3,
662
+ "f1-score": 0.40601503759398494,
663
+ "support": 90.0
664
+ },
665
+ "NV": {
666
+ "precision": 0.6443298969072165,
667
+ "recall": 0.8389261744966443,
668
+ "f1-score": 0.7288629737609329,
669
+ "support": 149.0
670
+ },
671
+ "SCCKA": {
672
+ "precision": 0.6021505376344086,
673
+ "recall": 0.5894736842105263,
674
+ "f1-score": 0.5957446808510638,
675
+ "support": 95.0
676
+ },
677
+ "VASC": {
678
+ "precision": 0.4444444444444444,
679
+ "recall": 0.4444444444444444,
680
+ "f1-score": 0.4444444444444444,
681
+ "support": 9.0
682
+ },
683
+ "accuracy": 0.7146946564885496,
684
+ "macro avg": {
685
+ "precision": 0.478092225818034,
686
+ "recall": 0.40211574885877677,
687
+ "f1-score": 0.42409547167495665,
688
+ "support": 1048.0
689
+ },
690
+ "weighted avg": {
691
+ "precision": 0.695946867649407,
692
+ "recall": 0.7146946564885496,
693
+ "f1-score": 0.694250569775087,
694
+ "support": 1048.0
695
+ }
696
+ },
697
+ "class_names": [
698
+ "AKIEC",
699
+ "BCC",
700
+ "BEN_OTH",
701
+ "BKL",
702
+ "DF",
703
+ "INF",
704
+ "MAL_OTH",
705
+ "MEL",
706
+ "NV",
707
+ "SCCKA",
708
+ "VASC"
709
+ ],
710
+ "head_class_names": [
711
+ "AKIEC",
712
+ "BCC",
713
+ "BKL",
714
+ "MEL",
715
+ "NV",
716
+ "SCCKA"
717
+ ],
718
+ "mean_correct_confidence_head": 0.8839845657348633
719
+ }
singleenc_canvas_nometa_clean/per_class_metrics.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.6153846153846154,0.39344262295081966,0.9848024316109423,0.48,0.9176175527762553,0.7418156421648376
3
+ BCC,504,0.8116197183098591,0.9146825396825397,0.8033088235294118,0.8600746268656716,0.934140843837535,0.9075358093537907
4
+ BEN_OTH,9,0.2,0.1111111111111111,0.9961501443695862,0.14285714285714285,0.9378676077424875,0.7887043561647962
5
+ BKL,109,0.5465116279069767,0.43119266055045874,0.9584664536741214,0.48205128205128206,0.8279059315492765,0.7327135713565488
6
+ DF,10,0.6,0.3,0.9980732177263969,0.4,0.9576107899807322,0.5513030124599051
7
+ INF,10,0.16666666666666666,0.1,0.9951830443159922,0.125,0.9180154142581889,0.498561377281792
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.49139579349904394,
9
+ MEL,90,0.627906976744186,0.3,0.9832985386221295,0.40601503759398494,0.9022848527023892,0.7687961755702101
10
+ NV,149,0.6443298969072165,0.8389261744966443,0.9232480533926585,0.7288629737609329,0.9547446454300452,0.9204382182845505
11
+ SCCKA,95,0.6021505376344086,0.5894736842105263,0.9611752360965372,0.5957446808510638,0.932865742530513,0.8521638418878058
12
+ VASC,9,0.4444444444444444,0.4444444444444444,0.9951876804619827,0.4444444444444444,0.9723024275478558,0.8709561265888918
singleenc_canvas_nometa_clean/per_class_metrics_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.6153846153846154,0.39344262295081966,0.9848024316109423,0.48,0.9176175527762553,0.7418156421648376
3
+ BCC,504,0.8116197183098591,0.9146825396825397,0.8033088235294118,0.8600746268656716,0.934140843837535,0.9075358093537907
4
+ BEN_OTH,9,0.2,0.1111111111111111,0.9961501443695862,0.14285714285714285,0.9378676077424875,0.7887043561647962
5
+ BKL,109,0.5465116279069767,0.43119266055045874,0.9584664536741214,0.48205128205128206,0.8279059315492765,0.7327135713565488
6
+ DF,10,0.6,0.3,0.9980732177263969,0.4,0.9576107899807322,0.5513030124599051
7
+ INF,10,0.16666666666666666,0.1,0.9951830443159922,0.125,0.9180154142581889,0.498561377281792
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.49139579349904394,
9
+ MEL,90,0.627906976744186,0.3,0.9832985386221295,0.40601503759398494,0.9022848527023892,0.7687961755702101
10
+ NV,149,0.6443298969072165,0.8389261744966443,0.9232480533926585,0.7288629737609329,0.9547446454300452,0.9204382182845505
11
+ SCCKA,95,0.6021505376344086,0.5894736842105263,0.9611752360965372,0.5957446808510638,0.932865742530513,0.8521638418878058
12
+ VASC,9,0.4444444444444444,0.4444444444444444,0.9951876804619827,0.4444444444444444,0.9723024275478558,0.8709561265888918
singleenc_canvas_nometa_clean/prediction_summary.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 1048,
3
+ "predicted_class_counts": {
4
+ "AKIEC": 39,
5
+ "BCC": 568,
6
+ "BEN_OTH": 5,
7
+ "BKL": 86,
8
+ "DF": 5,
9
+ "INF": 6,
10
+ "MAL_OTH": 0,
11
+ "MEL": 43,
12
+ "NV": 194,
13
+ "SCCKA": 93,
14
+ "VASC": 9
15
+ },
16
+ "mean_probability": {
17
+ "AKIEC": 0.04746319726109505,
18
+ "BCC": 0.5023127198219299,
19
+ "BEN_OTH": 0.008306918665766716,
20
+ "BKL": 0.0987352803349495,
21
+ "DF": 0.006373959593474865,
22
+ "INF": 0.005201215855777264,
23
+ "MAL_OTH": 0.000558639585506171,
24
+ "MEL": 0.04954661428928375,
25
+ "NV": 0.1811542958021164,
26
+ "SCCKA": 0.09283953905105591,
27
+ "VASC": 0.007507617585361004
28
+ },
29
+ "median_probability": {
30
+ "AKIEC": 0.0011939711403101683,
31
+ "BCC": 0.5610650777816772,
32
+ "BEN_OTH": 5.411231177276932e-05,
33
+ "BKL": 0.013692361302673817,
34
+ "DF": 5.798471829621121e-05,
35
+ "INF": 3.532807750161737e-05,
36
+ "MAL_OTH": 7.677325629629195e-05,
37
+ "MEL": 0.00042667423258535564,
38
+ "NV": 0.002630390925332904,
39
+ "SCCKA": 0.0017448740545660257,
40
+ "VASC": 6.6413485910743475e-06
41
+ },
42
+ "mean_confidence": 0.8349446654319763,
43
+ "median_confidence": 0.9272555112838745,
44
+ "mean_top1_top2_gap": 0.7250550985336304,
45
+ "median_top1_top2_gap": 0.8724524974822998,
46
+ "mean_entropy": 0.46895378828048706,
47
+ "median_entropy": 0.3104484975337982,
48
+ "low_confidence_threshold": 0.5,
49
+ "low_confidence_rows": 86
50
+ }
singleenc_canvas_nometa_clean/run_config.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "data_dir": "/marimo/milk10k",
4
+ "dermoscopic_mask_dir": null,
5
+ "min_dermoscopic_mask_ratio": 0.01,
6
+ "clinical_checkpoint": null,
7
+ "dermoscopic_checkpoint": null,
8
+ "resume_checkpoint": null,
9
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_canvas_nometa_clean",
10
+ "freeze_epochs": 8,
11
+ "finetune_epochs": 40,
12
+ "batch_size": 8,
13
+ "image_size": 260,
14
+ "backbone": "efficientnet_b2",
15
+ "num_workers": 4,
16
+ "head_lr": 0.0001,
17
+ "encoder_lr": 1e-05,
18
+ "metadata_lr": null,
19
+ "metadata_fusion": "concat",
20
+ "image_fusion": "single_encoder_canvas",
21
+ "metadata_gate_hidden_dim": 64,
22
+ "disable_metadata": true,
23
+ "freeze_metadata_head": false,
24
+ "weight_decay": 0.0001,
25
+ "val_size": 0.2,
26
+ "synthetic_train_only": false,
27
+ "augmented_data_dir": null,
28
+ "augmented_max_per_class": 0,
29
+ "augmented_classes": [],
30
+ "zero_augmented_metadata": false,
31
+ "seed": 42,
32
+ "branch_dim": 512,
33
+ "metadata_dim": 64,
34
+ "classifier_hidden_dim": 512,
35
+ "classifier_style": "simple",
36
+ "dropout": 0.3,
37
+ "logit_fusion_mode": "single",
38
+ "fusion_logit_weight": 0.6,
39
+ "clinical_logit_weight": 0.2,
40
+ "dermoscopic_logit_weight": 0.2,
41
+ "class_weight": false,
42
+ "weighted_sampler": false,
43
+ "sampler_power": 1.0,
44
+ "balance_mode": "none",
45
+ "balance_head_ratio": 2.0,
46
+ "balance_tail_floor": 100,
47
+ "balance_min_source_count": 20,
48
+ "loss": "ce",
49
+ "focal_gamma": 2.0,
50
+ "dice_weight": 0.3,
51
+ "f1_weight": 0.3,
52
+ "f1_ignore_classes": [],
53
+ "f1_class_weight": [],
54
+ "ldam_beta": 0.9999,
55
+ "ldam_max_margin": 0.5,
56
+ "ldam_drw_start_epoch": 0,
57
+ "ldam_alpha_max": 10.0,
58
+ "tail_num_classes": 4,
59
+ "k_folds": 1,
60
+ "amp": true,
61
+ "backbone_backend": "auto",
62
+ "imagenet_pretrained": true,
63
+ "selection_metric": "f1_macro",
64
+ "calibrate_bias": false,
65
+ "calibration_metric": "dice_macro",
66
+ "calibration_max_bias": 1.5,
67
+ "calibration_step": 0.25,
68
+ "calibration_passes": 3,
69
+ "patience": 6,
70
+ "tau": 0.0,
71
+ "lws_epochs": 0,
72
+ "lws_lr": 0.01,
73
+ "lws_sampler_power": 0.5,
74
+ "lws_min_scale": 0.75,
75
+ "lws_max_scale": 1.5,
76
+ "ema": false,
77
+ "ema_decay": 0.999,
78
+ "fit_temperature": false
79
+ },
80
+ "environment": {
81
+ "timestamp_utc": "2026-06-23T00:56:33.305357+00:00",
82
+ "cwd": "/marimo",
83
+ "command": [
84
+ "/marimo/code/train_milk10k_effb2_dual_metadata.py",
85
+ "--data-dir",
86
+ "/marimo/milk10k",
87
+ "--backbone",
88
+ "efficientnet_b2",
89
+ "--backbone-backend",
90
+ "auto",
91
+ "--metadata-fusion",
92
+ "concat",
93
+ "--classifier-style",
94
+ "simple",
95
+ "--logit-fusion-mode",
96
+ "single",
97
+ "--loss",
98
+ "ce",
99
+ "--freeze-epochs",
100
+ "8",
101
+ "--finetune-epochs",
102
+ "40",
103
+ "--batch-size",
104
+ "8",
105
+ "--image-size",
106
+ "260",
107
+ "--selection-metric",
108
+ "f1_macro",
109
+ "--patience",
110
+ "6",
111
+ "--num-workers",
112
+ "4",
113
+ "--seed",
114
+ "42",
115
+ "--amp",
116
+ "--output-dir",
117
+ "/marimo/single_encoder_split_runs/singleenc_canvas_nometa_clean",
118
+ "--image-fusion",
119
+ "single_encoder_canvas",
120
+ "--disable-metadata"
121
+ ],
122
+ "python": "3.13.11 (main, Feb 3 2026, 03:08:54) [GCC 14.2.0]",
123
+ "platform": "Linux-4.4.0-x86_64-with-glibc2.41",
124
+ "executable": "/tmp/uv-venv/bin/python",
125
+ "torch": {
126
+ "version": "2.12.0+cu130",
127
+ "cuda_available": true,
128
+ "cuda_device_count": 1,
129
+ "cuda_device_name": "NVIDIA RTX PRO 6000 Blackwell Server Edition"
130
+ },
131
+ "git": {
132
+ "available": false
133
+ }
134
+ },
135
+ "class_names": [
136
+ "AKIEC",
137
+ "BCC",
138
+ "BEN_OTH",
139
+ "BKL",
140
+ "DF",
141
+ "INF",
142
+ "MAL_OTH",
143
+ "MEL",
144
+ "NV",
145
+ "SCCKA",
146
+ "VASC"
147
+ ],
148
+ "label_to_idx": {
149
+ "AKIEC": 0,
150
+ "BCC": 1,
151
+ "BEN_OTH": 2,
152
+ "BKL": 3,
153
+ "DF": 4,
154
+ "INF": 5,
155
+ "MAL_OTH": 6,
156
+ "MEL": 7,
157
+ "NV": 8,
158
+ "SCCKA": 9,
159
+ "VASC": 10
160
+ },
161
+ "metadata_spec": {
162
+ "sex_values": [
163
+ "female",
164
+ "male",
165
+ "unknown"
166
+ ],
167
+ "site_values": [
168
+ "foot",
169
+ "genital",
170
+ "hand",
171
+ "head_neck_face",
172
+ "lower_extremity",
173
+ "trunk",
174
+ "unknown",
175
+ "upper_extremity"
176
+ ],
177
+ "monet_columns": [
178
+ "MONET_erythema",
179
+ "MONET_gel_water_drop_fluid_dermoscopy_liquid",
180
+ "MONET_hair",
181
+ "MONET_pigmented",
182
+ "MONET_skin_markings_pen_ink_purple_pen",
183
+ "MONET_ulceration_crust",
184
+ "MONET_vasculature_vessels"
185
+ ]
186
+ },
187
+ "model_type": "DualEffB2MetadataClassifier",
188
+ "train_size": 4192,
189
+ "val_size": 1048,
190
+ "fold": null,
191
+ "metadata_fusion": "concat",
192
+ "image_fusion": "single_encoder_canvas",
193
+ "clinical_backbone": "timm efficientnet_b2",
194
+ "dermoscopic_backbone": "timm efficientnet_b2",
195
+ "paths": {
196
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_canvas_nometa_clean",
197
+ "data_dir": "/marimo/milk10k",
198
+ "dermoscopic_mask_dir": "None",
199
+ "clinical_checkpoint": "None",
200
+ "dermoscopic_checkpoint": "None",
201
+ "resume_checkpoint": "None",
202
+ "augmented_data_dir": "None"
203
+ }
204
+ }
singleenc_canvas_nometa_clean/split_summary.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Split Summary
2
+
3
+ ## Full
4
+
5
+ - rows: 5240
6
+ - real_rows: 5240
7
+ - synthetic_rows: 0
8
+ - ignore_metadata_rows: 0
9
+
10
+ | class | count | synthetic |
11
+ |---|---:|---:|
12
+ | AKIEC | 303 | 0 |
13
+ | BCC | 2522 | 0 |
14
+ | BEN_OTH | 44 | 0 |
15
+ | BKL | 544 | 0 |
16
+ | DF | 52 | 0 |
17
+ | INF | 50 | 0 |
18
+ | MAL_OTH | 9 | 0 |
19
+ | MEL | 450 | 0 |
20
+ | NV | 746 | 0 |
21
+ | SCCKA | 473 | 0 |
22
+ | VASC | 47 | 0 |
23
+
24
+ ## Train
25
+
26
+ - rows: 4192
27
+ - real_rows: 4192
28
+ - synthetic_rows: 0
29
+ - ignore_metadata_rows: 0
30
+
31
+ | class | count | synthetic |
32
+ |---|---:|---:|
33
+ | AKIEC | 242 | 0 |
34
+ | BCC | 2018 | 0 |
35
+ | BEN_OTH | 35 | 0 |
36
+ | BKL | 435 | 0 |
37
+ | DF | 42 | 0 |
38
+ | INF | 40 | 0 |
39
+ | MAL_OTH | 7 | 0 |
40
+ | MEL | 360 | 0 |
41
+ | NV | 597 | 0 |
42
+ | SCCKA | 378 | 0 |
43
+ | VASC | 38 | 0 |
44
+
45
+ ## Val
46
+
47
+ - rows: 1048
48
+ - real_rows: 1048
49
+ - synthetic_rows: 0
50
+ - ignore_metadata_rows: 0
51
+
52
+ | class | count | synthetic |
53
+ |---|---:|---:|
54
+ | AKIEC | 61 | 0 |
55
+ | BCC | 504 | 0 |
56
+ | BEN_OTH | 9 | 0 |
57
+ | BKL | 109 | 0 |
58
+ | DF | 10 | 0 |
59
+ | INF | 10 | 0 |
60
+ | MAL_OTH | 2 | 0 |
61
+ | MEL | 90 | 0 |
62
+ | NV | 149 | 0 |
63
+ | SCCKA | 95 | 0 |
64
+ | VASC | 9 | 0 |
65
+
66
+ - synthetic_train_only: False
singleenc_canvas_nometa_clean/val_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_pool_meta_clean.predict.log ADDED
@@ -0,0 +1,4 @@
 
0
  0%| | 0/60 [00:00<?, ?it/s]
1
  2%|▏ | 1/60 [00:01<01:16, 1.29s/it]
2
  17%|█▋ | 10/60 [00:01<00:05, 9.53it/s]
3
  27%|██▋ | 16/60 [00:01<00:02, 15.52it/s]
4
  37%|███▋ | 22/60 [00:01<00:01, 21.21it/s]
5
  45%|████▌ | 27/60 [00:01<00:01, 26.04it/s]
6
  55%|█████▌ | 33/60 [00:01<00:00, 32.02it/s]
7
  65%|██████▌ | 39/60 [00:01<00:00, 35.05it/s]
8
  77%|███████▋ | 46/60 [00:02<00:00, 40.95it/s]
9
  87%|████████▋ | 52/60 [00:02<00:00, 43.08it/s]
10
  97%|█████████▋| 58/60 [00:02<00:00, 46.46it/s]
11
 
 
 
 
 
1
+
2
  0%| | 0/60 [00:00<?, ?it/s]
3
  2%|▏ | 1/60 [00:01<01:16, 1.29s/it]
4
  17%|█▋ | 10/60 [00:01<00:05, 9.53it/s]
5
  27%|██▋ | 16/60 [00:01<00:02, 15.52it/s]
6
  37%|███▋ | 22/60 [00:01<00:01, 21.21it/s]
7
  45%|████▌ | 27/60 [00:01<00:01, 26.04it/s]
8
  55%|█████▌ | 33/60 [00:01<00:00, 32.02it/s]
9
  65%|██████▌ | 39/60 [00:01<00:00, 35.05it/s]
10
  77%|███████▋ | 46/60 [00:02<00:00, 40.95it/s]
11
  87%|████████▋ | 52/60 [00:02<00:00, 43.08it/s]
12
  97%|█████████▋| 58/60 [00:02<00:00, 46.46it/s]
13
 
14
+ Tail audit DF: predicted_count=3, mean_probability=0.009810, max_probability=0.645351
15
+ Tail audit INF: predicted_count=1, mean_probability=0.006476, max_probability=0.480001
16
+ Saved predictions: /marimo/single_encoder_split_submissions/singleenc_pool_meta_clean.csv
singleenc_pool_meta_clean.train.log ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_pool_meta_clean/confusion_analysis.json ADDED
@@ -0,0 +1,761 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "false_negatives_by_true_class": {
3
+ "AKIEC": [
4
+ {
5
+ "true": "AKIEC",
6
+ "predicted": "BCC",
7
+ "count": 18,
8
+ "rate_of_true": 0.29508196721311475
9
+ },
10
+ {
11
+ "true": "AKIEC",
12
+ "predicted": "SCCKA",
13
+ "count": 11,
14
+ "rate_of_true": 0.18032786885245902
15
+ },
16
+ {
17
+ "true": "AKIEC",
18
+ "predicted": "BKL",
19
+ "count": 9,
20
+ "rate_of_true": 0.14754098360655737
21
+ }
22
+ ],
23
+ "BCC": [
24
+ {
25
+ "true": "BCC",
26
+ "predicted": "SCCKA",
27
+ "count": 20,
28
+ "rate_of_true": 0.03968253968253968
29
+ },
30
+ {
31
+ "true": "BCC",
32
+ "predicted": "AKIEC",
33
+ "count": 11,
34
+ "rate_of_true": 0.021825396825396824
35
+ },
36
+ {
37
+ "true": "BCC",
38
+ "predicted": "BKL",
39
+ "count": 4,
40
+ "rate_of_true": 0.007936507936507936
41
+ },
42
+ {
43
+ "true": "BCC",
44
+ "predicted": "MEL",
45
+ "count": 3,
46
+ "rate_of_true": 0.005952380952380952
47
+ },
48
+ {
49
+ "true": "BCC",
50
+ "predicted": "NV",
51
+ "count": 3,
52
+ "rate_of_true": 0.005952380952380952
53
+ },
54
+ {
55
+ "true": "BCC",
56
+ "predicted": "VASC",
57
+ "count": 2,
58
+ "rate_of_true": 0.003968253968253968
59
+ },
60
+ {
61
+ "true": "BCC",
62
+ "predicted": "DF",
63
+ "count": 1,
64
+ "rate_of_true": 0.001984126984126984
65
+ }
66
+ ],
67
+ "BEN_OTH": [
68
+ {
69
+ "true": "BEN_OTH",
70
+ "predicted": "BCC",
71
+ "count": 3,
72
+ "rate_of_true": 0.3333333333333333
73
+ },
74
+ {
75
+ "true": "BEN_OTH",
76
+ "predicted": "NV",
77
+ "count": 3,
78
+ "rate_of_true": 0.3333333333333333
79
+ },
80
+ {
81
+ "true": "BEN_OTH",
82
+ "predicted": "BKL",
83
+ "count": 1,
84
+ "rate_of_true": 0.1111111111111111
85
+ },
86
+ {
87
+ "true": "BEN_OTH",
88
+ "predicted": "MEL",
89
+ "count": 1,
90
+ "rate_of_true": 0.1111111111111111
91
+ }
92
+ ],
93
+ "BKL": [
94
+ {
95
+ "true": "BKL",
96
+ "predicted": "BCC",
97
+ "count": 43,
98
+ "rate_of_true": 0.3944954128440367
99
+ },
100
+ {
101
+ "true": "BKL",
102
+ "predicted": "SCCKA",
103
+ "count": 11,
104
+ "rate_of_true": 0.10091743119266056
105
+ },
106
+ {
107
+ "true": "BKL",
108
+ "predicted": "MEL",
109
+ "count": 7,
110
+ "rate_of_true": 0.06422018348623854
111
+ },
112
+ {
113
+ "true": "BKL",
114
+ "predicted": "AKIEC",
115
+ "count": 6,
116
+ "rate_of_true": 0.05504587155963303
117
+ },
118
+ {
119
+ "true": "BKL",
120
+ "predicted": "NV",
121
+ "count": 4,
122
+ "rate_of_true": 0.03669724770642202
123
+ },
124
+ {
125
+ "true": "BKL",
126
+ "predicted": "DF",
127
+ "count": 1,
128
+ "rate_of_true": 0.009174311926605505
129
+ },
130
+ {
131
+ "true": "BKL",
132
+ "predicted": "INF",
133
+ "count": 1,
134
+ "rate_of_true": 0.009174311926605505
135
+ }
136
+ ],
137
+ "DF": [
138
+ {
139
+ "true": "DF",
140
+ "predicted": "BCC",
141
+ "count": 4,
142
+ "rate_of_true": 0.4
143
+ },
144
+ {
145
+ "true": "DF",
146
+ "predicted": "MEL",
147
+ "count": 2,
148
+ "rate_of_true": 0.2
149
+ },
150
+ {
151
+ "true": "DF",
152
+ "predicted": "NV",
153
+ "count": 1,
154
+ "rate_of_true": 0.1
155
+ }
156
+ ],
157
+ "INF": [
158
+ {
159
+ "true": "INF",
160
+ "predicted": "BCC",
161
+ "count": 5,
162
+ "rate_of_true": 0.5
163
+ },
164
+ {
165
+ "true": "INF",
166
+ "predicted": "NV",
167
+ "count": 2,
168
+ "rate_of_true": 0.2
169
+ },
170
+ {
171
+ "true": "INF",
172
+ "predicted": "AKIEC",
173
+ "count": 1,
174
+ "rate_of_true": 0.1
175
+ },
176
+ {
177
+ "true": "INF",
178
+ "predicted": "BEN_OTH",
179
+ "count": 1,
180
+ "rate_of_true": 0.1
181
+ },
182
+ {
183
+ "true": "INF",
184
+ "predicted": "VASC",
185
+ "count": 1,
186
+ "rate_of_true": 0.1
187
+ }
188
+ ],
189
+ "MAL_OTH": [
190
+ {
191
+ "true": "MAL_OTH",
192
+ "predicted": "BCC",
193
+ "count": 1,
194
+ "rate_of_true": 0.5
195
+ },
196
+ {
197
+ "true": "MAL_OTH",
198
+ "predicted": "SCCKA",
199
+ "count": 1,
200
+ "rate_of_true": 0.5
201
+ }
202
+ ],
203
+ "MEL": [
204
+ {
205
+ "true": "MEL",
206
+ "predicted": "NV",
207
+ "count": 28,
208
+ "rate_of_true": 0.3111111111111111
209
+ },
210
+ {
211
+ "true": "MEL",
212
+ "predicted": "BCC",
213
+ "count": 10,
214
+ "rate_of_true": 0.1111111111111111
215
+ },
216
+ {
217
+ "true": "MEL",
218
+ "predicted": "BKL",
219
+ "count": 5,
220
+ "rate_of_true": 0.05555555555555555
221
+ },
222
+ {
223
+ "true": "MEL",
224
+ "predicted": "SCCKA",
225
+ "count": 2,
226
+ "rate_of_true": 0.022222222222222223
227
+ }
228
+ ],
229
+ "NV": [
230
+ {
231
+ "true": "NV",
232
+ "predicted": "MEL",
233
+ "count": 12,
234
+ "rate_of_true": 0.08053691275167785
235
+ },
236
+ {
237
+ "true": "NV",
238
+ "predicted": "BCC",
239
+ "count": 9,
240
+ "rate_of_true": 0.06040268456375839
241
+ },
242
+ {
243
+ "true": "NV",
244
+ "predicted": "BKL",
245
+ "count": 8,
246
+ "rate_of_true": 0.053691275167785234
247
+ },
248
+ {
249
+ "true": "NV",
250
+ "predicted": "DF",
251
+ "count": 1,
252
+ "rate_of_true": 0.006711409395973154
253
+ }
254
+ ],
255
+ "SCCKA": [
256
+ {
257
+ "true": "SCCKA",
258
+ "predicted": "BCC",
259
+ "count": 30,
260
+ "rate_of_true": 0.3157894736842105
261
+ },
262
+ {
263
+ "true": "SCCKA",
264
+ "predicted": "AKIEC",
265
+ "count": 6,
266
+ "rate_of_true": 0.06315789473684211
267
+ },
268
+ {
269
+ "true": "SCCKA",
270
+ "predicted": "BKL",
271
+ "count": 5,
272
+ "rate_of_true": 0.05263157894736842
273
+ }
274
+ ],
275
+ "VASC": [
276
+ {
277
+ "true": "VASC",
278
+ "predicted": "BCC",
279
+ "count": 2,
280
+ "rate_of_true": 0.2222222222222222
281
+ },
282
+ {
283
+ "true": "VASC",
284
+ "predicted": "NV",
285
+ "count": 1,
286
+ "rate_of_true": 0.1111111111111111
287
+ }
288
+ ]
289
+ },
290
+ "false_positives_by_predicted_class": {
291
+ "AKIEC": [
292
+ {
293
+ "predicted": "AKIEC",
294
+ "true": "BCC",
295
+ "count": 11,
296
+ "rate_of_predicted": 0.23404255319148937
297
+ },
298
+ {
299
+ "predicted": "AKIEC",
300
+ "true": "BKL",
301
+ "count": 6,
302
+ "rate_of_predicted": 0.1276595744680851
303
+ },
304
+ {
305
+ "predicted": "AKIEC",
306
+ "true": "SCCKA",
307
+ "count": 6,
308
+ "rate_of_predicted": 0.1276595744680851
309
+ },
310
+ {
311
+ "predicted": "AKIEC",
312
+ "true": "INF",
313
+ "count": 1,
314
+ "rate_of_predicted": 0.02127659574468085
315
+ }
316
+ ],
317
+ "BCC": [
318
+ {
319
+ "predicted": "BCC",
320
+ "true": "BKL",
321
+ "count": 43,
322
+ "rate_of_predicted": 0.0735042735042735
323
+ },
324
+ {
325
+ "predicted": "BCC",
326
+ "true": "SCCKA",
327
+ "count": 30,
328
+ "rate_of_predicted": 0.05128205128205128
329
+ },
330
+ {
331
+ "predicted": "BCC",
332
+ "true": "AKIEC",
333
+ "count": 18,
334
+ "rate_of_predicted": 0.03076923076923077
335
+ },
336
+ {
337
+ "predicted": "BCC",
338
+ "true": "MEL",
339
+ "count": 10,
340
+ "rate_of_predicted": 0.017094017094017096
341
+ },
342
+ {
343
+ "predicted": "BCC",
344
+ "true": "NV",
345
+ "count": 9,
346
+ "rate_of_predicted": 0.015384615384615385
347
+ },
348
+ {
349
+ "predicted": "BCC",
350
+ "true": "INF",
351
+ "count": 5,
352
+ "rate_of_predicted": 0.008547008547008548
353
+ },
354
+ {
355
+ "predicted": "BCC",
356
+ "true": "DF",
357
+ "count": 4,
358
+ "rate_of_predicted": 0.006837606837606838
359
+ },
360
+ {
361
+ "predicted": "BCC",
362
+ "true": "BEN_OTH",
363
+ "count": 3,
364
+ "rate_of_predicted": 0.005128205128205128
365
+ },
366
+ {
367
+ "predicted": "BCC",
368
+ "true": "VASC",
369
+ "count": 2,
370
+ "rate_of_predicted": 0.003418803418803419
371
+ },
372
+ {
373
+ "predicted": "BCC",
374
+ "true": "MAL_OTH",
375
+ "count": 1,
376
+ "rate_of_predicted": 0.0017094017094017094
377
+ }
378
+ ],
379
+ "BEN_OTH": [
380
+ {
381
+ "predicted": "BEN_OTH",
382
+ "true": "INF",
383
+ "count": 1,
384
+ "rate_of_predicted": 0.5
385
+ }
386
+ ],
387
+ "BKL": [
388
+ {
389
+ "predicted": "BKL",
390
+ "true": "AKIEC",
391
+ "count": 9,
392
+ "rate_of_predicted": 0.1323529411764706
393
+ },
394
+ {
395
+ "predicted": "BKL",
396
+ "true": "NV",
397
+ "count": 8,
398
+ "rate_of_predicted": 0.11764705882352941
399
+ },
400
+ {
401
+ "predicted": "BKL",
402
+ "true": "MEL",
403
+ "count": 5,
404
+ "rate_of_predicted": 0.07352941176470588
405
+ },
406
+ {
407
+ "predicted": "BKL",
408
+ "true": "SCCKA",
409
+ "count": 5,
410
+ "rate_of_predicted": 0.07352941176470588
411
+ },
412
+ {
413
+ "predicted": "BKL",
414
+ "true": "BCC",
415
+ "count": 4,
416
+ "rate_of_predicted": 0.058823529411764705
417
+ },
418
+ {
419
+ "predicted": "BKL",
420
+ "true": "BEN_OTH",
421
+ "count": 1,
422
+ "rate_of_predicted": 0.014705882352941176
423
+ }
424
+ ],
425
+ "DF": [
426
+ {
427
+ "predicted": "DF",
428
+ "true": "BCC",
429
+ "count": 1,
430
+ "rate_of_predicted": 0.16666666666666666
431
+ },
432
+ {
433
+ "predicted": "DF",
434
+ "true": "BKL",
435
+ "count": 1,
436
+ "rate_of_predicted": 0.16666666666666666
437
+ },
438
+ {
439
+ "predicted": "DF",
440
+ "true": "NV",
441
+ "count": 1,
442
+ "rate_of_predicted": 0.16666666666666666
443
+ }
444
+ ],
445
+ "INF": [
446
+ {
447
+ "predicted": "INF",
448
+ "true": "BKL",
449
+ "count": 1,
450
+ "rate_of_predicted": 1.0
451
+ }
452
+ ],
453
+ "MAL_OTH": [],
454
+ "MEL": [
455
+ {
456
+ "predicted": "MEL",
457
+ "true": "NV",
458
+ "count": 12,
459
+ "rate_of_predicted": 0.17142857142857143
460
+ },
461
+ {
462
+ "predicted": "MEL",
463
+ "true": "BKL",
464
+ "count": 7,
465
+ "rate_of_predicted": 0.1
466
+ },
467
+ {
468
+ "predicted": "MEL",
469
+ "true": "BCC",
470
+ "count": 3,
471
+ "rate_of_predicted": 0.04285714285714286
472
+ },
473
+ {
474
+ "predicted": "MEL",
475
+ "true": "DF",
476
+ "count": 2,
477
+ "rate_of_predicted": 0.02857142857142857
478
+ },
479
+ {
480
+ "predicted": "MEL",
481
+ "true": "BEN_OTH",
482
+ "count": 1,
483
+ "rate_of_predicted": 0.014285714285714285
484
+ }
485
+ ],
486
+ "NV": [
487
+ {
488
+ "predicted": "NV",
489
+ "true": "MEL",
490
+ "count": 28,
491
+ "rate_of_predicted": 0.17391304347826086
492
+ },
493
+ {
494
+ "predicted": "NV",
495
+ "true": "BKL",
496
+ "count": 4,
497
+ "rate_of_predicted": 0.024844720496894408
498
+ },
499
+ {
500
+ "predicted": "NV",
501
+ "true": "BCC",
502
+ "count": 3,
503
+ "rate_of_predicted": 0.018633540372670808
504
+ },
505
+ {
506
+ "predicted": "NV",
507
+ "true": "BEN_OTH",
508
+ "count": 3,
509
+ "rate_of_predicted": 0.018633540372670808
510
+ },
511
+ {
512
+ "predicted": "NV",
513
+ "true": "INF",
514
+ "count": 2,
515
+ "rate_of_predicted": 0.012422360248447204
516
+ },
517
+ {
518
+ "predicted": "NV",
519
+ "true": "DF",
520
+ "count": 1,
521
+ "rate_of_predicted": 0.006211180124223602
522
+ },
523
+ {
524
+ "predicted": "NV",
525
+ "true": "VASC",
526
+ "count": 1,
527
+ "rate_of_predicted": 0.006211180124223602
528
+ }
529
+ ],
530
+ "SCCKA": [
531
+ {
532
+ "predicted": "SCCKA",
533
+ "true": "BCC",
534
+ "count": 20,
535
+ "rate_of_predicted": 0.20202020202020202
536
+ },
537
+ {
538
+ "predicted": "SCCKA",
539
+ "true": "AKIEC",
540
+ "count": 11,
541
+ "rate_of_predicted": 0.1111111111111111
542
+ },
543
+ {
544
+ "predicted": "SCCKA",
545
+ "true": "BKL",
546
+ "count": 11,
547
+ "rate_of_predicted": 0.1111111111111111
548
+ },
549
+ {
550
+ "predicted": "SCCKA",
551
+ "true": "MEL",
552
+ "count": 2,
553
+ "rate_of_predicted": 0.020202020202020204
554
+ },
555
+ {
556
+ "predicted": "SCCKA",
557
+ "true": "MAL_OTH",
558
+ "count": 1,
559
+ "rate_of_predicted": 0.010101010101010102
560
+ }
561
+ ],
562
+ "VASC": [
563
+ {
564
+ "predicted": "VASC",
565
+ "true": "BCC",
566
+ "count": 2,
567
+ "rate_of_predicted": 0.2222222222222222
568
+ },
569
+ {
570
+ "predicted": "VASC",
571
+ "true": "INF",
572
+ "count": 1,
573
+ "rate_of_predicted": 0.1111111111111111
574
+ }
575
+ ]
576
+ },
577
+ "top_confusion_pairs": [
578
+ {
579
+ "true": "BKL",
580
+ "predicted": "BCC",
581
+ "count": 43,
582
+ "rate_of_true": 0.3944954128440367
583
+ },
584
+ {
585
+ "true": "SCCKA",
586
+ "predicted": "BCC",
587
+ "count": 30,
588
+ "rate_of_true": 0.3157894736842105
589
+ },
590
+ {
591
+ "true": "MEL",
592
+ "predicted": "NV",
593
+ "count": 28,
594
+ "rate_of_true": 0.3111111111111111
595
+ },
596
+ {
597
+ "true": "BCC",
598
+ "predicted": "SCCKA",
599
+ "count": 20,
600
+ "rate_of_true": 0.03968253968253968
601
+ },
602
+ {
603
+ "true": "AKIEC",
604
+ "predicted": "BCC",
605
+ "count": 18,
606
+ "rate_of_true": 0.29508196721311475
607
+ },
608
+ {
609
+ "true": "NV",
610
+ "predicted": "MEL",
611
+ "count": 12,
612
+ "rate_of_true": 0.08053691275167785
613
+ },
614
+ {
615
+ "true": "AKIEC",
616
+ "predicted": "SCCKA",
617
+ "count": 11,
618
+ "rate_of_true": 0.18032786885245902
619
+ },
620
+ {
621
+ "true": "BCC",
622
+ "predicted": "AKIEC",
623
+ "count": 11,
624
+ "rate_of_true": 0.021825396825396824
625
+ },
626
+ {
627
+ "true": "BKL",
628
+ "predicted": "SCCKA",
629
+ "count": 11,
630
+ "rate_of_true": 0.10091743119266056
631
+ },
632
+ {
633
+ "true": "MEL",
634
+ "predicted": "BCC",
635
+ "count": 10,
636
+ "rate_of_true": 0.1111111111111111
637
+ },
638
+ {
639
+ "true": "AKIEC",
640
+ "predicted": "BKL",
641
+ "count": 9,
642
+ "rate_of_true": 0.14754098360655737
643
+ },
644
+ {
645
+ "true": "NV",
646
+ "predicted": "BCC",
647
+ "count": 9,
648
+ "rate_of_true": 0.06040268456375839
649
+ },
650
+ {
651
+ "true": "NV",
652
+ "predicted": "BKL",
653
+ "count": 8,
654
+ "rate_of_true": 0.053691275167785234
655
+ },
656
+ {
657
+ "true": "BKL",
658
+ "predicted": "MEL",
659
+ "count": 7,
660
+ "rate_of_true": 0.06422018348623854
661
+ },
662
+ {
663
+ "true": "BKL",
664
+ "predicted": "AKIEC",
665
+ "count": 6,
666
+ "rate_of_true": 0.05504587155963303
667
+ },
668
+ {
669
+ "true": "SCCKA",
670
+ "predicted": "AKIEC",
671
+ "count": 6,
672
+ "rate_of_true": 0.06315789473684211
673
+ },
674
+ {
675
+ "true": "INF",
676
+ "predicted": "BCC",
677
+ "count": 5,
678
+ "rate_of_true": 0.5
679
+ },
680
+ {
681
+ "true": "MEL",
682
+ "predicted": "BKL",
683
+ "count": 5,
684
+ "rate_of_true": 0.05555555555555555
685
+ },
686
+ {
687
+ "true": "SCCKA",
688
+ "predicted": "BKL",
689
+ "count": 5,
690
+ "rate_of_true": 0.05263157894736842
691
+ },
692
+ {
693
+ "true": "BCC",
694
+ "predicted": "BKL",
695
+ "count": 4,
696
+ "rate_of_true": 0.007936507936507936
697
+ }
698
+ ],
699
+ "watched_confusion_patterns": [
700
+ {
701
+ "true": "BCC",
702
+ "predicted": "SCCKA",
703
+ "count": 20,
704
+ "rate_of_true": 0.03968253968253968
705
+ },
706
+ {
707
+ "true": "AKIEC",
708
+ "predicted": "SCCKA",
709
+ "count": 11,
710
+ "rate_of_true": 0.18032786885245902
711
+ },
712
+ {
713
+ "true": "BCC",
714
+ "predicted": "AKIEC",
715
+ "count": 11,
716
+ "rate_of_true": 0.021825396825396824
717
+ },
718
+ {
719
+ "true": "BKL",
720
+ "predicted": "SCCKA",
721
+ "count": 11,
722
+ "rate_of_true": 0.10091743119266056
723
+ },
724
+ {
725
+ "true": "SCCKA",
726
+ "predicted": "AKIEC",
727
+ "count": 6,
728
+ "rate_of_true": 0.06315789473684211
729
+ },
730
+ {
731
+ "true": "INF",
732
+ "predicted": "BCC",
733
+ "count": 5,
734
+ "rate_of_true": 0.5
735
+ },
736
+ {
737
+ "true": "SCCKA",
738
+ "predicted": "BKL",
739
+ "count": 5,
740
+ "rate_of_true": 0.05263157894736842
741
+ },
742
+ {
743
+ "true": "BCC",
744
+ "predicted": "BKL",
745
+ "count": 4,
746
+ "rate_of_true": 0.007936507936507936
747
+ },
748
+ {
749
+ "true": "INF",
750
+ "predicted": "NV",
751
+ "count": 2,
752
+ "rate_of_true": 0.2
753
+ },
754
+ {
755
+ "true": "INF",
756
+ "predicted": "BEN_OTH",
757
+ "count": 1,
758
+ "rate_of_true": 0.1
759
+ }
760
+ ]
761
+ }
singleenc_pool_meta_clean/confusion_matrix.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,23,18,0,9,0,0,0,0,0,11,0
3
+ BCC,11,460,0,4,1,0,0,3,3,20,2
4
+ BEN_OTH,0,3,1,1,0,0,0,1,3,0,0
5
+ BKL,6,43,0,36,1,1,0,7,4,11,0
6
+ DF,0,4,0,0,3,0,0,2,1,0,0
7
+ INF,1,5,1,0,0,0,0,0,2,0,1
8
+ MAL_OTH,0,1,0,0,0,0,0,0,0,1,0
9
+ MEL,0,10,0,5,0,0,0,45,28,2,0
10
+ NV,0,9,0,8,1,0,0,12,119,0,0
11
+ SCCKA,6,30,0,5,0,0,0,0,0,54,0
12
+ VASC,0,2,0,0,0,0,0,0,1,0,6
singleenc_pool_meta_clean/confusion_matrix_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ,AKIEC,BCC,BEN_OTH,BKL,DF,INF,MAL_OTH,MEL,NV,SCCKA,VASC
2
+ AKIEC,23,18,0,9,0,0,0,0,0,11,0
3
+ BCC,11,460,0,4,1,0,0,3,3,20,2
4
+ BEN_OTH,0,3,1,1,0,0,0,1,3,0,0
5
+ BKL,6,43,0,36,1,1,0,7,4,11,0
6
+ DF,0,4,0,0,3,0,0,2,1,0,0
7
+ INF,1,5,1,0,0,0,0,0,2,0,1
8
+ MAL_OTH,0,1,0,0,0,0,0,0,0,1,0
9
+ MEL,0,10,0,5,0,0,0,45,28,2,0
10
+ NV,0,9,0,8,1,0,0,12,119,0,0
11
+ SCCKA,6,30,0,5,0,0,0,0,0,54,0
12
+ VASC,0,2,0,0,0,0,0,0,1,0,6
singleenc_pool_meta_clean/data_summary.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "full": {
3
+ "rows": 5240,
4
+ "class_counts": {
5
+ "AKIEC": 303,
6
+ "BCC": 2522,
7
+ "BEN_OTH": 44,
8
+ "BKL": 544,
9
+ "DF": 52,
10
+ "INF": 50,
11
+ "MAL_OTH": 9,
12
+ "MEL": 450,
13
+ "NV": 746,
14
+ "SCCKA": 473,
15
+ "VASC": 47
16
+ },
17
+ "real_rows": 5240,
18
+ "synthetic_rows": 0,
19
+ "synthetic_class_counts": {
20
+ "AKIEC": 0,
21
+ "BCC": 0,
22
+ "BEN_OTH": 0,
23
+ "BKL": 0,
24
+ "DF": 0,
25
+ "INF": 0,
26
+ "MAL_OTH": 0,
27
+ "MEL": 0,
28
+ "NV": 0,
29
+ "SCCKA": 0,
30
+ "VASC": 0
31
+ },
32
+ "ignore_metadata_rows": 0,
33
+ "dermoscopic_mask_status_counts": {}
34
+ },
35
+ "train": {
36
+ "rows": 4192,
37
+ "class_counts": {
38
+ "AKIEC": 242,
39
+ "BCC": 2018,
40
+ "BEN_OTH": 35,
41
+ "BKL": 435,
42
+ "DF": 42,
43
+ "INF": 40,
44
+ "MAL_OTH": 7,
45
+ "MEL": 360,
46
+ "NV": 597,
47
+ "SCCKA": 378,
48
+ "VASC": 38
49
+ },
50
+ "real_rows": 4192,
51
+ "synthetic_rows": 0,
52
+ "synthetic_class_counts": {
53
+ "AKIEC": 0,
54
+ "BCC": 0,
55
+ "BEN_OTH": 0,
56
+ "BKL": 0,
57
+ "DF": 0,
58
+ "INF": 0,
59
+ "MAL_OTH": 0,
60
+ "MEL": 0,
61
+ "NV": 0,
62
+ "SCCKA": 0,
63
+ "VASC": 0
64
+ },
65
+ "ignore_metadata_rows": 0,
66
+ "dermoscopic_mask_status_counts": {}
67
+ },
68
+ "val": {
69
+ "rows": 1048,
70
+ "class_counts": {
71
+ "AKIEC": 61,
72
+ "BCC": 504,
73
+ "BEN_OTH": 9,
74
+ "BKL": 109,
75
+ "DF": 10,
76
+ "INF": 10,
77
+ "MAL_OTH": 2,
78
+ "MEL": 90,
79
+ "NV": 149,
80
+ "SCCKA": 95,
81
+ "VASC": 9
82
+ },
83
+ "real_rows": 1048,
84
+ "synthetic_rows": 0,
85
+ "synthetic_class_counts": {
86
+ "AKIEC": 0,
87
+ "BCC": 0,
88
+ "BEN_OTH": 0,
89
+ "BKL": 0,
90
+ "DF": 0,
91
+ "INF": 0,
92
+ "MAL_OTH": 0,
93
+ "MEL": 0,
94
+ "NV": 0,
95
+ "SCCKA": 0,
96
+ "VASC": 0
97
+ },
98
+ "ignore_metadata_rows": 0,
99
+ "dermoscopic_mask_status_counts": {}
100
+ },
101
+ "synthetic_train_only": false
102
+ }
singleenc_pool_meta_clean/history.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_pool_meta_clean/metrics.json ADDED
@@ -0,0 +1,719 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_selection_metric": 0.4352677414310993,
3
+ "selection_metric_name": "f1_macro",
4
+ "best_val_f1_macro": 0.4352677414310993,
5
+ "checkpoint_variant": "raw",
6
+ "temperature": 1.0,
7
+ "variants": {
8
+ "raw": {
9
+ "checkpoint": "/marimo/single_encoder_split_runs/singleenc_pool_meta_clean/best_raw.pt",
10
+ "temperature": 1.0,
11
+ "uncalibrated_metrics": {
12
+ "accuracy": 0.7127862595419847,
13
+ "nll": 0.9979693106779814,
14
+ "ece": 0.13337449742771074,
15
+ "mean_confidence": 0.8461607569696955,
16
+ "mean_correct_confidence": 0.8923780077494512,
17
+ "balanced_accuracy": 0.41498903371947654,
18
+ "top2_accuracy": 0.8721374045801527,
19
+ "top3_accuracy": 0.9360687022900763,
20
+ "precision_macro": 0.4908370039017539,
21
+ "recall_macro": 0.41498903371947654,
22
+ "f1_macro": 0.4352677414310993,
23
+ "precision_weighted": 0.6862312957522463,
24
+ "recall_weighted": 0.7127862595419847,
25
+ "f1_weighted": 0.6921728038748813,
26
+ "dice_macro": 0.4352677414310993,
27
+ "roc_auc_macro_ovr": 0.9120777303344489,
28
+ "roc_auc_weighted_ovr": 0.9150230790966493,
29
+ "roc_auc_micro_ovr": 0.9608815956237982,
30
+ "specificity_macro": 0.9621898485767801,
31
+ "per_class": [
32
+ {
33
+ "class": "AKIEC",
34
+ "support": 61,
35
+ "precision": 0.48936170212765956,
36
+ "recall_sensitivity": 0.3770491803278688,
37
+ "specificity": 0.9756838905775076,
38
+ "f1": 0.42592592592592593,
39
+ "auc_ovr": 0.9203580978955936,
40
+ "mean_correct_confidence": 0.7409597277554676
41
+ },
42
+ {
43
+ "class": "BCC",
44
+ "support": 504,
45
+ "precision": 0.7863247863247863,
46
+ "recall_sensitivity": 0.9126984126984127,
47
+ "specificity": 0.7702205882352942,
48
+ "f1": 0.8448117539026629,
49
+ "auc_ovr": 0.9200513538748833,
50
+ "mean_correct_confidence": 0.9198276195440297
51
+ },
52
+ {
53
+ "class": "BEN_OTH",
54
+ "support": 9,
55
+ "precision": 0.5,
56
+ "recall_sensitivity": 0.1111111111111111,
57
+ "specificity": 0.9990375360923965,
58
+ "f1": 0.18181818181818182,
59
+ "auc_ovr": 0.868677146829216,
60
+ "mean_correct_confidence": 0.9371715101171706
61
+ },
62
+ {
63
+ "class": "BKL",
64
+ "support": 109,
65
+ "precision": 0.5294117647058824,
66
+ "recall_sensitivity": 0.3302752293577982,
67
+ "specificity": 0.9659211927582535,
68
+ "f1": 0.4067796610169492,
69
+ "auc_ovr": 0.816484450567166,
70
+ "mean_correct_confidence": 0.7628882644870468
71
+ },
72
+ {
73
+ "class": "DF",
74
+ "support": 10,
75
+ "precision": 0.5,
76
+ "recall_sensitivity": 0.3,
77
+ "specificity": 0.9971098265895953,
78
+ "f1": 0.375,
79
+ "auc_ovr": 0.9792870905587668,
80
+ "mean_correct_confidence": 0.7085479383877343
81
+ },
82
+ {
83
+ "class": "INF",
84
+ "support": 10,
85
+ "precision": 0.0,
86
+ "recall_sensitivity": 0.0,
87
+ "specificity": 0.9990366088631984,
88
+ "f1": 0.0,
89
+ "auc_ovr": 0.905587668593449,
90
+ "mean_correct_confidence": null
91
+ },
92
+ {
93
+ "class": "MAL_OTH",
94
+ "support": 2,
95
+ "precision": 0.0,
96
+ "recall_sensitivity": 0.0,
97
+ "specificity": 1.0,
98
+ "f1": 0.0,
99
+ "auc_ovr": 0.8580305927342256,
100
+ "mean_correct_confidence": null
101
+ },
102
+ {
103
+ "class": "MEL",
104
+ "support": 90,
105
+ "precision": 0.6428571428571429,
106
+ "recall_sensitivity": 0.5,
107
+ "specificity": 0.9739039665970772,
108
+ "f1": 0.5625,
109
+ "auc_ovr": 0.9010670378102529,
110
+ "mean_correct_confidence": 0.8109994945613354
111
+ },
112
+ {
113
+ "class": "NV",
114
+ "support": 149,
115
+ "precision": 0.7391304347826086,
116
+ "recall_sensitivity": 0.7986577181208053,
117
+ "specificity": 0.9532814238042269,
118
+ "f1": 0.7677419354838709,
119
+ "auc_ovr": 0.9669431359228374,
120
+ "mean_correct_confidence": 0.9030907505780682
121
+ },
122
+ {
123
+ "class": "SCCKA",
124
+ "support": 95,
125
+ "precision": 0.5454545454545454,
126
+ "recall_sensitivity": 0.5684210526315789,
127
+ "specificity": 0.9527806925498427,
128
+ "f1": 0.5567010309278351,
129
+ "auc_ovr": 0.92417297177887,
130
+ "mean_correct_confidence": 0.8698541607309683
131
+ },
132
+ {
133
+ "class": "VASC",
134
+ "support": 9,
135
+ "precision": 0.6666666666666666,
136
+ "recall_sensitivity": 0.6666666666666666,
137
+ "specificity": 0.9971126082771896,
138
+ "f1": 0.6666666666666666,
139
+ "auc_ovr": 0.9721954871136778,
140
+ "mean_correct_confidence": 0.8303164933123518
141
+ }
142
+ ],
143
+ "classification_report": {
144
+ "AKIEC": {
145
+ "precision": 0.48936170212765956,
146
+ "recall": 0.3770491803278688,
147
+ "f1-score": 0.42592592592592593,
148
+ "support": 61.0
149
+ },
150
+ "BCC": {
151
+ "precision": 0.7863247863247863,
152
+ "recall": 0.9126984126984127,
153
+ "f1-score": 0.8448117539026629,
154
+ "support": 504.0
155
+ },
156
+ "BEN_OTH": {
157
+ "precision": 0.5,
158
+ "recall": 0.1111111111111111,
159
+ "f1-score": 0.18181818181818182,
160
+ "support": 9.0
161
+ },
162
+ "BKL": {
163
+ "precision": 0.5294117647058824,
164
+ "recall": 0.3302752293577982,
165
+ "f1-score": 0.4067796610169492,
166
+ "support": 109.0
167
+ },
168
+ "DF": {
169
+ "precision": 0.5,
170
+ "recall": 0.3,
171
+ "f1-score": 0.375,
172
+ "support": 10.0
173
+ },
174
+ "INF": {
175
+ "precision": 0.0,
176
+ "recall": 0.0,
177
+ "f1-score": 0.0,
178
+ "support": 10.0
179
+ },
180
+ "MAL_OTH": {
181
+ "precision": 0.0,
182
+ "recall": 0.0,
183
+ "f1-score": 0.0,
184
+ "support": 2.0
185
+ },
186
+ "MEL": {
187
+ "precision": 0.6428571428571429,
188
+ "recall": 0.5,
189
+ "f1-score": 0.5625,
190
+ "support": 90.0
191
+ },
192
+ "NV": {
193
+ "precision": 0.7391304347826086,
194
+ "recall": 0.7986577181208053,
195
+ "f1-score": 0.7677419354838709,
196
+ "support": 149.0
197
+ },
198
+ "SCCKA": {
199
+ "precision": 0.5454545454545454,
200
+ "recall": 0.5684210526315789,
201
+ "f1-score": 0.5567010309278351,
202
+ "support": 95.0
203
+ },
204
+ "VASC": {
205
+ "precision": 0.6666666666666666,
206
+ "recall": 0.6666666666666666,
207
+ "f1-score": 0.6666666666666666,
208
+ "support": 9.0
209
+ },
210
+ "accuracy": 0.7127862595419847,
211
+ "macro avg": {
212
+ "precision": 0.4908370039017539,
213
+ "recall": 0.41498903371947654,
214
+ "f1-score": 0.4352677414310993,
215
+ "support": 1048.0
216
+ },
217
+ "weighted avg": {
218
+ "precision": 0.6862312957522463,
219
+ "recall": 0.7127862595419847,
220
+ "f1-score": 0.6921728038748813,
221
+ "support": 1048.0
222
+ }
223
+ },
224
+ "class_names": [
225
+ "AKIEC",
226
+ "BCC",
227
+ "BEN_OTH",
228
+ "BKL",
229
+ "DF",
230
+ "INF",
231
+ "MAL_OTH",
232
+ "MEL",
233
+ "NV",
234
+ "SCCKA",
235
+ "VASC"
236
+ ],
237
+ "head_class_names": [
238
+ "AKIEC",
239
+ "BCC",
240
+ "BKL",
241
+ "MEL",
242
+ "NV",
243
+ "SCCKA"
244
+ ],
245
+ "mean_correct_confidence_head": 0.8935707807540894
246
+ },
247
+ "metrics": {
248
+ "accuracy": 0.7127862595419847,
249
+ "nll": 0.9979693106779814,
250
+ "ece": 0.13337449742771074,
251
+ "mean_confidence": 0.8461607569696955,
252
+ "mean_correct_confidence": 0.8923780077494512,
253
+ "balanced_accuracy": 0.41498903371947654,
254
+ "top2_accuracy": 0.8721374045801527,
255
+ "top3_accuracy": 0.9360687022900763,
256
+ "precision_macro": 0.4908370039017539,
257
+ "recall_macro": 0.41498903371947654,
258
+ "f1_macro": 0.4352677414310993,
259
+ "precision_weighted": 0.6862312957522463,
260
+ "recall_weighted": 0.7127862595419847,
261
+ "f1_weighted": 0.6921728038748813,
262
+ "dice_macro": 0.4352677414310993,
263
+ "roc_auc_macro_ovr": 0.9120777303344489,
264
+ "roc_auc_weighted_ovr": 0.9150230790966493,
265
+ "roc_auc_micro_ovr": 0.9608815956237982,
266
+ "specificity_macro": 0.9621898485767801,
267
+ "per_class": [
268
+ {
269
+ "class": "AKIEC",
270
+ "support": 61,
271
+ "precision": 0.48936170212765956,
272
+ "recall_sensitivity": 0.3770491803278688,
273
+ "specificity": 0.9756838905775076,
274
+ "f1": 0.42592592592592593,
275
+ "auc_ovr": 0.9203580978955936,
276
+ "mean_correct_confidence": 0.7409597277554676
277
+ },
278
+ {
279
+ "class": "BCC",
280
+ "support": 504,
281
+ "precision": 0.7863247863247863,
282
+ "recall_sensitivity": 0.9126984126984127,
283
+ "specificity": 0.7702205882352942,
284
+ "f1": 0.8448117539026629,
285
+ "auc_ovr": 0.9200513538748833,
286
+ "mean_correct_confidence": 0.9198276195440297
287
+ },
288
+ {
289
+ "class": "BEN_OTH",
290
+ "support": 9,
291
+ "precision": 0.5,
292
+ "recall_sensitivity": 0.1111111111111111,
293
+ "specificity": 0.9990375360923965,
294
+ "f1": 0.18181818181818182,
295
+ "auc_ovr": 0.868677146829216,
296
+ "mean_correct_confidence": 0.9371715101171706
297
+ },
298
+ {
299
+ "class": "BKL",
300
+ "support": 109,
301
+ "precision": 0.5294117647058824,
302
+ "recall_sensitivity": 0.3302752293577982,
303
+ "specificity": 0.9659211927582535,
304
+ "f1": 0.4067796610169492,
305
+ "auc_ovr": 0.816484450567166,
306
+ "mean_correct_confidence": 0.7628882644870468
307
+ },
308
+ {
309
+ "class": "DF",
310
+ "support": 10,
311
+ "precision": 0.5,
312
+ "recall_sensitivity": 0.3,
313
+ "specificity": 0.9971098265895953,
314
+ "f1": 0.375,
315
+ "auc_ovr": 0.9792870905587668,
316
+ "mean_correct_confidence": 0.7085479383877343
317
+ },
318
+ {
319
+ "class": "INF",
320
+ "support": 10,
321
+ "precision": 0.0,
322
+ "recall_sensitivity": 0.0,
323
+ "specificity": 0.9990366088631984,
324
+ "f1": 0.0,
325
+ "auc_ovr": 0.905587668593449,
326
+ "mean_correct_confidence": null
327
+ },
328
+ {
329
+ "class": "MAL_OTH",
330
+ "support": 2,
331
+ "precision": 0.0,
332
+ "recall_sensitivity": 0.0,
333
+ "specificity": 1.0,
334
+ "f1": 0.0,
335
+ "auc_ovr": 0.8580305927342256,
336
+ "mean_correct_confidence": null
337
+ },
338
+ {
339
+ "class": "MEL",
340
+ "support": 90,
341
+ "precision": 0.6428571428571429,
342
+ "recall_sensitivity": 0.5,
343
+ "specificity": 0.9739039665970772,
344
+ "f1": 0.5625,
345
+ "auc_ovr": 0.9010670378102529,
346
+ "mean_correct_confidence": 0.8109994945613354
347
+ },
348
+ {
349
+ "class": "NV",
350
+ "support": 149,
351
+ "precision": 0.7391304347826086,
352
+ "recall_sensitivity": 0.7986577181208053,
353
+ "specificity": 0.9532814238042269,
354
+ "f1": 0.7677419354838709,
355
+ "auc_ovr": 0.9669431359228374,
356
+ "mean_correct_confidence": 0.9030907505780682
357
+ },
358
+ {
359
+ "class": "SCCKA",
360
+ "support": 95,
361
+ "precision": 0.5454545454545454,
362
+ "recall_sensitivity": 0.5684210526315789,
363
+ "specificity": 0.9527806925498427,
364
+ "f1": 0.5567010309278351,
365
+ "auc_ovr": 0.92417297177887,
366
+ "mean_correct_confidence": 0.8698541607309683
367
+ },
368
+ {
369
+ "class": "VASC",
370
+ "support": 9,
371
+ "precision": 0.6666666666666666,
372
+ "recall_sensitivity": 0.6666666666666666,
373
+ "specificity": 0.9971126082771896,
374
+ "f1": 0.6666666666666666,
375
+ "auc_ovr": 0.9721954871136778,
376
+ "mean_correct_confidence": 0.8303164933123518
377
+ }
378
+ ],
379
+ "classification_report": {
380
+ "AKIEC": {
381
+ "precision": 0.48936170212765956,
382
+ "recall": 0.3770491803278688,
383
+ "f1-score": 0.42592592592592593,
384
+ "support": 61.0
385
+ },
386
+ "BCC": {
387
+ "precision": 0.7863247863247863,
388
+ "recall": 0.9126984126984127,
389
+ "f1-score": 0.8448117539026629,
390
+ "support": 504.0
391
+ },
392
+ "BEN_OTH": {
393
+ "precision": 0.5,
394
+ "recall": 0.1111111111111111,
395
+ "f1-score": 0.18181818181818182,
396
+ "support": 9.0
397
+ },
398
+ "BKL": {
399
+ "precision": 0.5294117647058824,
400
+ "recall": 0.3302752293577982,
401
+ "f1-score": 0.4067796610169492,
402
+ "support": 109.0
403
+ },
404
+ "DF": {
405
+ "precision": 0.5,
406
+ "recall": 0.3,
407
+ "f1-score": 0.375,
408
+ "support": 10.0
409
+ },
410
+ "INF": {
411
+ "precision": 0.0,
412
+ "recall": 0.0,
413
+ "f1-score": 0.0,
414
+ "support": 10.0
415
+ },
416
+ "MAL_OTH": {
417
+ "precision": 0.0,
418
+ "recall": 0.0,
419
+ "f1-score": 0.0,
420
+ "support": 2.0
421
+ },
422
+ "MEL": {
423
+ "precision": 0.6428571428571429,
424
+ "recall": 0.5,
425
+ "f1-score": 0.5625,
426
+ "support": 90.0
427
+ },
428
+ "NV": {
429
+ "precision": 0.7391304347826086,
430
+ "recall": 0.7986577181208053,
431
+ "f1-score": 0.7677419354838709,
432
+ "support": 149.0
433
+ },
434
+ "SCCKA": {
435
+ "precision": 0.5454545454545454,
436
+ "recall": 0.5684210526315789,
437
+ "f1-score": 0.5567010309278351,
438
+ "support": 95.0
439
+ },
440
+ "VASC": {
441
+ "precision": 0.6666666666666666,
442
+ "recall": 0.6666666666666666,
443
+ "f1-score": 0.6666666666666666,
444
+ "support": 9.0
445
+ },
446
+ "accuracy": 0.7127862595419847,
447
+ "macro avg": {
448
+ "precision": 0.4908370039017539,
449
+ "recall": 0.41498903371947654,
450
+ "f1-score": 0.4352677414310993,
451
+ "support": 1048.0
452
+ },
453
+ "weighted avg": {
454
+ "precision": 0.6862312957522463,
455
+ "recall": 0.7127862595419847,
456
+ "f1-score": 0.6921728038748813,
457
+ "support": 1048.0
458
+ }
459
+ },
460
+ "class_names": [
461
+ "AKIEC",
462
+ "BCC",
463
+ "BEN_OTH",
464
+ "BKL",
465
+ "DF",
466
+ "INF",
467
+ "MAL_OTH",
468
+ "MEL",
469
+ "NV",
470
+ "SCCKA",
471
+ "VASC"
472
+ ],
473
+ "head_class_names": [
474
+ "AKIEC",
475
+ "BCC",
476
+ "BKL",
477
+ "MEL",
478
+ "NV",
479
+ "SCCKA"
480
+ ],
481
+ "mean_correct_confidence_head": 0.8935707807540894
482
+ }
483
+ }
484
+ },
485
+ "accuracy": 0.7127862595419847,
486
+ "nll": 0.9979693106779814,
487
+ "ece": 0.13337449742771074,
488
+ "mean_confidence": 0.8461607569696955,
489
+ "mean_correct_confidence": 0.8923780077494512,
490
+ "balanced_accuracy": 0.41498903371947654,
491
+ "top2_accuracy": 0.8721374045801527,
492
+ "top3_accuracy": 0.9360687022900763,
493
+ "precision_macro": 0.4908370039017539,
494
+ "recall_macro": 0.41498903371947654,
495
+ "f1_macro": 0.4352677414310993,
496
+ "precision_weighted": 0.6862312957522463,
497
+ "recall_weighted": 0.7127862595419847,
498
+ "f1_weighted": 0.6921728038748813,
499
+ "dice_macro": 0.4352677414310993,
500
+ "roc_auc_macro_ovr": 0.9120777303344489,
501
+ "roc_auc_weighted_ovr": 0.9150230790966493,
502
+ "roc_auc_micro_ovr": 0.9608815956237982,
503
+ "specificity_macro": 0.9621898485767801,
504
+ "per_class": [
505
+ {
506
+ "class": "AKIEC",
507
+ "support": 61,
508
+ "precision": 0.48936170212765956,
509
+ "recall_sensitivity": 0.3770491803278688,
510
+ "specificity": 0.9756838905775076,
511
+ "f1": 0.42592592592592593,
512
+ "auc_ovr": 0.9203580978955936,
513
+ "mean_correct_confidence": 0.7409597277554676
514
+ },
515
+ {
516
+ "class": "BCC",
517
+ "support": 504,
518
+ "precision": 0.7863247863247863,
519
+ "recall_sensitivity": 0.9126984126984127,
520
+ "specificity": 0.7702205882352942,
521
+ "f1": 0.8448117539026629,
522
+ "auc_ovr": 0.9200513538748833,
523
+ "mean_correct_confidence": 0.9198276195440297
524
+ },
525
+ {
526
+ "class": "BEN_OTH",
527
+ "support": 9,
528
+ "precision": 0.5,
529
+ "recall_sensitivity": 0.1111111111111111,
530
+ "specificity": 0.9990375360923965,
531
+ "f1": 0.18181818181818182,
532
+ "auc_ovr": 0.868677146829216,
533
+ "mean_correct_confidence": 0.9371715101171706
534
+ },
535
+ {
536
+ "class": "BKL",
537
+ "support": 109,
538
+ "precision": 0.5294117647058824,
539
+ "recall_sensitivity": 0.3302752293577982,
540
+ "specificity": 0.9659211927582535,
541
+ "f1": 0.4067796610169492,
542
+ "auc_ovr": 0.816484450567166,
543
+ "mean_correct_confidence": 0.7628882644870468
544
+ },
545
+ {
546
+ "class": "DF",
547
+ "support": 10,
548
+ "precision": 0.5,
549
+ "recall_sensitivity": 0.3,
550
+ "specificity": 0.9971098265895953,
551
+ "f1": 0.375,
552
+ "auc_ovr": 0.9792870905587668,
553
+ "mean_correct_confidence": 0.7085479383877343
554
+ },
555
+ {
556
+ "class": "INF",
557
+ "support": 10,
558
+ "precision": 0.0,
559
+ "recall_sensitivity": 0.0,
560
+ "specificity": 0.9990366088631984,
561
+ "f1": 0.0,
562
+ "auc_ovr": 0.905587668593449,
563
+ "mean_correct_confidence": null
564
+ },
565
+ {
566
+ "class": "MAL_OTH",
567
+ "support": 2,
568
+ "precision": 0.0,
569
+ "recall_sensitivity": 0.0,
570
+ "specificity": 1.0,
571
+ "f1": 0.0,
572
+ "auc_ovr": 0.8580305927342256,
573
+ "mean_correct_confidence": null
574
+ },
575
+ {
576
+ "class": "MEL",
577
+ "support": 90,
578
+ "precision": 0.6428571428571429,
579
+ "recall_sensitivity": 0.5,
580
+ "specificity": 0.9739039665970772,
581
+ "f1": 0.5625,
582
+ "auc_ovr": 0.9010670378102529,
583
+ "mean_correct_confidence": 0.8109994945613354
584
+ },
585
+ {
586
+ "class": "NV",
587
+ "support": 149,
588
+ "precision": 0.7391304347826086,
589
+ "recall_sensitivity": 0.7986577181208053,
590
+ "specificity": 0.9532814238042269,
591
+ "f1": 0.7677419354838709,
592
+ "auc_ovr": 0.9669431359228374,
593
+ "mean_correct_confidence": 0.9030907505780682
594
+ },
595
+ {
596
+ "class": "SCCKA",
597
+ "support": 95,
598
+ "precision": 0.5454545454545454,
599
+ "recall_sensitivity": 0.5684210526315789,
600
+ "specificity": 0.9527806925498427,
601
+ "f1": 0.5567010309278351,
602
+ "auc_ovr": 0.92417297177887,
603
+ "mean_correct_confidence": 0.8698541607309683
604
+ },
605
+ {
606
+ "class": "VASC",
607
+ "support": 9,
608
+ "precision": 0.6666666666666666,
609
+ "recall_sensitivity": 0.6666666666666666,
610
+ "specificity": 0.9971126082771896,
611
+ "f1": 0.6666666666666666,
612
+ "auc_ovr": 0.9721954871136778,
613
+ "mean_correct_confidence": 0.8303164933123518
614
+ }
615
+ ],
616
+ "classification_report": {
617
+ "AKIEC": {
618
+ "precision": 0.48936170212765956,
619
+ "recall": 0.3770491803278688,
620
+ "f1-score": 0.42592592592592593,
621
+ "support": 61.0
622
+ },
623
+ "BCC": {
624
+ "precision": 0.7863247863247863,
625
+ "recall": 0.9126984126984127,
626
+ "f1-score": 0.8448117539026629,
627
+ "support": 504.0
628
+ },
629
+ "BEN_OTH": {
630
+ "precision": 0.5,
631
+ "recall": 0.1111111111111111,
632
+ "f1-score": 0.18181818181818182,
633
+ "support": 9.0
634
+ },
635
+ "BKL": {
636
+ "precision": 0.5294117647058824,
637
+ "recall": 0.3302752293577982,
638
+ "f1-score": 0.4067796610169492,
639
+ "support": 109.0
640
+ },
641
+ "DF": {
642
+ "precision": 0.5,
643
+ "recall": 0.3,
644
+ "f1-score": 0.375,
645
+ "support": 10.0
646
+ },
647
+ "INF": {
648
+ "precision": 0.0,
649
+ "recall": 0.0,
650
+ "f1-score": 0.0,
651
+ "support": 10.0
652
+ },
653
+ "MAL_OTH": {
654
+ "precision": 0.0,
655
+ "recall": 0.0,
656
+ "f1-score": 0.0,
657
+ "support": 2.0
658
+ },
659
+ "MEL": {
660
+ "precision": 0.6428571428571429,
661
+ "recall": 0.5,
662
+ "f1-score": 0.5625,
663
+ "support": 90.0
664
+ },
665
+ "NV": {
666
+ "precision": 0.7391304347826086,
667
+ "recall": 0.7986577181208053,
668
+ "f1-score": 0.7677419354838709,
669
+ "support": 149.0
670
+ },
671
+ "SCCKA": {
672
+ "precision": 0.5454545454545454,
673
+ "recall": 0.5684210526315789,
674
+ "f1-score": 0.5567010309278351,
675
+ "support": 95.0
676
+ },
677
+ "VASC": {
678
+ "precision": 0.6666666666666666,
679
+ "recall": 0.6666666666666666,
680
+ "f1-score": 0.6666666666666666,
681
+ "support": 9.0
682
+ },
683
+ "accuracy": 0.7127862595419847,
684
+ "macro avg": {
685
+ "precision": 0.4908370039017539,
686
+ "recall": 0.41498903371947654,
687
+ "f1-score": 0.4352677414310993,
688
+ "support": 1048.0
689
+ },
690
+ "weighted avg": {
691
+ "precision": 0.6862312957522463,
692
+ "recall": 0.7127862595419847,
693
+ "f1-score": 0.6921728038748813,
694
+ "support": 1048.0
695
+ }
696
+ },
697
+ "class_names": [
698
+ "AKIEC",
699
+ "BCC",
700
+ "BEN_OTH",
701
+ "BKL",
702
+ "DF",
703
+ "INF",
704
+ "MAL_OTH",
705
+ "MEL",
706
+ "NV",
707
+ "SCCKA",
708
+ "VASC"
709
+ ],
710
+ "head_class_names": [
711
+ "AKIEC",
712
+ "BCC",
713
+ "BKL",
714
+ "MEL",
715
+ "NV",
716
+ "SCCKA"
717
+ ],
718
+ "mean_correct_confidence_head": 0.8935707807540894
719
+ }
singleenc_pool_meta_clean/per_class_metrics.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.48936170212765956,0.3770491803278688,0.9756838905775076,0.42592592592592593,0.9203580978955936,0.7409597277554676
3
+ BCC,504,0.7863247863247863,0.9126984126984127,0.7702205882352942,0.8448117539026629,0.9200513538748833,0.9198276195440297
4
+ BEN_OTH,9,0.5,0.1111111111111111,0.9990375360923965,0.18181818181818182,0.868677146829216,0.9371715101171706
5
+ BKL,109,0.5294117647058824,0.3302752293577982,0.9659211927582535,0.4067796610169492,0.816484450567166,0.7628882644870468
6
+ DF,10,0.5,0.3,0.9971098265895953,0.375,0.9792870905587668,0.7085479383877343
7
+ INF,10,0.0,0.0,0.9990366088631984,0.0,0.905587668593449,
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.8580305927342256,
9
+ MEL,90,0.6428571428571429,0.5,0.9739039665970772,0.5625,0.9010670378102529,0.8109994945613354
10
+ NV,149,0.7391304347826086,0.7986577181208053,0.9532814238042269,0.7677419354838709,0.9669431359228374,0.9030907505780682
11
+ SCCKA,95,0.5454545454545454,0.5684210526315789,0.9527806925498427,0.5567010309278351,0.92417297177887,0.8698541607309683
12
+ VASC,9,0.6666666666666666,0.6666666666666666,0.9971126082771896,0.6666666666666666,0.9721954871136778,0.8303164933123518
singleenc_pool_meta_clean/per_class_metrics_raw.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class,support,precision,recall_sensitivity,specificity,f1,auc_ovr,mean_correct_confidence
2
+ AKIEC,61,0.48936170212765956,0.3770491803278688,0.9756838905775076,0.42592592592592593,0.9203580978955936,0.7409597277554676
3
+ BCC,504,0.7863247863247863,0.9126984126984127,0.7702205882352942,0.8448117539026629,0.9200513538748833,0.9198276195440297
4
+ BEN_OTH,9,0.5,0.1111111111111111,0.9990375360923965,0.18181818181818182,0.868677146829216,0.9371715101171706
5
+ BKL,109,0.5294117647058824,0.3302752293577982,0.9659211927582535,0.4067796610169492,0.816484450567166,0.7628882644870468
6
+ DF,10,0.5,0.3,0.9971098265895953,0.375,0.9792870905587668,0.7085479383877343
7
+ INF,10,0.0,0.0,0.9990366088631984,0.0,0.905587668593449,
8
+ MAL_OTH,2,0.0,0.0,1.0,0.0,0.8580305927342256,
9
+ MEL,90,0.6428571428571429,0.5,0.9739039665970772,0.5625,0.9010670378102529,0.8109994945613354
10
+ NV,149,0.7391304347826086,0.7986577181208053,0.9532814238042269,0.7677419354838709,0.9669431359228374,0.9030907505780682
11
+ SCCKA,95,0.5454545454545454,0.5684210526315789,0.9527806925498427,0.5567010309278351,0.92417297177887,0.8698541607309683
12
+ VASC,9,0.6666666666666666,0.6666666666666666,0.9971126082771896,0.6666666666666666,0.9721954871136778,0.8303164933123518
singleenc_pool_meta_clean/prediction_summary.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": 1048,
3
+ "predicted_class_counts": {
4
+ "AKIEC": 47,
5
+ "BCC": 585,
6
+ "BEN_OTH": 2,
7
+ "BKL": 68,
8
+ "DF": 6,
9
+ "INF": 1,
10
+ "MAL_OTH": 0,
11
+ "MEL": 70,
12
+ "NV": 161,
13
+ "SCCKA": 99,
14
+ "VASC": 9
15
+ },
16
+ "mean_probability": {
17
+ "AKIEC": 0.05115045979619026,
18
+ "BCC": 0.5248260498046875,
19
+ "BEN_OTH": 0.005794514436274767,
20
+ "BKL": 0.07872165739536285,
21
+ "DF": 0.006938610691577196,
22
+ "INF": 0.004228560253977776,
23
+ "MAL_OTH": 0.0006503938930109143,
24
+ "MEL": 0.07383664697408676,
25
+ "NV": 0.1485549360513687,
26
+ "SCCKA": 0.09708592295646667,
27
+ "VASC": 0.008212227374315262
28
+ },
29
+ "median_probability": {
30
+ "AKIEC": 0.0013856424484401941,
31
+ "BCC": 0.6550960540771484,
32
+ "BEN_OTH": 8.495067595504224e-05,
33
+ "BKL": 0.008468478918075562,
34
+ "DF": 9.902269812300801e-05,
35
+ "INF": 0.00015095563139766455,
36
+ "MAL_OTH": 9.496613347437233e-05,
37
+ "MEL": 0.00034093321301043034,
38
+ "NV": 0.0007135672494769096,
39
+ "SCCKA": 0.0013336549745872617,
40
+ "VASC": 1.745290865073912e-05
41
+ },
42
+ "mean_confidence": 0.8461607694625854,
43
+ "median_confidence": 0.9354076385498047,
44
+ "mean_top1_top2_gap": 0.7422125339508057,
45
+ "median_top1_top2_gap": 0.8876547813415527,
46
+ "mean_entropy": 0.43954163789749146,
47
+ "median_entropy": 0.29613810777664185,
48
+ "low_confidence_threshold": 0.5,
49
+ "low_confidence_rows": 67
50
+ }
singleenc_pool_meta_clean/raw/val_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
singleenc_pool_meta_clean/run_config.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "args": {
3
+ "data_dir": "/marimo/milk10k",
4
+ "dermoscopic_mask_dir": null,
5
+ "min_dermoscopic_mask_ratio": 0.01,
6
+ "clinical_checkpoint": null,
7
+ "dermoscopic_checkpoint": null,
8
+ "resume_checkpoint": null,
9
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_pool_meta_clean",
10
+ "freeze_epochs": 8,
11
+ "finetune_epochs": 40,
12
+ "batch_size": 8,
13
+ "image_size": 260,
14
+ "backbone": "efficientnet_b2",
15
+ "num_workers": 4,
16
+ "head_lr": 0.0001,
17
+ "encoder_lr": 1e-05,
18
+ "metadata_lr": null,
19
+ "metadata_fusion": "concat",
20
+ "image_fusion": "shared_encoder_pool",
21
+ "metadata_gate_hidden_dim": 64,
22
+ "disable_metadata": false,
23
+ "freeze_metadata_head": false,
24
+ "weight_decay": 0.0001,
25
+ "val_size": 0.2,
26
+ "synthetic_train_only": false,
27
+ "augmented_data_dir": null,
28
+ "augmented_max_per_class": 0,
29
+ "augmented_classes": [],
30
+ "zero_augmented_metadata": false,
31
+ "seed": 42,
32
+ "branch_dim": 512,
33
+ "metadata_dim": 64,
34
+ "classifier_hidden_dim": 512,
35
+ "classifier_style": "simple",
36
+ "dropout": 0.3,
37
+ "logit_fusion_mode": "single",
38
+ "fusion_logit_weight": 0.6,
39
+ "clinical_logit_weight": 0.2,
40
+ "dermoscopic_logit_weight": 0.2,
41
+ "class_weight": false,
42
+ "weighted_sampler": false,
43
+ "sampler_power": 1.0,
44
+ "balance_mode": "none",
45
+ "balance_head_ratio": 2.0,
46
+ "balance_tail_floor": 100,
47
+ "balance_min_source_count": 20,
48
+ "loss": "ce",
49
+ "focal_gamma": 2.0,
50
+ "dice_weight": 0.3,
51
+ "f1_weight": 0.3,
52
+ "f1_ignore_classes": [],
53
+ "f1_class_weight": [],
54
+ "ldam_beta": 0.9999,
55
+ "ldam_max_margin": 0.5,
56
+ "ldam_drw_start_epoch": 0,
57
+ "ldam_alpha_max": 10.0,
58
+ "tail_num_classes": 4,
59
+ "k_folds": 1,
60
+ "amp": true,
61
+ "backbone_backend": "auto",
62
+ "imagenet_pretrained": true,
63
+ "selection_metric": "f1_macro",
64
+ "calibrate_bias": false,
65
+ "calibration_metric": "dice_macro",
66
+ "calibration_max_bias": 1.5,
67
+ "calibration_step": 0.25,
68
+ "calibration_passes": 3,
69
+ "patience": 6,
70
+ "tau": 0.0,
71
+ "lws_epochs": 0,
72
+ "lws_lr": 0.01,
73
+ "lws_sampler_power": 0.5,
74
+ "lws_min_scale": 0.75,
75
+ "lws_max_scale": 1.5,
76
+ "ema": false,
77
+ "ema_decay": 0.999,
78
+ "fit_temperature": false
79
+ },
80
+ "environment": {
81
+ "timestamp_utc": "2026-06-23T00:43:20.751842+00:00",
82
+ "cwd": "/marimo",
83
+ "command": [
84
+ "/marimo/code/train_milk10k_effb2_dual_metadata.py",
85
+ "--data-dir",
86
+ "/marimo/milk10k",
87
+ "--backbone",
88
+ "efficientnet_b2",
89
+ "--backbone-backend",
90
+ "auto",
91
+ "--metadata-fusion",
92
+ "concat",
93
+ "--classifier-style",
94
+ "simple",
95
+ "--logit-fusion-mode",
96
+ "single",
97
+ "--loss",
98
+ "ce",
99
+ "--freeze-epochs",
100
+ "8",
101
+ "--finetune-epochs",
102
+ "40",
103
+ "--batch-size",
104
+ "8",
105
+ "--image-size",
106
+ "260",
107
+ "--selection-metric",
108
+ "f1_macro",
109
+ "--patience",
110
+ "6",
111
+ "--num-workers",
112
+ "4",
113
+ "--seed",
114
+ "42",
115
+ "--amp",
116
+ "--output-dir",
117
+ "/marimo/single_encoder_split_runs/singleenc_pool_meta_clean",
118
+ "--image-fusion",
119
+ "shared_encoder_pool"
120
+ ],
121
+ "python": "3.13.11 (main, Feb 3 2026, 03:08:54) [GCC 14.2.0]",
122
+ "platform": "Linux-4.4.0-x86_64-with-glibc2.41",
123
+ "executable": "/tmp/uv-venv/bin/python",
124
+ "torch": {
125
+ "version": "2.12.0+cu130",
126
+ "cuda_available": true,
127
+ "cuda_device_count": 1,
128
+ "cuda_device_name": "NVIDIA RTX PRO 6000 Blackwell Server Edition"
129
+ },
130
+ "git": {
131
+ "available": false
132
+ }
133
+ },
134
+ "class_names": [
135
+ "AKIEC",
136
+ "BCC",
137
+ "BEN_OTH",
138
+ "BKL",
139
+ "DF",
140
+ "INF",
141
+ "MAL_OTH",
142
+ "MEL",
143
+ "NV",
144
+ "SCCKA",
145
+ "VASC"
146
+ ],
147
+ "label_to_idx": {
148
+ "AKIEC": 0,
149
+ "BCC": 1,
150
+ "BEN_OTH": 2,
151
+ "BKL": 3,
152
+ "DF": 4,
153
+ "INF": 5,
154
+ "MAL_OTH": 6,
155
+ "MEL": 7,
156
+ "NV": 8,
157
+ "SCCKA": 9,
158
+ "VASC": 10
159
+ },
160
+ "metadata_spec": {
161
+ "sex_values": [
162
+ "female",
163
+ "male",
164
+ "unknown"
165
+ ],
166
+ "site_values": [
167
+ "foot",
168
+ "genital",
169
+ "hand",
170
+ "head_neck_face",
171
+ "lower_extremity",
172
+ "trunk",
173
+ "unknown",
174
+ "upper_extremity"
175
+ ],
176
+ "monet_columns": [
177
+ "MONET_erythema",
178
+ "MONET_gel_water_drop_fluid_dermoscopy_liquid",
179
+ "MONET_hair",
180
+ "MONET_pigmented",
181
+ "MONET_skin_markings_pen_ink_purple_pen",
182
+ "MONET_ulceration_crust",
183
+ "MONET_vasculature_vessels"
184
+ ]
185
+ },
186
+ "model_type": "DualEffB2MetadataClassifier",
187
+ "train_size": 4192,
188
+ "val_size": 1048,
189
+ "fold": null,
190
+ "metadata_fusion": "concat",
191
+ "image_fusion": "shared_encoder_pool",
192
+ "clinical_backbone": "timm efficientnet_b2",
193
+ "dermoscopic_backbone": "timm efficientnet_b2",
194
+ "paths": {
195
+ "output_dir": "/marimo/single_encoder_split_runs/singleenc_pool_meta_clean",
196
+ "data_dir": "/marimo/milk10k",
197
+ "dermoscopic_mask_dir": "None",
198
+ "clinical_checkpoint": "None",
199
+ "dermoscopic_checkpoint": "None",
200
+ "resume_checkpoint": "None",
201
+ "augmented_data_dir": "None"
202
+ }
203
+ }
singleenc_pool_meta_clean/run_diagnostics.json ADDED
@@ -0,0 +1,822 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fold": null,
3
+ "warnings": [
4
+ {
5
+ "code": "tiny_validation_support",
6
+ "severity": "medium",
7
+ "message": "MAL_OTH validation support is only 2.",
8
+ "class": "MAL_OTH"
9
+ }
10
+ ],
11
+ "prediction_summary": {
12
+ "rows": 1048,
13
+ "predicted_class_counts": {
14
+ "AKIEC": 47,
15
+ "BCC": 585,
16
+ "BEN_OTH": 2,
17
+ "BKL": 68,
18
+ "DF": 6,
19
+ "INF": 1,
20
+ "MAL_OTH": 0,
21
+ "MEL": 70,
22
+ "NV": 161,
23
+ "SCCKA": 99,
24
+ "VASC": 9
25
+ },
26
+ "mean_probability": {
27
+ "AKIEC": 0.05115045979619026,
28
+ "BCC": 0.5248260498046875,
29
+ "BEN_OTH": 0.005794514436274767,
30
+ "BKL": 0.07872165739536285,
31
+ "DF": 0.006938610691577196,
32
+ "INF": 0.004228560253977776,
33
+ "MAL_OTH": 0.0006503938930109143,
34
+ "MEL": 0.07383664697408676,
35
+ "NV": 0.1485549360513687,
36
+ "SCCKA": 0.09708592295646667,
37
+ "VASC": 0.008212227374315262
38
+ },
39
+ "median_probability": {
40
+ "AKIEC": 0.0013856424484401941,
41
+ "BCC": 0.6550960540771484,
42
+ "BEN_OTH": 8.495067595504224e-05,
43
+ "BKL": 0.008468478918075562,
44
+ "DF": 9.902269812300801e-05,
45
+ "INF": 0.00015095563139766455,
46
+ "MAL_OTH": 9.496613347437233e-05,
47
+ "MEL": 0.00034093321301043034,
48
+ "NV": 0.0007135672494769096,
49
+ "SCCKA": 0.0013336549745872617,
50
+ "VASC": 1.745290865073912e-05
51
+ },
52
+ "mean_confidence": 0.8461607694625854,
53
+ "median_confidence": 0.9354076385498047,
54
+ "mean_top1_top2_gap": 0.7422125339508057,
55
+ "median_top1_top2_gap": 0.8876547813415527,
56
+ "mean_entropy": 0.43954163789749146,
57
+ "median_entropy": 0.29613810777664185,
58
+ "low_confidence_threshold": 0.5,
59
+ "low_confidence_rows": 67
60
+ },
61
+ "confusion_analysis": {
62
+ "false_negatives_by_true_class": {
63
+ "AKIEC": [
64
+ {
65
+ "true": "AKIEC",
66
+ "predicted": "BCC",
67
+ "count": 18,
68
+ "rate_of_true": 0.29508196721311475
69
+ },
70
+ {
71
+ "true": "AKIEC",
72
+ "predicted": "SCCKA",
73
+ "count": 11,
74
+ "rate_of_true": 0.18032786885245902
75
+ },
76
+ {
77
+ "true": "AKIEC",
78
+ "predicted": "BKL",
79
+ "count": 9,
80
+ "rate_of_true": 0.14754098360655737
81
+ }
82
+ ],
83
+ "BCC": [
84
+ {
85
+ "true": "BCC",
86
+ "predicted": "SCCKA",
87
+ "count": 20,
88
+ "rate_of_true": 0.03968253968253968
89
+ },
90
+ {
91
+ "true": "BCC",
92
+ "predicted": "AKIEC",
93
+ "count": 11,
94
+ "rate_of_true": 0.021825396825396824
95
+ },
96
+ {
97
+ "true": "BCC",
98
+ "predicted": "BKL",
99
+ "count": 4,
100
+ "rate_of_true": 0.007936507936507936
101
+ },
102
+ {
103
+ "true": "BCC",
104
+ "predicted": "MEL",
105
+ "count": 3,
106
+ "rate_of_true": 0.005952380952380952
107
+ },
108
+ {
109
+ "true": "BCC",
110
+ "predicted": "NV",
111
+ "count": 3,
112
+ "rate_of_true": 0.005952380952380952
113
+ },
114
+ {
115
+ "true": "BCC",
116
+ "predicted": "VASC",
117
+ "count": 2,
118
+ "rate_of_true": 0.003968253968253968
119
+ },
120
+ {
121
+ "true": "BCC",
122
+ "predicted": "DF",
123
+ "count": 1,
124
+ "rate_of_true": 0.001984126984126984
125
+ }
126
+ ],
127
+ "BEN_OTH": [
128
+ {
129
+ "true": "BEN_OTH",
130
+ "predicted": "BCC",
131
+ "count": 3,
132
+ "rate_of_true": 0.3333333333333333
133
+ },
134
+ {
135
+ "true": "BEN_OTH",
136
+ "predicted": "NV",
137
+ "count": 3,
138
+ "rate_of_true": 0.3333333333333333
139
+ },
140
+ {
141
+ "true": "BEN_OTH",
142
+ "predicted": "BKL",
143
+ "count": 1,
144
+ "rate_of_true": 0.1111111111111111
145
+ },
146
+ {
147
+ "true": "BEN_OTH",
148
+ "predicted": "MEL",
149
+ "count": 1,
150
+ "rate_of_true": 0.1111111111111111
151
+ }
152
+ ],
153
+ "BKL": [
154
+ {
155
+ "true": "BKL",
156
+ "predicted": "BCC",
157
+ "count": 43,
158
+ "rate_of_true": 0.3944954128440367
159
+ },
160
+ {
161
+ "true": "BKL",
162
+ "predicted": "SCCKA",
163
+ "count": 11,
164
+ "rate_of_true": 0.10091743119266056
165
+ },
166
+ {
167
+ "true": "BKL",
168
+ "predicted": "MEL",
169
+ "count": 7,
170
+ "rate_of_true": 0.06422018348623854
171
+ },
172
+ {
173
+ "true": "BKL",
174
+ "predicted": "AKIEC",
175
+ "count": 6,
176
+ "rate_of_true": 0.05504587155963303
177
+ },
178
+ {
179
+ "true": "BKL",
180
+ "predicted": "NV",
181
+ "count": 4,
182
+ "rate_of_true": 0.03669724770642202
183
+ },
184
+ {
185
+ "true": "BKL",
186
+ "predicted": "DF",
187
+ "count": 1,
188
+ "rate_of_true": 0.009174311926605505
189
+ },
190
+ {
191
+ "true": "BKL",
192
+ "predicted": "INF",
193
+ "count": 1,
194
+ "rate_of_true": 0.009174311926605505
195
+ }
196
+ ],
197
+ "DF": [
198
+ {
199
+ "true": "DF",
200
+ "predicted": "BCC",
201
+ "count": 4,
202
+ "rate_of_true": 0.4
203
+ },
204
+ {
205
+ "true": "DF",
206
+ "predicted": "MEL",
207
+ "count": 2,
208
+ "rate_of_true": 0.2
209
+ },
210
+ {
211
+ "true": "DF",
212
+ "predicted": "NV",
213
+ "count": 1,
214
+ "rate_of_true": 0.1
215
+ }
216
+ ],
217
+ "INF": [
218
+ {
219
+ "true": "INF",
220
+ "predicted": "BCC",
221
+ "count": 5,
222
+ "rate_of_true": 0.5
223
+ },
224
+ {
225
+ "true": "INF",
226
+ "predicted": "NV",
227
+ "count": 2,
228
+ "rate_of_true": 0.2
229
+ },
230
+ {
231
+ "true": "INF",
232
+ "predicted": "AKIEC",
233
+ "count": 1,
234
+ "rate_of_true": 0.1
235
+ },
236
+ {
237
+ "true": "INF",
238
+ "predicted": "BEN_OTH",
239
+ "count": 1,
240
+ "rate_of_true": 0.1
241
+ },
242
+ {
243
+ "true": "INF",
244
+ "predicted": "VASC",
245
+ "count": 1,
246
+ "rate_of_true": 0.1
247
+ }
248
+ ],
249
+ "MAL_OTH": [
250
+ {
251
+ "true": "MAL_OTH",
252
+ "predicted": "BCC",
253
+ "count": 1,
254
+ "rate_of_true": 0.5
255
+ },
256
+ {
257
+ "true": "MAL_OTH",
258
+ "predicted": "SCCKA",
259
+ "count": 1,
260
+ "rate_of_true": 0.5
261
+ }
262
+ ],
263
+ "MEL": [
264
+ {
265
+ "true": "MEL",
266
+ "predicted": "NV",
267
+ "count": 28,
268
+ "rate_of_true": 0.3111111111111111
269
+ },
270
+ {
271
+ "true": "MEL",
272
+ "predicted": "BCC",
273
+ "count": 10,
274
+ "rate_of_true": 0.1111111111111111
275
+ },
276
+ {
277
+ "true": "MEL",
278
+ "predicted": "BKL",
279
+ "count": 5,
280
+ "rate_of_true": 0.05555555555555555
281
+ },
282
+ {
283
+ "true": "MEL",
284
+ "predicted": "SCCKA",
285
+ "count": 2,
286
+ "rate_of_true": 0.022222222222222223
287
+ }
288
+ ],
289
+ "NV": [
290
+ {
291
+ "true": "NV",
292
+ "predicted": "MEL",
293
+ "count": 12,
294
+ "rate_of_true": 0.08053691275167785
295
+ },
296
+ {
297
+ "true": "NV",
298
+ "predicted": "BCC",
299
+ "count": 9,
300
+ "rate_of_true": 0.06040268456375839
301
+ },
302
+ {
303
+ "true": "NV",
304
+ "predicted": "BKL",
305
+ "count": 8,
306
+ "rate_of_true": 0.053691275167785234
307
+ },
308
+ {
309
+ "true": "NV",
310
+ "predicted": "DF",
311
+ "count": 1,
312
+ "rate_of_true": 0.006711409395973154
313
+ }
314
+ ],
315
+ "SCCKA": [
316
+ {
317
+ "true": "SCCKA",
318
+ "predicted": "BCC",
319
+ "count": 30,
320
+ "rate_of_true": 0.3157894736842105
321
+ },
322
+ {
323
+ "true": "SCCKA",
324
+ "predicted": "AKIEC",
325
+ "count": 6,
326
+ "rate_of_true": 0.06315789473684211
327
+ },
328
+ {
329
+ "true": "SCCKA",
330
+ "predicted": "BKL",
331
+ "count": 5,
332
+ "rate_of_true": 0.05263157894736842
333
+ }
334
+ ],
335
+ "VASC": [
336
+ {
337
+ "true": "VASC",
338
+ "predicted": "BCC",
339
+ "count": 2,
340
+ "rate_of_true": 0.2222222222222222
341
+ },
342
+ {
343
+ "true": "VASC",
344
+ "predicted": "NV",
345
+ "count": 1,
346
+ "rate_of_true": 0.1111111111111111
347
+ }
348
+ ]
349
+ },
350
+ "false_positives_by_predicted_class": {
351
+ "AKIEC": [
352
+ {
353
+ "predicted": "AKIEC",
354
+ "true": "BCC",
355
+ "count": 11,
356
+ "rate_of_predicted": 0.23404255319148937
357
+ },
358
+ {
359
+ "predicted": "AKIEC",
360
+ "true": "BKL",
361
+ "count": 6,
362
+ "rate_of_predicted": 0.1276595744680851
363
+ },
364
+ {
365
+ "predicted": "AKIEC",
366
+ "true": "SCCKA",
367
+ "count": 6,
368
+ "rate_of_predicted": 0.1276595744680851
369
+ },
370
+ {
371
+ "predicted": "AKIEC",
372
+ "true": "INF",
373
+ "count": 1,
374
+ "rate_of_predicted": 0.02127659574468085
375
+ }
376
+ ],
377
+ "BCC": [
378
+ {
379
+ "predicted": "BCC",
380
+ "true": "BKL",
381
+ "count": 43,
382
+ "rate_of_predicted": 0.0735042735042735
383
+ },
384
+ {
385
+ "predicted": "BCC",
386
+ "true": "SCCKA",
387
+ "count": 30,
388
+ "rate_of_predicted": 0.05128205128205128
389
+ },
390
+ {
391
+ "predicted": "BCC",
392
+ "true": "AKIEC",
393
+ "count": 18,
394
+ "rate_of_predicted": 0.03076923076923077
395
+ },
396
+ {
397
+ "predicted": "BCC",
398
+ "true": "MEL",
399
+ "count": 10,
400
+ "rate_of_predicted": 0.017094017094017096
401
+ },
402
+ {
403
+ "predicted": "BCC",
404
+ "true": "NV",
405
+ "count": 9,
406
+ "rate_of_predicted": 0.015384615384615385
407
+ },
408
+ {
409
+ "predicted": "BCC",
410
+ "true": "INF",
411
+ "count": 5,
412
+ "rate_of_predicted": 0.008547008547008548
413
+ },
414
+ {
415
+ "predicted": "BCC",
416
+ "true": "DF",
417
+ "count": 4,
418
+ "rate_of_predicted": 0.006837606837606838
419
+ },
420
+ {
421
+ "predicted": "BCC",
422
+ "true": "BEN_OTH",
423
+ "count": 3,
424
+ "rate_of_predicted": 0.005128205128205128
425
+ },
426
+ {
427
+ "predicted": "BCC",
428
+ "true": "VASC",
429
+ "count": 2,
430
+ "rate_of_predicted": 0.003418803418803419
431
+ },
432
+ {
433
+ "predicted": "BCC",
434
+ "true": "MAL_OTH",
435
+ "count": 1,
436
+ "rate_of_predicted": 0.0017094017094017094
437
+ }
438
+ ],
439
+ "BEN_OTH": [
440
+ {
441
+ "predicted": "BEN_OTH",
442
+ "true": "INF",
443
+ "count": 1,
444
+ "rate_of_predicted": 0.5
445
+ }
446
+ ],
447
+ "BKL": [
448
+ {
449
+ "predicted": "BKL",
450
+ "true": "AKIEC",
451
+ "count": 9,
452
+ "rate_of_predicted": 0.1323529411764706
453
+ },
454
+ {
455
+ "predicted": "BKL",
456
+ "true": "NV",
457
+ "count": 8,
458
+ "rate_of_predicted": 0.11764705882352941
459
+ },
460
+ {
461
+ "predicted": "BKL",
462
+ "true": "MEL",
463
+ "count": 5,
464
+ "rate_of_predicted": 0.07352941176470588
465
+ },
466
+ {
467
+ "predicted": "BKL",
468
+ "true": "SCCKA",
469
+ "count": 5,
470
+ "rate_of_predicted": 0.07352941176470588
471
+ },
472
+ {
473
+ "predicted": "BKL",
474
+ "true": "BCC",
475
+ "count": 4,
476
+ "rate_of_predicted": 0.058823529411764705
477
+ },
478
+ {
479
+ "predicted": "BKL",
480
+ "true": "BEN_OTH",
481
+ "count": 1,
482
+ "rate_of_predicted": 0.014705882352941176
483
+ }
484
+ ],
485
+ "DF": [
486
+ {
487
+ "predicted": "DF",
488
+ "true": "BCC",
489
+ "count": 1,
490
+ "rate_of_predicted": 0.16666666666666666
491
+ },
492
+ {
493
+ "predicted": "DF",
494
+ "true": "BKL",
495
+ "count": 1,
496
+ "rate_of_predicted": 0.16666666666666666
497
+ },
498
+ {
499
+ "predicted": "DF",
500
+ "true": "NV",
501
+ "count": 1,
502
+ "rate_of_predicted": 0.16666666666666666
503
+ }
504
+ ],
505
+ "INF": [
506
+ {
507
+ "predicted": "INF",
508
+ "true": "BKL",
509
+ "count": 1,
510
+ "rate_of_predicted": 1.0
511
+ }
512
+ ],
513
+ "MAL_OTH": [],
514
+ "MEL": [
515
+ {
516
+ "predicted": "MEL",
517
+ "true": "NV",
518
+ "count": 12,
519
+ "rate_of_predicted": 0.17142857142857143
520
+ },
521
+ {
522
+ "predicted": "MEL",
523
+ "true": "BKL",
524
+ "count": 7,
525
+ "rate_of_predicted": 0.1
526
+ },
527
+ {
528
+ "predicted": "MEL",
529
+ "true": "BCC",
530
+ "count": 3,
531
+ "rate_of_predicted": 0.04285714285714286
532
+ },
533
+ {
534
+ "predicted": "MEL",
535
+ "true": "DF",
536
+ "count": 2,
537
+ "rate_of_predicted": 0.02857142857142857
538
+ },
539
+ {
540
+ "predicted": "MEL",
541
+ "true": "BEN_OTH",
542
+ "count": 1,
543
+ "rate_of_predicted": 0.014285714285714285
544
+ }
545
+ ],
546
+ "NV": [
547
+ {
548
+ "predicted": "NV",
549
+ "true": "MEL",
550
+ "count": 28,
551
+ "rate_of_predicted": 0.17391304347826086
552
+ },
553
+ {
554
+ "predicted": "NV",
555
+ "true": "BKL",
556
+ "count": 4,
557
+ "rate_of_predicted": 0.024844720496894408
558
+ },
559
+ {
560
+ "predicted": "NV",
561
+ "true": "BCC",
562
+ "count": 3,
563
+ "rate_of_predicted": 0.018633540372670808
564
+ },
565
+ {
566
+ "predicted": "NV",
567
+ "true": "BEN_OTH",
568
+ "count": 3,
569
+ "rate_of_predicted": 0.018633540372670808
570
+ },
571
+ {
572
+ "predicted": "NV",
573
+ "true": "INF",
574
+ "count": 2,
575
+ "rate_of_predicted": 0.012422360248447204
576
+ },
577
+ {
578
+ "predicted": "NV",
579
+ "true": "DF",
580
+ "count": 1,
581
+ "rate_of_predicted": 0.006211180124223602
582
+ },
583
+ {
584
+ "predicted": "NV",
585
+ "true": "VASC",
586
+ "count": 1,
587
+ "rate_of_predicted": 0.006211180124223602
588
+ }
589
+ ],
590
+ "SCCKA": [
591
+ {
592
+ "predicted": "SCCKA",
593
+ "true": "BCC",
594
+ "count": 20,
595
+ "rate_of_predicted": 0.20202020202020202
596
+ },
597
+ {
598
+ "predicted": "SCCKA",
599
+ "true": "AKIEC",
600
+ "count": 11,
601
+ "rate_of_predicted": 0.1111111111111111
602
+ },
603
+ {
604
+ "predicted": "SCCKA",
605
+ "true": "BKL",
606
+ "count": 11,
607
+ "rate_of_predicted": 0.1111111111111111
608
+ },
609
+ {
610
+ "predicted": "SCCKA",
611
+ "true": "MEL",
612
+ "count": 2,
613
+ "rate_of_predicted": 0.020202020202020204
614
+ },
615
+ {
616
+ "predicted": "SCCKA",
617
+ "true": "MAL_OTH",
618
+ "count": 1,
619
+ "rate_of_predicted": 0.010101010101010102
620
+ }
621
+ ],
622
+ "VASC": [
623
+ {
624
+ "predicted": "VASC",
625
+ "true": "BCC",
626
+ "count": 2,
627
+ "rate_of_predicted": 0.2222222222222222
628
+ },
629
+ {
630
+ "predicted": "VASC",
631
+ "true": "INF",
632
+ "count": 1,
633
+ "rate_of_predicted": 0.1111111111111111
634
+ }
635
+ ]
636
+ },
637
+ "top_confusion_pairs": [
638
+ {
639
+ "true": "BKL",
640
+ "predicted": "BCC",
641
+ "count": 43,
642
+ "rate_of_true": 0.3944954128440367
643
+ },
644
+ {
645
+ "true": "SCCKA",
646
+ "predicted": "BCC",
647
+ "count": 30,
648
+ "rate_of_true": 0.3157894736842105
649
+ },
650
+ {
651
+ "true": "MEL",
652
+ "predicted": "NV",
653
+ "count": 28,
654
+ "rate_of_true": 0.3111111111111111
655
+ },
656
+ {
657
+ "true": "BCC",
658
+ "predicted": "SCCKA",
659
+ "count": 20,
660
+ "rate_of_true": 0.03968253968253968
661
+ },
662
+ {
663
+ "true": "AKIEC",
664
+ "predicted": "BCC",
665
+ "count": 18,
666
+ "rate_of_true": 0.29508196721311475
667
+ },
668
+ {
669
+ "true": "NV",
670
+ "predicted": "MEL",
671
+ "count": 12,
672
+ "rate_of_true": 0.08053691275167785
673
+ },
674
+ {
675
+ "true": "AKIEC",
676
+ "predicted": "SCCKA",
677
+ "count": 11,
678
+ "rate_of_true": 0.18032786885245902
679
+ },
680
+ {
681
+ "true": "BCC",
682
+ "predicted": "AKIEC",
683
+ "count": 11,
684
+ "rate_of_true": 0.021825396825396824
685
+ },
686
+ {
687
+ "true": "BKL",
688
+ "predicted": "SCCKA",
689
+ "count": 11,
690
+ "rate_of_true": 0.10091743119266056
691
+ },
692
+ {
693
+ "true": "MEL",
694
+ "predicted": "BCC",
695
+ "count": 10,
696
+ "rate_of_true": 0.1111111111111111
697
+ },
698
+ {
699
+ "true": "AKIEC",
700
+ "predicted": "BKL",
701
+ "count": 9,
702
+ "rate_of_true": 0.14754098360655737
703
+ },
704
+ {
705
+ "true": "NV",
706
+ "predicted": "BCC",
707
+ "count": 9,
708
+ "rate_of_true": 0.06040268456375839
709
+ },
710
+ {
711
+ "true": "NV",
712
+ "predicted": "BKL",
713
+ "count": 8,
714
+ "rate_of_true": 0.053691275167785234
715
+ },
716
+ {
717
+ "true": "BKL",
718
+ "predicted": "MEL",
719
+ "count": 7,
720
+ "rate_of_true": 0.06422018348623854
721
+ },
722
+ {
723
+ "true": "BKL",
724
+ "predicted": "AKIEC",
725
+ "count": 6,
726
+ "rate_of_true": 0.05504587155963303
727
+ },
728
+ {
729
+ "true": "SCCKA",
730
+ "predicted": "AKIEC",
731
+ "count": 6,
732
+ "rate_of_true": 0.06315789473684211
733
+ },
734
+ {
735
+ "true": "INF",
736
+ "predicted": "BCC",
737
+ "count": 5,
738
+ "rate_of_true": 0.5
739
+ },
740
+ {
741
+ "true": "MEL",
742
+ "predicted": "BKL",
743
+ "count": 5,
744
+ "rate_of_true": 0.05555555555555555
745
+ },
746
+ {
747
+ "true": "SCCKA",
748
+ "predicted": "BKL",
749
+ "count": 5,
750
+ "rate_of_true": 0.05263157894736842
751
+ },
752
+ {
753
+ "true": "BCC",
754
+ "predicted": "BKL",
755
+ "count": 4,
756
+ "rate_of_true": 0.007936507936507936
757
+ }
758
+ ],
759
+ "watched_confusion_patterns": [
760
+ {
761
+ "true": "BCC",
762
+ "predicted": "SCCKA",
763
+ "count": 20,
764
+ "rate_of_true": 0.03968253968253968
765
+ },
766
+ {
767
+ "true": "AKIEC",
768
+ "predicted": "SCCKA",
769
+ "count": 11,
770
+ "rate_of_true": 0.18032786885245902
771
+ },
772
+ {
773
+ "true": "BCC",
774
+ "predicted": "AKIEC",
775
+ "count": 11,
776
+ "rate_of_true": 0.021825396825396824
777
+ },
778
+ {
779
+ "true": "BKL",
780
+ "predicted": "SCCKA",
781
+ "count": 11,
782
+ "rate_of_true": 0.10091743119266056
783
+ },
784
+ {
785
+ "true": "SCCKA",
786
+ "predicted": "AKIEC",
787
+ "count": 6,
788
+ "rate_of_true": 0.06315789473684211
789
+ },
790
+ {
791
+ "true": "INF",
792
+ "predicted": "BCC",
793
+ "count": 5,
794
+ "rate_of_true": 0.5
795
+ },
796
+ {
797
+ "true": "SCCKA",
798
+ "predicted": "BKL",
799
+ "count": 5,
800
+ "rate_of_true": 0.05263157894736842
801
+ },
802
+ {
803
+ "true": "BCC",
804
+ "predicted": "BKL",
805
+ "count": 4,
806
+ "rate_of_true": 0.007936507936507936
807
+ },
808
+ {
809
+ "true": "INF",
810
+ "predicted": "NV",
811
+ "count": 2,
812
+ "rate_of_true": 0.2
813
+ },
814
+ {
815
+ "true": "INF",
816
+ "predicted": "BEN_OTH",
817
+ "count": 1,
818
+ "rate_of_true": 0.1
819
+ }
820
+ ]
821
+ }
822
+ }
singleenc_pool_meta_clean/run_report.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # MILK10k Run Report
2
+
3
+ ## Config Summary
4
+
5
+ - fold: None
6
+ - output_dir: /marimo/single_encoder_split_runs/singleenc_pool_meta_clean
7
+ - backbone: efficientnet_b2
8
+ - metadata_fusion: concat
9
+ - image_fusion: shared_encoder_pool
10
+ - loss: ce
11
+ - class_weight: False
12
+ - weighted_sampler: False
13
+ - balance_mode: none
14
+ - balance_head_ratio: 2.0
15
+ - balance_tail_floor: 100
16
+ - balance_min_source_count: 20
17
+ - augmented_data_dir: None
18
+ - dermoscopic_mask_dir: None
19
+ - min_dermoscopic_mask_ratio: 0.01
20
+ - augmented_classes: []
21
+ - augmented_max_per_class: 0
22
+ - freeze_metadata_head: False
23
+ - zero_augmented_metadata: False
24
+
25
+ ## Final Metrics
26
+
27
+ - accuracy: 0.7127862595419847
28
+ - balanced_accuracy: 0.41498903371947654
29
+ - dice_macro: 0.4352677414310993
30
+ - f1_macro: 0.4352677414310993
31
+ - roc_auc_macro_ovr: 0.9120777303344489
32
+ - top2_accuracy: 0.8721374045801527
33
+ - top3_accuracy: 0.9360687022900763
34
+
35
+ ## Data Distribution
36
+
37
+ ### Train
38
+
39
+ - rows: 4192
40
+ - real_rows: 4192
41
+ - synthetic_rows: 0
42
+ - ignore_metadata_rows: 0
43
+
44
+ | class | count | synthetic |
45
+ |---|---:|---:|
46
+ | AKIEC | 242 | 0 |
47
+ | BCC | 2018 | 0 |
48
+ | BEN_OTH | 35 | 0 |
49
+ | BKL | 435 | 0 |
50
+ | DF | 42 | 0 |
51
+ | INF | 40 | 0 |
52
+ | MAL_OTH | 7 | 0 |
53
+ | MEL | 360 | 0 |
54
+ | NV | 597 | 0 |
55
+ | SCCKA | 378 | 0 |
56
+ | VASC | 38 | 0 |
57
+
58
+ ### Validation
59
+
60
+ - rows: 1048
61
+ - real_rows: 1048
62
+ - synthetic_rows: 0
63
+ - ignore_metadata_rows: 0
64
+
65
+ | class | count | synthetic |
66
+ |---|---:|---:|
67
+ | AKIEC | 61 | 0 |
68
+ | BCC | 504 | 0 |
69
+ | BEN_OTH | 9 | 0 |
70
+ | BKL | 109 | 0 |
71
+ | DF | 10 | 0 |
72
+ | INF | 10 | 0 |
73
+ | MAL_OTH | 2 | 0 |
74
+ | MEL | 90 | 0 |
75
+ | NV | 149 | 0 |
76
+ | SCCKA | 95 | 0 |
77
+ | VASC | 9 | 0 |
78
+
79
+ ## Per-Class Metrics
80
+
81
+ | class | support | precision | recall_sensitivity | specificity | f1 | auc_ovr | mean_correct_confidence |
82
+ | --- | --- | --- | --- | --- | --- | --- | --- |
83
+ | AKIEC | 61 | 0.489362 | 0.377049 | 0.975684 | 0.425926 | 0.920358 | 0.74096 |
84
+ | BCC | 504 | 0.786325 | 0.912698 | 0.770221 | 0.844812 | 0.920051 | 0.919828 |
85
+ | BEN_OTH | 9 | 0.5 | 0.111111 | 0.999038 | 0.181818 | 0.868677 | 0.937172 |
86
+ | BKL | 109 | 0.529412 | 0.330275 | 0.965921 | 0.40678 | 0.816484 | 0.762888 |
87
+ | DF | 10 | 0.5 | 0.3 | 0.99711 | 0.375 | 0.979287 | 0.708548 |
88
+ | INF | 10 | 0 | 0 | 0.999037 | 0 | 0.905588 | |
89
+ | MAL_OTH | 2 | 0 | 0 | 1 | 0 | 0.858031 | |
90
+ | MEL | 90 | 0.642857 | 0.5 | 0.973904 | 0.5625 | 0.901067 | 0.810999 |
91
+ | NV | 149 | 0.73913 | 0.798658 | 0.953281 | 0.767742 | 0.966943 | 0.903091 |
92
+ | SCCKA | 95 | 0.545455 | 0.568421 | 0.952781 | 0.556701 | 0.924173 | 0.869854 |
93
+ | VASC | 9 | 0.666667 | 0.666667 | 0.997113 | 0.666667 | 0.972195 | 0.830316 |
94
+
95
+ ## Weak Classes
96
+
97
+ | class | support | precision | recall_sensitivity | specificity | f1 | auc_ovr | mean_correct_confidence |
98
+ | --- | --- | --- | --- | --- | --- | --- | --- |
99
+ | MAL_OTH | 2 | 0 | 0 | 1 | 0 | 0.858031 | |
100
+ | INF | 10 | 0 | 0 | 0.999037 | 0 | 0.905588 | |
101
+ | BEN_OTH | 9 | 0.5 | 0.111111 | 0.999038 | 0.181818 | 0.868677 | 0.937172 |
102
+ | DF | 10 | 0.5 | 0.3 | 0.99711 | 0.375 | 0.979287 | 0.708548 |
103
+ | BKL | 109 | 0.529412 | 0.330275 | 0.965921 | 0.40678 | 0.816484 | 0.762888 |
104
+
105
+ ## Prediction Distribution
106
+
107
+ | class | pred_count | mean_prob |
108
+ |---|---:|---:|
109
+ | AKIEC | 47 | 0.0512 |
110
+ | BCC | 585 | 0.5248 |
111
+ | BEN_OTH | 2 | 0.0058 |
112
+ | BKL | 68 | 0.0787 |
113
+ | DF | 6 | 0.0069 |
114
+ | INF | 1 | 0.0042 |
115
+ | MAL_OTH | 0 | 0.0007 |
116
+ | MEL | 70 | 0.0738 |
117
+ | NV | 161 | 0.1486 |
118
+ | SCCKA | 99 | 0.0971 |
119
+ | VASC | 9 | 0.0082 |
120
+
121
+ - mean_confidence: 0.8461607694625854
122
+ - median_confidence: 0.9354076385498047
123
+ - mean_top1_top2_gap: 0.7422125339508057
124
+ - mean_entropy: 0.43954163789749146
125
+ - low_confidence_rows: 67
126
+
127
+ ## Top Confusion Pairs
128
+
129
+ | true | predicted | count | rate_of_true |
130
+ |---|---|---:|---:|
131
+ | BKL | BCC | 43 | 0.394 |
132
+ | SCCKA | BCC | 30 | 0.316 |
133
+ | MEL | NV | 28 | 0.311 |
134
+ | BCC | SCCKA | 20 | 0.040 |
135
+ | AKIEC | BCC | 18 | 0.295 |
136
+ | NV | MEL | 12 | 0.081 |
137
+ | AKIEC | SCCKA | 11 | 0.180 |
138
+ | BCC | AKIEC | 11 | 0.022 |
139
+ | BKL | SCCKA | 11 | 0.101 |
140
+ | MEL | BCC | 10 | 0.111 |
141
+ | AKIEC | BKL | 9 | 0.148 |
142
+ | NV | BCC | 9 | 0.060 |
143
+
144
+ ## Watched Confusion Patterns
145
+
146
+ | true | predicted | count | rate_of_true |
147
+ |---|---|---:|---:|
148
+ | BCC | SCCKA | 20 | 0.040 |
149
+ | AKIEC | SCCKA | 11 | 0.180 |
150
+ | BCC | AKIEC | 11 | 0.022 |
151
+ | BKL | SCCKA | 11 | 0.101 |
152
+ | SCCKA | AKIEC | 6 | 0.063 |
153
+ | INF | BCC | 5 | 0.500 |
154
+ | SCCKA | BKL | 5 | 0.053 |
155
+ | BCC | BKL | 4 | 0.008 |
156
+ | INF | NV | 2 | 0.200 |
157
+ | INF | BEN_OTH | 1 | 0.100 |
158
+
159
+ ## Warnings
160
+
161
+ - [medium] tiny_validation_support: MAL_OTH validation support is only 2.
singleenc_pool_meta_clean/split_summary.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Split Summary
2
+
3
+ ## Full
4
+
5
+ - rows: 5240
6
+ - real_rows: 5240
7
+ - synthetic_rows: 0
8
+ - ignore_metadata_rows: 0
9
+
10
+ | class | count | synthetic |
11
+ |---|---:|---:|
12
+ | AKIEC | 303 | 0 |
13
+ | BCC | 2522 | 0 |
14
+ | BEN_OTH | 44 | 0 |
15
+ | BKL | 544 | 0 |
16
+ | DF | 52 | 0 |
17
+ | INF | 50 | 0 |
18
+ | MAL_OTH | 9 | 0 |
19
+ | MEL | 450 | 0 |
20
+ | NV | 746 | 0 |
21
+ | SCCKA | 473 | 0 |
22
+ | VASC | 47 | 0 |
23
+
24
+ ## Train
25
+
26
+ - rows: 4192
27
+ - real_rows: 4192
28
+ - synthetic_rows: 0
29
+ - ignore_metadata_rows: 0
30
+
31
+ | class | count | synthetic |
32
+ |---|---:|---:|
33
+ | AKIEC | 242 | 0 |
34
+ | BCC | 2018 | 0 |
35
+ | BEN_OTH | 35 | 0 |
36
+ | BKL | 435 | 0 |
37
+ | DF | 42 | 0 |
38
+ | INF | 40 | 0 |
39
+ | MAL_OTH | 7 | 0 |
40
+ | MEL | 360 | 0 |
41
+ | NV | 597 | 0 |
42
+ | SCCKA | 378 | 0 |
43
+ | VASC | 38 | 0 |
44
+
45
+ ## Val
46
+
47
+ - rows: 1048
48
+ - real_rows: 1048
49
+ - synthetic_rows: 0
50
+ - ignore_metadata_rows: 0
51
+
52
+ | class | count | synthetic |
53
+ |---|---:|---:|
54
+ | AKIEC | 61 | 0 |
55
+ | BCC | 504 | 0 |
56
+ | BEN_OTH | 9 | 0 |
57
+ | BKL | 109 | 0 |
58
+ | DF | 10 | 0 |
59
+ | INF | 10 | 0 |
60
+ | MAL_OTH | 2 | 0 |
61
+ | MEL | 90 | 0 |
62
+ | NV | 149 | 0 |
63
+ | SCCKA | 95 | 0 |
64
+ | VASC | 9 | 0 |
65
+
66
+ - synthetic_train_only: False
singleenc_pool_meta_clean/val_predictions.csv ADDED
The diff for this file is too large to render. See raw diff