rarfileexe commited on
Commit
6954142
·
verified ·
1 Parent(s): e369038

Upload 13 files

Browse files
.gitattributes CHANGED
@@ -34,3 +34,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  confusion_matrix_v6.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  confusion_matrix_v6.png filter=lfs diff=lfs merge=lfs -text
37
+ gradcam_output/Background_gradcam.png filter=lfs diff=lfs merge=lfs -text
38
+ gradcam_output/Cancer-Associated[[:space:]]Stroma_gradcam.png filter=lfs diff=lfs merge=lfs -text
39
+ gradcam_output/Colorectal[[:space:]]Adenocarcinoma[[:space:]](Tumour)_gradcam.png filter=lfs diff=lfs merge=lfs -text
40
+ gradcam_output/Colorectal[[:space:]]Adenocarcinoma[[:space:]](Tumour)2_gradcam.png filter=lfs diff=lfs merge=lfs -text
41
+ gradcam_output/Debris[[:space:]][[:space:]]Necrosis_gradcam.png filter=lfs diff=lfs merge=lfs -text
42
+ gradcam_output/Lymphocytes_gradcam.png filter=lfs diff=lfs merge=lfs -text
43
+ gradcam_output/Mucus_gradcam.png filter=lfs diff=lfs merge=lfs -text
44
+ gradcam_output/Normal[[:space:]]Colon[[:space:]]Mucosa_gradcam.png filter=lfs diff=lfs merge=lfs -text
45
+ gradcam_output/Smooth[[:space:]]Muscle_gradcam.png filter=lfs diff=lfs merge=lfs -text
46
+ gradcam_output/T1_gradcam.png filter=lfs diff=lfs merge=lfs -text
gradcam_output/Background_gradcam.png ADDED

Git LFS Details

  • SHA256: 578a334b0ec2d4079e189782b5673acbc0d4bbfcf82263370ceefc8176b97f56
  • Pointer size: 131 Bytes
  • Size of remote file: 485 kB
gradcam_output/Cancer-Associated Stroma_gradcam.png ADDED

Git LFS Details

  • SHA256: c3b882812aaff683b46cb1d4a022441bc6e51e17e7cc8e21f5e9e5d07230fc47
  • Pointer size: 132 Bytes
  • Size of remote file: 1.02 MB
gradcam_output/Cancer-Associated Stroma_prediction.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "predicted_index": 7,
3
+ "predicted_class": "STR",
4
+ "predicted_description": "Cancer-Associated Stroma",
5
+ "calibrated_confidence": 0.8029147386550903,
6
+ "raw_confidence": 0.5373857617378235,
7
+ "temperature_used": 0.5655267561804929,
8
+ "logits": [
9
+ 0.011605687439441681,
10
+ 0.43578317761421204,
11
+ 0.8570739030838013,
12
+ 0.39835411310195923,
13
+ 0.37472259998321533,
14
+ 2.3308629989624023,
15
+ 1.3474087715148926,
16
+ 3.3206543922424316,
17
+ 0.6070307493209839
18
+ ],
19
+ "raw_probabilities": {
20
+ "ADI": 0.019641950726509094,
21
+ "BACK": 0.030019432306289673,
22
+ "DEB": 0.04574742913246155,
23
+ "LYM": 0.028916599228978157,
24
+ "MUC": 0.028241267427802086,
25
+ "MUS": 0.19972167909145355,
26
+ "NORM": 0.0746992900967598,
27
+ "STR": 0.5373857617378235,
28
+ "TUM": 0.0356266051530838
29
+ },
30
+ "calibrated_probabilities": {
31
+ "ADI": 0.002309383824467659,
32
+ "BACK": 0.004889245145022869,
33
+ "DEB": 0.010298420675098896,
34
+ "LYM": 0.004576129373162985,
35
+ "MUC": 0.004388847853988409,
36
+ "MUS": 0.1394961178302765,
37
+ "NORM": 0.024508781731128693,
38
+ "STR": 0.8029147386550903,
39
+ "TUM": 0.006618366576731205
40
+ },
41
+ "top_k_ranking": [
42
+ {
43
+ "rank": 1,
44
+ "class_index": 7,
45
+ "class_name": "STR",
46
+ "description": "Cancer-Associated Stroma",
47
+ "calibrated_confidence": 0.8029147386550903,
48
+ "raw_confidence": 0.5373857617378235,
49
+ "logit": 3.3206543922424316
50
+ },
51
+ {
52
+ "rank": 2,
53
+ "class_index": 5,
54
+ "class_name": "MUS",
55
+ "description": "Smooth Muscle",
56
+ "calibrated_confidence": 0.1394961178302765,
57
+ "raw_confidence": 0.19972167909145355,
58
+ "logit": 2.3308629989624023
59
+ },
60
+ {
61
+ "rank": 3,
62
+ "class_index": 6,
63
+ "class_name": "NORM",
64
+ "description": "Normal Colon Mucosa",
65
+ "calibrated_confidence": 0.024508781731128693,
66
+ "raw_confidence": 0.0746992900967598,
67
+ "logit": 1.3474087715148926
68
+ },
69
+ {
70
+ "rank": 4,
71
+ "class_index": 2,
72
+ "class_name": "DEB",
73
+ "description": "Debris & Necrosis",
74
+ "calibrated_confidence": 0.010298420675098896,
75
+ "raw_confidence": 0.04574742913246155,
76
+ "logit": 0.8570739030838013
77
+ },
78
+ {
79
+ "rank": 5,
80
+ "class_index": 8,
81
+ "class_name": "TUM",
82
+ "description": "Colorectal Adenocarcinoma (Tumour)",
83
+ "calibrated_confidence": 0.006618366576731205,
84
+ "raw_confidence": 0.0356266051530838,
85
+ "logit": 0.6070307493209839
86
+ }
87
+ ],
88
+ "gradcam_info": {
89
+ "target_class": "STR",
90
+ "target_description": "Cancer-Associated Stroma",
91
+ "target_confidence": 0.8029147386550903,
92
+ "method": "gradcam++",
93
+ "used_fallback": false,
94
+ "saved_figure_path": "gradcam_output\\Cancer-Associated Stroma_gradcam.png"
95
+ }
96
+ }
gradcam_output/Colorectal Adenocarcinoma (Tumour)2_gradcam.png ADDED

Git LFS Details

  • SHA256: 5592cf99d7e2aa6b5bde335b5cb45dec7d36ab5b1acff6f54cdf1f0881895357
  • Pointer size: 132 Bytes
  • Size of remote file: 1.15 MB
gradcam_output/Colorectal Adenocarcinoma (Tumour)_gradcam.png ADDED

Git LFS Details

  • SHA256: 77ccaa1df282d5e465f31a9c06d90e05b7f684d93bf51e3b5bfc03a987b8e5bb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.23 MB
gradcam_output/Colorectal Adenocarcinoma (Tumour)_prediction.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "predicted_index": 8,
3
+ "predicted_class": "TUM",
4
+ "predicted_description": "Colorectal Adenocarcinoma (Tumour)",
5
+ "calibrated_confidence": 0.9551790952682495,
6
+ "raw_confidence": 0.7091128826141357,
7
+ "temperature_used": 0.5655267561804929,
8
+ "logits": [
9
+ 0.2661953568458557,
10
+ 0.6409404873847961,
11
+ 1.2620855569839478,
12
+ 0.36237528920173645,
13
+ 0.3768271207809448,
14
+ -0.14133943617343903,
15
+ 0.3916957378387451,
16
+ 0.696540892124176,
17
+ 3.5290579795837402
18
+ ],
19
+ "raw_probabilities": {
20
+ "ADI": 0.027143891900777817,
21
+ "BACK": 0.039484065026044846,
22
+ "DEB": 0.07348212599754333,
23
+ "LYM": 0.02988426201045513,
24
+ "MUC": 0.03031928651034832,
25
+ "MUS": 0.01805851422250271,
26
+ "NORM": 0.030773455277085304,
27
+ "STR": 0.04174157232046127,
28
+ "TUM": 0.7091128826141357
29
+ },
30
+ "calibrated_probabilities": {
31
+ "ADI": 0.00298112235032022,
32
+ "BACK": 0.005783147644251585,
33
+ "DEB": 0.017344851046800613,
34
+ "LYM": 0.003533791983500123,
35
+ "MUC": 0.0036252604331821203,
36
+ "MUS": 0.001450156676582992,
37
+ "NORM": 0.0037218392826616764,
38
+ "STR": 0.0063806138932704926,
39
+ "TUM": 0.9551790952682495
40
+ },
41
+ "top_k_ranking": [
42
+ {
43
+ "rank": 1,
44
+ "class_index": 8,
45
+ "class_name": "TUM",
46
+ "description": "Colorectal Adenocarcinoma (Tumour)",
47
+ "calibrated_confidence": 0.9551790952682495,
48
+ "raw_confidence": 0.7091128826141357,
49
+ "logit": 3.5290579795837402
50
+ },
51
+ {
52
+ "rank": 2,
53
+ "class_index": 2,
54
+ "class_name": "DEB",
55
+ "description": "Debris & Necrosis",
56
+ "calibrated_confidence": 0.017344851046800613,
57
+ "raw_confidence": 0.07348212599754333,
58
+ "logit": 1.2620855569839478
59
+ },
60
+ {
61
+ "rank": 3,
62
+ "class_index": 7,
63
+ "class_name": "STR",
64
+ "description": "Cancer-Associated Stroma",
65
+ "calibrated_confidence": 0.0063806138932704926,
66
+ "raw_confidence": 0.04174157232046127,
67
+ "logit": 0.696540892124176
68
+ },
69
+ {
70
+ "rank": 4,
71
+ "class_index": 1,
72
+ "class_name": "BACK",
73
+ "description": "Background (Glass / Non-tissue)",
74
+ "calibrated_confidence": 0.005783147644251585,
75
+ "raw_confidence": 0.039484065026044846,
76
+ "logit": 0.6409404873847961
77
+ },
78
+ {
79
+ "rank": 5,
80
+ "class_index": 6,
81
+ "class_name": "NORM",
82
+ "description": "Normal Colon Mucosa",
83
+ "calibrated_confidence": 0.0037218392826616764,
84
+ "raw_confidence": 0.030773455277085304,
85
+ "logit": 0.3916957378387451
86
+ }
87
+ ],
88
+ "gradcam_info": {
89
+ "target_class": "TUM",
90
+ "target_description": "Colorectal Adenocarcinoma (Tumour)",
91
+ "target_confidence": 0.9551790952682495,
92
+ "method": "gradcam++",
93
+ "used_fallback": false,
94
+ "saved_figure_path": "gradcam_output\\Colorectal Adenocarcinoma (Tumour)_gradcam.png"
95
+ }
96
+ }
gradcam_output/Debris Necrosis_gradcam.png ADDED

Git LFS Details

  • SHA256: 626495c5e092a7abc5f19a58d18f4e0f53420bce3951a1f5ed7327dcfa77d9a0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
gradcam_output/Lymphocytes_gradcam.png ADDED

Git LFS Details

  • SHA256: e96d517e6dad70707116d1782a7ded6b1c950d86a02dbde04008f5d8f0761c1a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.1 MB
gradcam_output/Mucus_gradcam.png ADDED

Git LFS Details

  • SHA256: f21b5d3904b78ef64b1e1a7d9c2b8d19367dbe3009b2e0ea77079695ff05793f
  • Pointer size: 131 Bytes
  • Size of remote file: 960 kB
gradcam_output/Normal Colon Mucosa_gradcam.png ADDED

Git LFS Details

  • SHA256: 7baabe9a8f05c6812692e5bd3ff5b57fdba902947037aa514a6278ec1a367647
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
gradcam_output/Smooth Muscle_gradcam.png ADDED

Git LFS Details

  • SHA256: 23db0cae9fe99ed2e5f75bbf2117792a798c1ab296229e736a5bc06591c3f44c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.08 MB
gradcam_output/T1_gradcam.png ADDED

Git LFS Details

  • SHA256: dc5e536aa65ceac8afbf7ddf75700e5150bc92d05cb624d2fb84d7872dd1377f
  • Pointer size: 131 Bytes
  • Size of remote file: 781 kB
gradcam_output/batch_inference_summary.json ADDED
@@ -0,0 +1,972 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "predicted_index": 1,
4
+ "predicted_class": "BACK",
5
+ "predicted_description": "Background (Glass / Non-tissue)",
6
+ "calibrated_confidence": 0.9934056997299194,
7
+ "raw_confidence": 0.8793300986289978,
8
+ "temperature_used": 0.5655267561804929,
9
+ "logits": [
10
+ 0.9838898777961731,
11
+ 4.409933567047119,
12
+ 0.22888463735580444,
13
+ 0.061822958290576935,
14
+ 0.4167964458465576,
15
+ -0.11865819990634918,
16
+ 0.468799352645874,
17
+ 0.3731933534145355,
18
+ -0.17724530398845673
19
+ ],
20
+ "raw_probabilities": {
21
+ "ADI": 0.02859170362353325,
22
+ "BACK": 0.8793300986289978,
23
+ "DEB": 0.013438335619866848,
24
+ "LYM": 0.011370811611413956,
25
+ "MUC": 0.016216402873396873,
26
+ "MUS": 0.009493133053183556,
27
+ "NORM": 0.017082015052437782,
28
+ "STR": 0.01552451029419899,
29
+ "TUM": 0.00895293802022934
30
+ },
31
+ "calibrated_probabilities": {
32
+ "ADI": 0.0023233117535710335,
33
+ "BACK": 0.9934056997299194,
34
+ "DEB": 0.000611369323451072,
35
+ "LYM": 0.0004549975274130702,
36
+ "MUC": 0.0008523340220563114,
37
+ "MUS": 0.0003306807775516063,
38
+ "NORM": 0.0009344267309643328,
39
+ "STR": 0.0007890871493145823,
40
+ "TUM": 0.00029813809669576585
41
+ },
42
+ "top_k_ranking": [
43
+ {
44
+ "rank": 1,
45
+ "class_index": 1,
46
+ "class_name": "BACK",
47
+ "description": "Background (Glass / Non-tissue)",
48
+ "calibrated_confidence": 0.9934056997299194,
49
+ "raw_confidence": 0.8793300986289978,
50
+ "logit": 4.409933567047119
51
+ },
52
+ {
53
+ "rank": 2,
54
+ "class_index": 0,
55
+ "class_name": "ADI",
56
+ "description": "Adipose Tissue (Fat)",
57
+ "calibrated_confidence": 0.0023233117535710335,
58
+ "raw_confidence": 0.02859170362353325,
59
+ "logit": 0.9838898777961731
60
+ },
61
+ {
62
+ "rank": 3,
63
+ "class_index": 6,
64
+ "class_name": "NORM",
65
+ "description": "Normal Colon Mucosa",
66
+ "calibrated_confidence": 0.0009344267309643328,
67
+ "raw_confidence": 0.017082015052437782,
68
+ "logit": 0.468799352645874
69
+ },
70
+ {
71
+ "rank": 4,
72
+ "class_index": 4,
73
+ "class_name": "MUC",
74
+ "description": "Mucus",
75
+ "calibrated_confidence": 0.0008523340220563114,
76
+ "raw_confidence": 0.016216402873396873,
77
+ "logit": 0.4167964458465576
78
+ },
79
+ {
80
+ "rank": 5,
81
+ "class_index": 7,
82
+ "class_name": "STR",
83
+ "description": "Cancer-Associated Stroma",
84
+ "calibrated_confidence": 0.0007890871493145823,
85
+ "raw_confidence": 0.01552451029419899,
86
+ "logit": 0.3731933534145355
87
+ }
88
+ ],
89
+ "gradcam_info": {
90
+ "target_class": "BACK",
91
+ "target_description": "Background (Glass / Non-tissue)",
92
+ "target_confidence": 0.9934056997299194,
93
+ "method": "gradcam++",
94
+ "used_fallback": false,
95
+ "saved_figure_path": "gradcam_output\\Background_gradcam.png"
96
+ },
97
+ "file_path": "test\\Background.png"
98
+ },
99
+ {
100
+ "predicted_index": 7,
101
+ "predicted_class": "STR",
102
+ "predicted_description": "Cancer-Associated Stroma",
103
+ "calibrated_confidence": 0.8029147386550903,
104
+ "raw_confidence": 0.5373857617378235,
105
+ "temperature_used": 0.5655267561804929,
106
+ "logits": [
107
+ 0.011605687439441681,
108
+ 0.43578317761421204,
109
+ 0.8570739030838013,
110
+ 0.39835411310195923,
111
+ 0.37472259998321533,
112
+ 2.3308629989624023,
113
+ 1.3474087715148926,
114
+ 3.3206543922424316,
115
+ 0.6070307493209839
116
+ ],
117
+ "raw_probabilities": {
118
+ "ADI": 0.019641950726509094,
119
+ "BACK": 0.030019432306289673,
120
+ "DEB": 0.04574742913246155,
121
+ "LYM": 0.028916599228978157,
122
+ "MUC": 0.028241267427802086,
123
+ "MUS": 0.19972167909145355,
124
+ "NORM": 0.0746992900967598,
125
+ "STR": 0.5373857617378235,
126
+ "TUM": 0.0356266051530838
127
+ },
128
+ "calibrated_probabilities": {
129
+ "ADI": 0.002309383824467659,
130
+ "BACK": 0.004889245145022869,
131
+ "DEB": 0.010298420675098896,
132
+ "LYM": 0.004576129373162985,
133
+ "MUC": 0.004388847853988409,
134
+ "MUS": 0.1394961178302765,
135
+ "NORM": 0.024508781731128693,
136
+ "STR": 0.8029147386550903,
137
+ "TUM": 0.006618366576731205
138
+ },
139
+ "top_k_ranking": [
140
+ {
141
+ "rank": 1,
142
+ "class_index": 7,
143
+ "class_name": "STR",
144
+ "description": "Cancer-Associated Stroma",
145
+ "calibrated_confidence": 0.8029147386550903,
146
+ "raw_confidence": 0.5373857617378235,
147
+ "logit": 3.3206543922424316
148
+ },
149
+ {
150
+ "rank": 2,
151
+ "class_index": 5,
152
+ "class_name": "MUS",
153
+ "description": "Smooth Muscle",
154
+ "calibrated_confidence": 0.1394961178302765,
155
+ "raw_confidence": 0.19972167909145355,
156
+ "logit": 2.3308629989624023
157
+ },
158
+ {
159
+ "rank": 3,
160
+ "class_index": 6,
161
+ "class_name": "NORM",
162
+ "description": "Normal Colon Mucosa",
163
+ "calibrated_confidence": 0.024508781731128693,
164
+ "raw_confidence": 0.0746992900967598,
165
+ "logit": 1.3474087715148926
166
+ },
167
+ {
168
+ "rank": 4,
169
+ "class_index": 2,
170
+ "class_name": "DEB",
171
+ "description": "Debris & Necrosis",
172
+ "calibrated_confidence": 0.010298420675098896,
173
+ "raw_confidence": 0.04574742913246155,
174
+ "logit": 0.8570739030838013
175
+ },
176
+ {
177
+ "rank": 5,
178
+ "class_index": 8,
179
+ "class_name": "TUM",
180
+ "description": "Colorectal Adenocarcinoma (Tumour)",
181
+ "calibrated_confidence": 0.006618366576731205,
182
+ "raw_confidence": 0.0356266051530838,
183
+ "logit": 0.6070307493209839
184
+ }
185
+ ],
186
+ "gradcam_info": {
187
+ "target_class": "STR",
188
+ "target_description": "Cancer-Associated Stroma",
189
+ "target_confidence": 0.8029147386550903,
190
+ "method": "gradcam++",
191
+ "used_fallback": false,
192
+ "saved_figure_path": "gradcam_output\\Cancer-Associated Stroma_gradcam.png"
193
+ },
194
+ "file_path": "test\\Cancer-Associated Stroma.png"
195
+ },
196
+ {
197
+ "predicted_index": 8,
198
+ "predicted_class": "TUM",
199
+ "predicted_description": "Colorectal Adenocarcinoma (Tumour)",
200
+ "calibrated_confidence": 0.9551790952682495,
201
+ "raw_confidence": 0.7091128826141357,
202
+ "temperature_used": 0.5655267561804929,
203
+ "logits": [
204
+ 0.2661953568458557,
205
+ 0.6409404873847961,
206
+ 1.2620855569839478,
207
+ 0.36237528920173645,
208
+ 0.3768271207809448,
209
+ -0.14133943617343903,
210
+ 0.3916957378387451,
211
+ 0.696540892124176,
212
+ 3.5290579795837402
213
+ ],
214
+ "raw_probabilities": {
215
+ "ADI": 0.027143891900777817,
216
+ "BACK": 0.039484065026044846,
217
+ "DEB": 0.07348212599754333,
218
+ "LYM": 0.02988426201045513,
219
+ "MUC": 0.03031928651034832,
220
+ "MUS": 0.01805851422250271,
221
+ "NORM": 0.030773455277085304,
222
+ "STR": 0.04174157232046127,
223
+ "TUM": 0.7091128826141357
224
+ },
225
+ "calibrated_probabilities": {
226
+ "ADI": 0.00298112235032022,
227
+ "BACK": 0.005783147644251585,
228
+ "DEB": 0.017344851046800613,
229
+ "LYM": 0.003533791983500123,
230
+ "MUC": 0.0036252604331821203,
231
+ "MUS": 0.001450156676582992,
232
+ "NORM": 0.0037218392826616764,
233
+ "STR": 0.0063806138932704926,
234
+ "TUM": 0.9551790952682495
235
+ },
236
+ "top_k_ranking": [
237
+ {
238
+ "rank": 1,
239
+ "class_index": 8,
240
+ "class_name": "TUM",
241
+ "description": "Colorectal Adenocarcinoma (Tumour)",
242
+ "calibrated_confidence": 0.9551790952682495,
243
+ "raw_confidence": 0.7091128826141357,
244
+ "logit": 3.5290579795837402
245
+ },
246
+ {
247
+ "rank": 2,
248
+ "class_index": 2,
249
+ "class_name": "DEB",
250
+ "description": "Debris & Necrosis",
251
+ "calibrated_confidence": 0.017344851046800613,
252
+ "raw_confidence": 0.07348212599754333,
253
+ "logit": 1.2620855569839478
254
+ },
255
+ {
256
+ "rank": 3,
257
+ "class_index": 7,
258
+ "class_name": "STR",
259
+ "description": "Cancer-Associated Stroma",
260
+ "calibrated_confidence": 0.0063806138932704926,
261
+ "raw_confidence": 0.04174157232046127,
262
+ "logit": 0.696540892124176
263
+ },
264
+ {
265
+ "rank": 4,
266
+ "class_index": 1,
267
+ "class_name": "BACK",
268
+ "description": "Background (Glass / Non-tissue)",
269
+ "calibrated_confidence": 0.005783147644251585,
270
+ "raw_confidence": 0.039484065026044846,
271
+ "logit": 0.6409404873847961
272
+ },
273
+ {
274
+ "rank": 5,
275
+ "class_index": 6,
276
+ "class_name": "NORM",
277
+ "description": "Normal Colon Mucosa",
278
+ "calibrated_confidence": 0.0037218392826616764,
279
+ "raw_confidence": 0.030773455277085304,
280
+ "logit": 0.3916957378387451
281
+ }
282
+ ],
283
+ "gradcam_info": {
284
+ "target_class": "TUM",
285
+ "target_description": "Colorectal Adenocarcinoma (Tumour)",
286
+ "target_confidence": 0.9551790952682495,
287
+ "method": "gradcam++",
288
+ "used_fallback": false,
289
+ "saved_figure_path": "gradcam_output\\Colorectal Adenocarcinoma (Tumour)_gradcam.png"
290
+ },
291
+ "file_path": "test\\Colorectal Adenocarcinoma (Tumour).jpg"
292
+ },
293
+ {
294
+ "predicted_index": 4,
295
+ "predicted_class": "MUC",
296
+ "predicted_description": "Mucus",
297
+ "calibrated_confidence": 0.46015211939811707,
298
+ "raw_confidence": 0.2836407423019409,
299
+ "temperature_used": 0.5655267561804929,
300
+ "logits": [
301
+ 0.5955902934074402,
302
+ 1.0231881141662598,
303
+ 1.2834669351577759,
304
+ -0.12055465579032898,
305
+ 1.826799750328064,
306
+ -0.06761781871318817,
307
+ 0.7846261262893677,
308
+ 0.5205473303794861,
309
+ 0.5839185118675232
310
+ ],
311
+ "raw_probabilities": {
312
+ "ADI": 0.08280586451292038,
313
+ "BACK": 0.12698853015899658,
314
+ "DEB": 0.1647411733865738,
315
+ "LYM": 0.04046162590384483,
316
+ "MUC": 0.2836407423019409,
317
+ "MUS": 0.04266124591231346,
318
+ "NORM": 0.10003647208213806,
319
+ "STR": 0.07681930065155029,
320
+ "TUM": 0.0818450003862381
321
+ },
322
+ "calibrated_probabilities": {
323
+ "ADI": 0.052167266607284546,
324
+ "BACK": 0.11111443489789963,
325
+ "DEB": 0.17605598270893097,
326
+ "LYM": 0.014704049564898014,
327
+ "MUC": 0.46015211939811707,
328
+ "MUS": 0.016146916896104813,
329
+ "NORM": 0.07287314534187317,
330
+ "STR": 0.04568452760577202,
331
+ "TUM": 0.05110163986682892
332
+ },
333
+ "top_k_ranking": [
334
+ {
335
+ "rank": 1,
336
+ "class_index": 4,
337
+ "class_name": "MUC",
338
+ "description": "Mucus",
339
+ "calibrated_confidence": 0.46015211939811707,
340
+ "raw_confidence": 0.2836407423019409,
341
+ "logit": 1.826799750328064
342
+ },
343
+ {
344
+ "rank": 2,
345
+ "class_index": 2,
346
+ "class_name": "DEB",
347
+ "description": "Debris & Necrosis",
348
+ "calibrated_confidence": 0.17605598270893097,
349
+ "raw_confidence": 0.1647411733865738,
350
+ "logit": 1.2834669351577759
351
+ },
352
+ {
353
+ "rank": 3,
354
+ "class_index": 1,
355
+ "class_name": "BACK",
356
+ "description": "Background (Glass / Non-tissue)",
357
+ "calibrated_confidence": 0.11111443489789963,
358
+ "raw_confidence": 0.12698853015899658,
359
+ "logit": 1.0231881141662598
360
+ },
361
+ {
362
+ "rank": 4,
363
+ "class_index": 6,
364
+ "class_name": "NORM",
365
+ "description": "Normal Colon Mucosa",
366
+ "calibrated_confidence": 0.07287314534187317,
367
+ "raw_confidence": 0.10003647208213806,
368
+ "logit": 0.7846261262893677
369
+ },
370
+ {
371
+ "rank": 5,
372
+ "class_index": 0,
373
+ "class_name": "ADI",
374
+ "description": "Adipose Tissue (Fat)",
375
+ "calibrated_confidence": 0.052167266607284546,
376
+ "raw_confidence": 0.08280586451292038,
377
+ "logit": 0.5955902934074402
378
+ }
379
+ ],
380
+ "gradcam_info": {
381
+ "target_class": "MUC",
382
+ "target_description": "Mucus",
383
+ "target_confidence": 0.46015211939811707,
384
+ "method": "gradcam++",
385
+ "used_fallback": false,
386
+ "saved_figure_path": "gradcam_output\\Colorectal Adenocarcinoma (Tumour)2_gradcam.png"
387
+ },
388
+ "file_path": "test\\Colorectal Adenocarcinoma (Tumour)2.jpg"
389
+ },
390
+ {
391
+ "predicted_index": 2,
392
+ "predicted_class": "DEB",
393
+ "predicted_description": "Debris & Necrosis",
394
+ "calibrated_confidence": 0.99659663438797,
395
+ "raw_confidence": 0.9107598066329956,
396
+ "temperature_used": 0.5655267561804929,
397
+ "logits": [
398
+ 0.8306054472923279,
399
+ 0.8952280879020691,
400
+ 5.278141498565674,
401
+ 1.0694990158081055,
402
+ 1.1111429929733276,
403
+ 0.41329073905944824,
404
+ 1.001349925994873,
405
+ 0.7044973373413086,
406
+ 0.8129258751869202
407
+ ],
408
+ "raw_probabilities": {
409
+ "ADI": 0.010662609711289406,
410
+ "BACK": 0.011374404653906822,
411
+ "DEB": 0.9107598066329956,
412
+ "LYM": 0.013539844192564487,
413
+ "MUC": 0.014115603640675545,
414
+ "MUS": 0.007024670019745827,
415
+ "NORM": 0.012647855095565319,
416
+ "STR": 0.009399298578500748,
417
+ "TUM": 0.010475754737854004
418
+ },
419
+ "calibrated_probabilities": {
420
+ "ADI": 0.00038286755443550646,
421
+ "BACK": 0.00042921517160721123,
422
+ "DEB": 0.99659663438797,
423
+ "LYM": 0.0005841251695528626,
424
+ "MUC": 0.0006287620053626597,
425
+ "MUS": 0.0001830512919696048,
426
+ "NORM": 0.0005178108694963157,
427
+ "STR": 0.00030634019640274346,
428
+ "TUM": 0.0003710833552759141
429
+ },
430
+ "top_k_ranking": [
431
+ {
432
+ "rank": 1,
433
+ "class_index": 2,
434
+ "class_name": "DEB",
435
+ "description": "Debris & Necrosis",
436
+ "calibrated_confidence": 0.99659663438797,
437
+ "raw_confidence": 0.9107598066329956,
438
+ "logit": 5.278141498565674
439
+ },
440
+ {
441
+ "rank": 2,
442
+ "class_index": 4,
443
+ "class_name": "MUC",
444
+ "description": "Mucus",
445
+ "calibrated_confidence": 0.0006287620053626597,
446
+ "raw_confidence": 0.014115603640675545,
447
+ "logit": 1.1111429929733276
448
+ },
449
+ {
450
+ "rank": 3,
451
+ "class_index": 3,
452
+ "class_name": "LYM",
453
+ "description": "Lymphocytes (Immune Infiltration)",
454
+ "calibrated_confidence": 0.0005841251695528626,
455
+ "raw_confidence": 0.013539844192564487,
456
+ "logit": 1.0694990158081055
457
+ },
458
+ {
459
+ "rank": 4,
460
+ "class_index": 6,
461
+ "class_name": "NORM",
462
+ "description": "Normal Colon Mucosa",
463
+ "calibrated_confidence": 0.0005178108694963157,
464
+ "raw_confidence": 0.012647855095565319,
465
+ "logit": 1.001349925994873
466
+ },
467
+ {
468
+ "rank": 5,
469
+ "class_index": 1,
470
+ "class_name": "BACK",
471
+ "description": "Background (Glass / Non-tissue)",
472
+ "calibrated_confidence": 0.00042921517160721123,
473
+ "raw_confidence": 0.011374404653906822,
474
+ "logit": 0.8952280879020691
475
+ }
476
+ ],
477
+ "gradcam_info": {
478
+ "target_class": "DEB",
479
+ "target_description": "Debris & Necrosis",
480
+ "target_confidence": 0.99659663438797,
481
+ "method": "gradcam++",
482
+ "used_fallback": false,
483
+ "saved_figure_path": "gradcam_output\\Debris Necrosis_gradcam.png"
484
+ },
485
+ "file_path": "test\\Debris Necrosis.png"
486
+ },
487
+ {
488
+ "predicted_index": 3,
489
+ "predicted_class": "LYM",
490
+ "predicted_description": "Lymphocytes (Immune Infiltration)",
491
+ "calibrated_confidence": 0.9970327615737915,
492
+ "raw_confidence": 0.9180045127868652,
493
+ "temperature_used": 0.5655267561804929,
494
+ "logits": [
495
+ 0.45413094758987427,
496
+ 0.627206563949585,
497
+ 0.7501865029335022,
498
+ 5.205283164978027,
499
+ 0.8339126110076904,
500
+ 0.5284050703048706,
501
+ 1.141758918762207,
502
+ 0.8920848965644836,
503
+ 0.13215841352939606
504
+ ],
505
+ "raw_probabilities": {
506
+ "ADI": 0.007933150976896286,
507
+ "BACK": 0.009432167746126652,
508
+ "DEB": 0.01066647469997406,
509
+ "LYM": 0.9180045127868652,
510
+ "MUC": 0.011597991921007633,
511
+ "MUS": 0.00854481291025877,
512
+ "NORM": 0.01577896997332573,
513
+ "STR": 0.012292683124542236,
514
+ "TUM": 0.005749295931309462
515
+ },
516
+ "calibrated_probabilities": {
517
+ "ADI": 0.0002239121386082843,
518
+ "BACK": 0.00030408171005547047,
519
+ "DEB": 0.0003779481630772352,
520
+ "LYM": 0.9970327615737915,
521
+ "MUC": 0.00043825781904160976,
522
+ "MUS": 0.0002553384692873806,
523
+ "NORM": 0.0007553342147730291,
524
+ "STR": 0.00048573885578662157,
525
+ "TUM": 0.0001267126208404079
526
+ },
527
+ "top_k_ranking": [
528
+ {
529
+ "rank": 1,
530
+ "class_index": 3,
531
+ "class_name": "LYM",
532
+ "description": "Lymphocytes (Immune Infiltration)",
533
+ "calibrated_confidence": 0.9970327615737915,
534
+ "raw_confidence": 0.9180045127868652,
535
+ "logit": 5.205283164978027
536
+ },
537
+ {
538
+ "rank": 2,
539
+ "class_index": 6,
540
+ "class_name": "NORM",
541
+ "description": "Normal Colon Mucosa",
542
+ "calibrated_confidence": 0.0007553342147730291,
543
+ "raw_confidence": 0.01577896997332573,
544
+ "logit": 1.141758918762207
545
+ },
546
+ {
547
+ "rank": 3,
548
+ "class_index": 7,
549
+ "class_name": "STR",
550
+ "description": "Cancer-Associated Stroma",
551
+ "calibrated_confidence": 0.00048573885578662157,
552
+ "raw_confidence": 0.012292683124542236,
553
+ "logit": 0.8920848965644836
554
+ },
555
+ {
556
+ "rank": 4,
557
+ "class_index": 4,
558
+ "class_name": "MUC",
559
+ "description": "Mucus",
560
+ "calibrated_confidence": 0.00043825781904160976,
561
+ "raw_confidence": 0.011597991921007633,
562
+ "logit": 0.8339126110076904
563
+ },
564
+ {
565
+ "rank": 5,
566
+ "class_index": 2,
567
+ "class_name": "DEB",
568
+ "description": "Debris & Necrosis",
569
+ "calibrated_confidence": 0.0003779481630772352,
570
+ "raw_confidence": 0.01066647469997406,
571
+ "logit": 0.7501865029335022
572
+ }
573
+ ],
574
+ "gradcam_info": {
575
+ "target_class": "LYM",
576
+ "target_description": "Lymphocytes (Immune Infiltration)",
577
+ "target_confidence": 0.9970327615737915,
578
+ "method": "gradcam++",
579
+ "used_fallback": false,
580
+ "saved_figure_path": "gradcam_output\\Lymphocytes_gradcam.png"
581
+ },
582
+ "file_path": "test\\Lymphocytes.png"
583
+ },
584
+ {
585
+ "predicted_index": 4,
586
+ "predicted_class": "MUC",
587
+ "predicted_description": "Mucus",
588
+ "calibrated_confidence": 0.7849479913711548,
589
+ "raw_confidence": 0.5001403093338013,
590
+ "temperature_used": 0.5655267561804929,
591
+ "logits": [
592
+ 0.8878702521324158,
593
+ 1.4054425954818726,
594
+ 1.8657485246658325,
595
+ 0.10848064720630646,
596
+ 2.9857356548309326,
597
+ -0.0011353343725204468,
598
+ 0.938089907169342,
599
+ 0.3326858580112457,
600
+ -0.2762160897254944
601
+ ],
602
+ "raw_probabilities": {
603
+ "ADI": 0.06137627363204956,
604
+ "BACK": 0.10298626124858856,
605
+ "DEB": 0.16318777203559875,
606
+ "LYM": 0.028152430430054665,
607
+ "MUC": 0.5001403093338013,
608
+ "MUS": 0.025229593738913536,
609
+ "NORM": 0.06453727185726166,
610
+ "STR": 0.03522792086005211,
611
+ "TUM": 0.019162150099873543
612
+ },
613
+ "calibrated_probabilities": {
614
+ "ADI": 0.019221706315875053,
615
+ "BACK": 0.04800206050276756,
616
+ "DEB": 0.10833041369915009,
617
+ "LYM": 0.00484464829787612,
618
+ "MUC": 0.7849479913711548,
619
+ "MUS": 0.003991011064499617,
620
+ "NORM": 0.02100670523941517,
621
+ "STR": 0.007201778702437878,
622
+ "TUM": 0.0024537788704037666
623
+ },
624
+ "top_k_ranking": [
625
+ {
626
+ "rank": 1,
627
+ "class_index": 4,
628
+ "class_name": "MUC",
629
+ "description": "Mucus",
630
+ "calibrated_confidence": 0.7849479913711548,
631
+ "raw_confidence": 0.5001403093338013,
632
+ "logit": 2.9857356548309326
633
+ },
634
+ {
635
+ "rank": 2,
636
+ "class_index": 2,
637
+ "class_name": "DEB",
638
+ "description": "Debris & Necrosis",
639
+ "calibrated_confidence": 0.10833041369915009,
640
+ "raw_confidence": 0.16318777203559875,
641
+ "logit": 1.8657485246658325
642
+ },
643
+ {
644
+ "rank": 3,
645
+ "class_index": 1,
646
+ "class_name": "BACK",
647
+ "description": "Background (Glass / Non-tissue)",
648
+ "calibrated_confidence": 0.04800206050276756,
649
+ "raw_confidence": 0.10298626124858856,
650
+ "logit": 1.4054425954818726
651
+ },
652
+ {
653
+ "rank": 4,
654
+ "class_index": 6,
655
+ "class_name": "NORM",
656
+ "description": "Normal Colon Mucosa",
657
+ "calibrated_confidence": 0.02100670523941517,
658
+ "raw_confidence": 0.06453727185726166,
659
+ "logit": 0.938089907169342
660
+ },
661
+ {
662
+ "rank": 5,
663
+ "class_index": 0,
664
+ "class_name": "ADI",
665
+ "description": "Adipose Tissue (Fat)",
666
+ "calibrated_confidence": 0.019221706315875053,
667
+ "raw_confidence": 0.06137627363204956,
668
+ "logit": 0.8878702521324158
669
+ }
670
+ ],
671
+ "gradcam_info": {
672
+ "target_class": "MUC",
673
+ "target_description": "Mucus",
674
+ "target_confidence": 0.7849479913711548,
675
+ "method": "gradcam++",
676
+ "used_fallback": false,
677
+ "saved_figure_path": "gradcam_output\\Mucus_gradcam.png"
678
+ },
679
+ "file_path": "test\\Mucus.jfif"
680
+ },
681
+ {
682
+ "predicted_index": 6,
683
+ "predicted_class": "NORM",
684
+ "predicted_description": "Normal Colon Mucosa",
685
+ "calibrated_confidence": 0.9952567219734192,
686
+ "raw_confidence": 0.8936285376548767,
687
+ "temperature_used": 0.5655267561804929,
688
+ "logits": [
689
+ 0.8929082751274109,
690
+ 0.9461109042167664,
691
+ 0.7321580052375793,
692
+ 0.8762508034706116,
693
+ 1.015158772468567,
694
+ 0.7313111424446106,
695
+ 5.1286702156066895,
696
+ 0.8904946446418762,
697
+ 1.1995588541030884
698
+ ],
699
+ "raw_probabilities": {
700
+ "ADI": 0.012929713353514671,
701
+ "BACK": 0.01363623607903719,
702
+ "DEB": 0.011009715497493744,
703
+ "LYM": 0.012716122902929783,
704
+ "MUC": 0.014611057005822659,
705
+ "MUS": 0.011000395752489567,
706
+ "NORM": 0.8936285376548767,
707
+ "STR": 0.012898548506200314,
708
+ "TUM": 0.017569750547409058
709
+ },
710
+ "calibrated_probabilities": {
711
+ "ADI": 0.0005560261779464781,
712
+ "BACK": 0.0006108744419179857,
713
+ "DEB": 0.0004184537974651903,
714
+ "LYM": 0.0005398874054662883,
715
+ "MUC": 0.0006902036257088184,
716
+ "MUS": 0.0004178277449682355,
717
+ "NORM": 0.9952567219734192,
718
+ "STR": 0.0005536582903005183,
719
+ "TUM": 0.000956283591222018
720
+ },
721
+ "top_k_ranking": [
722
+ {
723
+ "rank": 1,
724
+ "class_index": 6,
725
+ "class_name": "NORM",
726
+ "description": "Normal Colon Mucosa",
727
+ "calibrated_confidence": 0.9952567219734192,
728
+ "raw_confidence": 0.8936285376548767,
729
+ "logit": 5.1286702156066895
730
+ },
731
+ {
732
+ "rank": 2,
733
+ "class_index": 8,
734
+ "class_name": "TUM",
735
+ "description": "Colorectal Adenocarcinoma (Tumour)",
736
+ "calibrated_confidence": 0.000956283591222018,
737
+ "raw_confidence": 0.017569750547409058,
738
+ "logit": 1.1995588541030884
739
+ },
740
+ {
741
+ "rank": 3,
742
+ "class_index": 4,
743
+ "class_name": "MUC",
744
+ "description": "Mucus",
745
+ "calibrated_confidence": 0.0006902036257088184,
746
+ "raw_confidence": 0.014611057005822659,
747
+ "logit": 1.015158772468567
748
+ },
749
+ {
750
+ "rank": 4,
751
+ "class_index": 1,
752
+ "class_name": "BACK",
753
+ "description": "Background (Glass / Non-tissue)",
754
+ "calibrated_confidence": 0.0006108744419179857,
755
+ "raw_confidence": 0.01363623607903719,
756
+ "logit": 0.9461109042167664
757
+ },
758
+ {
759
+ "rank": 5,
760
+ "class_index": 0,
761
+ "class_name": "ADI",
762
+ "description": "Adipose Tissue (Fat)",
763
+ "calibrated_confidence": 0.0005560261779464781,
764
+ "raw_confidence": 0.012929713353514671,
765
+ "logit": 0.8929082751274109
766
+ }
767
+ ],
768
+ "gradcam_info": {
769
+ "target_class": "NORM",
770
+ "target_description": "Normal Colon Mucosa",
771
+ "target_confidence": 0.9952567219734192,
772
+ "method": "gradcam++",
773
+ "used_fallback": false,
774
+ "saved_figure_path": "gradcam_output\\Normal Colon Mucosa_gradcam.png"
775
+ },
776
+ "file_path": "test\\Normal Colon Mucosa.png"
777
+ },
778
+ {
779
+ "predicted_index": 5,
780
+ "predicted_class": "MUS",
781
+ "predicted_description": "Smooth Muscle",
782
+ "calibrated_confidence": 0.9934473633766174,
783
+ "raw_confidence": 0.8747900128364563,
784
+ "temperature_used": 0.5655267561804929,
785
+ "logits": [
786
+ 0.8907920122146606,
787
+ 0.7355124950408936,
788
+ 0.7897583246231079,
789
+ 0.7306628823280334,
790
+ 0.9871354699134827,
791
+ 4.845553398132324,
792
+ 0.9855666756629944,
793
+ 0.8691526651382446,
794
+ 0.5018995404243469
795
+ ],
796
+ "raw_probabilities": {
797
+ "ADI": 0.016763808205723763,
798
+ "BACK": 0.014352774247527122,
799
+ "DEB": 0.015152850188314915,
800
+ "LYM": 0.014283332973718643,
801
+ "MUC": 0.018459254875779152,
802
+ "MUS": 0.8747900128364563,
803
+ "NORM": 0.018430320546030998,
804
+ "STR": 0.016404947265982628,
805
+ "TUM": 0.011362632736563683
806
+ },
807
+ "calibrated_probabilities": {
808
+ "ADI": 0.0009122172486968338,
809
+ "BACK": 0.0006931895040906966,
810
+ "DEB": 0.0007629743777215481,
811
+ "LYM": 0.0006872704834677279,
812
+ "MUC": 0.0010816453723236918,
813
+ "MUS": 0.9934473633766174,
814
+ "NORM": 0.0010786494240164757,
815
+ "STR": 0.0008779717027209699,
816
+ "TUM": 0.00045861638500355184
817
+ },
818
+ "top_k_ranking": [
819
+ {
820
+ "rank": 1,
821
+ "class_index": 5,
822
+ "class_name": "MUS",
823
+ "description": "Smooth Muscle",
824
+ "calibrated_confidence": 0.9934473633766174,
825
+ "raw_confidence": 0.8747900128364563,
826
+ "logit": 4.845553398132324
827
+ },
828
+ {
829
+ "rank": 2,
830
+ "class_index": 4,
831
+ "class_name": "MUC",
832
+ "description": "Mucus",
833
+ "calibrated_confidence": 0.0010816453723236918,
834
+ "raw_confidence": 0.018459254875779152,
835
+ "logit": 0.9871354699134827
836
+ },
837
+ {
838
+ "rank": 3,
839
+ "class_index": 6,
840
+ "class_name": "NORM",
841
+ "description": "Normal Colon Mucosa",
842
+ "calibrated_confidence": 0.0010786494240164757,
843
+ "raw_confidence": 0.018430320546030998,
844
+ "logit": 0.9855666756629944
845
+ },
846
+ {
847
+ "rank": 4,
848
+ "class_index": 0,
849
+ "class_name": "ADI",
850
+ "description": "Adipose Tissue (Fat)",
851
+ "calibrated_confidence": 0.0009122172486968338,
852
+ "raw_confidence": 0.016763808205723763,
853
+ "logit": 0.8907920122146606
854
+ },
855
+ {
856
+ "rank": 5,
857
+ "class_index": 7,
858
+ "class_name": "STR",
859
+ "description": "Cancer-Associated Stroma",
860
+ "calibrated_confidence": 0.0008779717027209699,
861
+ "raw_confidence": 0.016404947265982628,
862
+ "logit": 0.8691526651382446
863
+ }
864
+ ],
865
+ "gradcam_info": {
866
+ "target_class": "MUS",
867
+ "target_description": "Smooth Muscle",
868
+ "target_confidence": 0.9934473633766174,
869
+ "method": "gradcam++",
870
+ "used_fallback": false,
871
+ "saved_figure_path": "gradcam_output\\Smooth Muscle_gradcam.png"
872
+ },
873
+ "file_path": "test\\Smooth Muscle.png"
874
+ },
875
+ {
876
+ "predicted_index": 0,
877
+ "predicted_class": "ADI",
878
+ "predicted_description": "Adipose Tissue (Fat)",
879
+ "calibrated_confidence": 0.4253808259963989,
880
+ "raw_confidence": 0.28833943605422974,
881
+ "temperature_used": 0.5655267561804929,
882
+ "logits": [
883
+ 1.8364776372909546,
884
+ 0.541258692741394,
885
+ 0.11633957922458649,
886
+ 1.1845245361328125,
887
+ -0.18260686099529266,
888
+ 1.6241458654403687,
889
+ 0.009145364165306091,
890
+ 0.6144571304321289,
891
+ -0.4937010407447815
892
+ ],
893
+ "raw_probabilities": {
894
+ "ADI": 0.28833943605422974,
895
+ "BACK": 0.07895826548337936,
896
+ "DEB": 0.05162470042705536,
897
+ "LYM": 0.15023267269134521,
898
+ "MUC": 0.03828483819961548,
899
+ "MUS": 0.23317904770374298,
900
+ "NORM": 0.046377118676900864,
901
+ "STR": 0.08495467156171799,
902
+ "TUM": 0.028049185872077942
903
+ },
904
+ "calibrated_probabilities": {
905
+ "ADI": 0.4253808259963989,
906
+ "BACK": 0.043064430356025696,
907
+ "DEB": 0.020314371213316917,
908
+ "LYM": 0.13431130349636078,
909
+ "MUC": 0.011973700486123562,
910
+ "MUS": 0.2922256588935852,
911
+ "NORM": 0.01680675707757473,
912
+ "STR": 0.04901525005698204,
913
+ "TUM": 0.006907558999955654
914
+ },
915
+ "top_k_ranking": [
916
+ {
917
+ "rank": 1,
918
+ "class_index": 0,
919
+ "class_name": "ADI",
920
+ "description": "Adipose Tissue (Fat)",
921
+ "calibrated_confidence": 0.4253808259963989,
922
+ "raw_confidence": 0.28833943605422974,
923
+ "logit": 1.8364776372909546
924
+ },
925
+ {
926
+ "rank": 2,
927
+ "class_index": 5,
928
+ "class_name": "MUS",
929
+ "description": "Smooth Muscle",
930
+ "calibrated_confidence": 0.2922256588935852,
931
+ "raw_confidence": 0.23317904770374298,
932
+ "logit": 1.6241458654403687
933
+ },
934
+ {
935
+ "rank": 3,
936
+ "class_index": 3,
937
+ "class_name": "LYM",
938
+ "description": "Lymphocytes (Immune Infiltration)",
939
+ "calibrated_confidence": 0.13431130349636078,
940
+ "raw_confidence": 0.15023267269134521,
941
+ "logit": 1.1845245361328125
942
+ },
943
+ {
944
+ "rank": 4,
945
+ "class_index": 7,
946
+ "class_name": "STR",
947
+ "description": "Cancer-Associated Stroma",
948
+ "calibrated_confidence": 0.04901525005698204,
949
+ "raw_confidence": 0.08495467156171799,
950
+ "logit": 0.6144571304321289
951
+ },
952
+ {
953
+ "rank": 5,
954
+ "class_index": 1,
955
+ "class_name": "BACK",
956
+ "description": "Background (Glass / Non-tissue)",
957
+ "calibrated_confidence": 0.043064430356025696,
958
+ "raw_confidence": 0.07895826548337936,
959
+ "logit": 0.541258692741394
960
+ }
961
+ ],
962
+ "gradcam_info": {
963
+ "target_class": "ADI",
964
+ "target_description": "Adipose Tissue (Fat)",
965
+ "target_confidence": 0.4253808259963989,
966
+ "method": "gradcam++",
967
+ "used_fallback": false,
968
+ "saved_figure_path": "gradcam_output\\T1_gradcam.png"
969
+ },
970
+ "file_path": "test\\T1.jpg"
971
+ }
972
+ ]