Ace3Z commited on
Commit
017dd28
·
verified ·
1 Parent(s): d058603

docs: fix the verification step and ship the homophily tail metrics

Browse files

--check cannot verify the large cohorts: it stops at 20k rows and the CSVs are in
shard order, so 5 of 18 SPIDER tars already satisfy it. Document the idempotent
re-run instead, and the BACH case where --check resolves against the CSV directory
while the loader uses the working directory.

Ship tail_metrics/, the artifact behind the per-node homophily table, and say why
bach_fattail_cellvit.json is not that table's BACH row.

State the ~1.05 TB footprint and give snapshot_download an allow_patterns example.
Warn that the TCGA extraction writes 11.1M files into one directory.
Say plainly which results DATA.md does and does not carry, and that one of the six
hyperparameter files is a single run rather than an Optuna record.

DATA.md CHANGED
@@ -33,14 +33,30 @@ python modeling/rebase_graph_paths.py --csv <path to sample_labels_rich.csv> \
33
  It rewrites by basename, so it does not matter where the graphs ended up, and it is
34
  idempotent. Verify before training:
35
 
 
 
 
36
  ```bash
37
- python modeling/rebase_graph_paths.py --csv <csv> --check # expect N/N
 
 
 
38
  ```
39
 
40
- `--check` stops after 20,000 rows and says so (`(first 20k rows only)`), so it prints the
41
- full count only for BACH (14,341) and BreakHis (709). For BRACS, SPIDER-breast and
42
- TCGA-BRCA it prints `20000/20000`; that is the pass condition for those three. A
43
- resolvable count below the total means graphs are being silently skipped.
 
 
 
 
 
 
 
 
 
 
44
 
45
  ## Graph format
46
 
@@ -74,6 +90,9 @@ slide-level evaluation.
74
  Run from the repository root:
75
 
76
  ```bash
 
 
 
77
  mkdir -p graphs/tcga_brca/extracted
78
  for t in graphs/tcga_brca/data/tcga-brca-*.tar; do tar -xf "$t" -C graphs/tcga_brca/extracted; done
79
  python modeling/rebase_graph_paths.py --csv graphs/tcga_brca/sample_labels_rich.csv \
@@ -125,11 +144,11 @@ python modeling/rebase_graph_paths.py --csv graphs/spider_breast/sample_labels_r
125
 
126
  Two things to know:
127
 
128
- - **The label files cover 92,892 patches, the graphs are 71,745.** Graph construction skips
129
  any patch with fewer than 10 detected cells, which removes cell-sparse tissue almost
130
  entirely: `Fat` retains 7 of 6,286 patches (1 in test), `Fibrosis` 415 of 6,260,
131
  `Necrosis` 2,147 of 5,396, `Lipogranuloma` 2,622 of 4,941 and `Vessels` 3,130 of 5,469.
132
- Two more lose a tenth or less (`Benign phyllodes tumor` 89.9 %, `Fibroadenoma` 93.7 %);
133
  the remaining eleven classes retain at least 97 %. In an 18-class macro-F1 this
134
  matters, because `Fat` rests on a single test patch. `metadata.csv` is the file that matches the
135
  graphs exactly.
@@ -251,7 +270,12 @@ macro-mean, which runs 0.75–0.82 on the labelled cohorts.
251
  Contents: `tiles/` holds 109,904 224 px tile graphs with CellViT++ pseudo-labels (BACH 13,837,
252
  BRACS 95,670, BreakHis 397); `bach_cellvit/` holds 400 per-image pseudo-label CSVs (538,421
253
  cells, columns `centroid_x_px,centroid_y_px,cell_type,type_prob`) plus a summary JSON; and
254
- `paper_metrics/` holds the pooled edge-homophily and pseudo-label-gate results as JSON.
 
 
 
 
 
255
 
256
  The pseudo-labeller was validated on a held-out ground-truth split first: **ARI 0.560**
257
  (threshold 0.5), Cohen κ 0.709, per-class confusion diagonal 0.864 / 0.562 /
@@ -285,7 +309,10 @@ so the comparison isolates the adapters, it gains +3.2 / +8.0 / +2.8 / +11.5 / +
285
  Contents: `graphs_v1/` holds NuCLS (1,694 `.pt` × 2 label granularities plus 5-fold split
286
  tables) and PanNuke (3 folds × 20×/40×, 14,414 `.pt`), both with 1-dim edges, and
287
  `source_optuna_hps/` holds the per-task tuned hyperparameters (the search was unseeded, so
288
- these values cannot be recovered by re-running it).
 
 
 
289
 
290
  The v1 label CSVs keep stale absolute paths, which is harmless: both consumers glob the `.pt`
291
  files directly rather than reading `graph_path`. The split tables key on `slide_name`.
 
33
  It rewrites by basename, so it does not matter where the graphs ended up, and it is
34
  idempotent. Verify before training:
35
 
36
+ **Verify by re-running the same rebase command, not with `--check`.** The rewrite is
37
+ idempotent, so a second run inspects every row and reports the true state:
38
+
39
  ```bash
40
+ # second run, complete data
41
+ rows inspected : 71745
42
+ resolvable now : 71745/71745
43
+ all paths already in absolute form and resolvable — nothing to do
44
  ```
45
 
46
+ Anything below `N/N` on that second run means graphs are missing. Two traps make `--check`
47
+ the wrong tool here:
48
+
49
+ - **It stops at 20,000 rows**, and the CSVs are in shard order — the first 20,000 rows of
50
+ SPIDER-breast are exactly shards 0-4 of 18. Extract five tars and `--check` prints a clean
51
+ `20000/20000` while 51,745 graphs (72 %) are absent. The same applies to BRACS and TCGA-BRCA.
52
+ - **It resolves relative paths against the CSV's own directory**, whereas the loader resolves
53
+ them against the process working directory. BACH ships its `sample_labels_rich.csv` beside
54
+ the `.pt` files, so `--check` reports `14341/14341` on an un-rebased CSV that the loader
55
+ would fail to read entirely.
56
+
57
+ On the **first** run, `resolvable now : 0/71745` is expected and not an error: the count is
58
+ taken before the rewrite, when the paths are still bare filenames. The `rows rewritten` line
59
+ below it is the one that matters.
60
 
61
  ## Graph format
62
 
 
90
  Run from the repository root:
91
 
92
  ```bash
93
+ # ~650 GB and 11,149,499 files into one directory. Some filesystems degrade badly at
94
+ # that count; consider extracting per-shard into subdirectories (the rebase step keys on
95
+ # basename, so any layout works) and deleting each tar as it is extracted.
96
  mkdir -p graphs/tcga_brca/extracted
97
  for t in graphs/tcga_brca/data/tcga-brca-*.tar; do tar -xf "$t" -C graphs/tcga_brca/extracted; done
98
  python modeling/rebase_graph_paths.py --csv graphs/tcga_brca/sample_labels_rich.csv \
 
144
 
145
  Two things to know:
146
 
147
+ - **`sample_labels.csv` and `sample_split.csv` cover 92,892 patches, the graphs are 71,745.** Graph construction skips
148
  any patch with fewer than 10 detected cells, which removes cell-sparse tissue almost
149
  entirely: `Fat` retains 7 of 6,286 patches (1 in test), `Fibrosis` 415 of 6,260,
150
  `Necrosis` 2,147 of 5,396, `Lipogranuloma` 2,622 of 4,941 and `Vessels` 3,130 of 5,469.
151
+ Two more lose about a tenth (`Benign phyllodes tumor` retains 89.9 %, `Fibroadenoma` 93.7 %);
152
  the remaining eleven classes retain at least 97 %. In an 18-class macro-F1 this
153
  matters, because `Fat` rests on a single test patch. `metadata.csv` is the file that matches the
154
  graphs exactly.
 
270
  Contents: `tiles/` holds 109,904 224 px tile graphs with CellViT++ pseudo-labels (BACH 13,837,
271
  BRACS 95,670, BreakHis 397); `bach_cellvit/` holds 400 per-image pseudo-label CSVs (538,421
272
  cells, columns `centroid_x_px,centroid_y_px,cell_type,type_prob`) plus a summary JSON; and
273
+ `paper_metrics/` holds the pooled edge-homophily and pseudo-label-gate results as JSON, plus
274
+ `tail_metrics/<cohort>.json`, which is the artifact behind the table above: `nodes` is
275
+ `n_nodes_total - n_isolated_total` and the two tail columns are the per-node fractions below
276
+ 0.3 and 0.5. Do not read `bach_cellvit/bach_fattail_cellvit.json` as the BACH row of that
277
+ table — it is a different analysis (whole-image CellViT graphs, 538,421 cells) rather than the
278
+ 224 px tile graphs (439,533 nodes) the table is computed over.
279
 
280
  The pseudo-labeller was validated on a held-out ground-truth split first: **ARI 0.560**
281
  (threshold 0.5), Cohen κ 0.709, per-class confusion diagonal 0.864 / 0.562 /
 
309
  Contents: `graphs_v1/` holds NuCLS (1,694 `.pt` × 2 label granularities plus 5-fold split
310
  tables) and PanNuke (3 folds × 20×/40×, 14,414 `.pt`), both with 1-dim edges, and
311
  `source_optuna_hps/` holds the per-task tuned hyperparameters (the search was unseeded, so
312
+ these values cannot be recovered by re-running it). Five are Optuna records with the full
313
+ trial list; the sixth, `nucls_super_source_args.json`, is not — it is the argument set and
314
+ metrics of a single fold-1 run, so for that column the tuned values are recorded but the
315
+ search that produced them is not.
316
 
317
  The v1 label CSVs keep stale absolute paths, which is harmless: both consumers glob the `.pt`
318
  files directly rather than reading `graph_path`. The split tables key on `slide_name`.
README.md CHANGED
@@ -40,8 +40,10 @@ Slide-level MIL, transfer to unseen cohorts (test macro-F1 %, best of three MIL
40
  | **GrapHist++** | **69.00** | **95.53** | 68.98 |
41
 
42
  Survival on TCGA-BRCA (Cox PH, C-index): **0.793**, vs 0.763 for v1, 0.724 MAE, 0.632 DINOv2.
43
- Cell-type identification and patch-level subtyping are in [`DATA.md`](DATA.md), which maps
44
- every artifact here to the result it reproduces.
 
 
45
 
46
  ## What's in this repo
47
 
@@ -72,9 +74,17 @@ Training, evaluation and analysis code lives in
72
 
73
  ```python
74
  from huggingface_hub import snapshot_download
75
- path = snapshot_download(repo_id="Ace3Z/graphist-v2")
 
 
 
76
  ```
77
 
 
 
 
 
 
78
  Three arguments are **load-critical**. `build_model` reads two of them with defaults that do
79
  not match this checkpoint, and the third has no default at all:
80
 
 
40
  | **GrapHist++** | **69.00** | **95.53** | 68.98 |
41
 
42
  Survival on TCGA-BRCA (Cox PH, C-index): **0.793**, vs 0.763 for v1, 0.724 MAE, 0.632 DINOv2.
43
+ [`DATA.md`](DATA.md) maps every artifact here to the result it reproduces. It carries the
44
+ artifacts and the evaluation protocol for cell-type identification and patch-level subtyping,
45
+ and the AdapterGNN fine-tuning table, which is GrapHist v1; the GrapHist++ macro-F1 for those
46
+ two tasks is reported in the paper rather than here.
47
 
48
  ## What's in this repo
49
 
 
74
 
75
  ```python
76
  from huggingface_hub import snapshot_download
77
+
78
+ # The whole repository is ~1.05 TB, so fetch only what you need.
79
+ path = snapshot_download(repo_id="Ace3Z/graphist-v2",
80
+ allow_patterns=["graphist_v2.pt", "modeling/*", "*.md"])
81
  ```
82
 
83
+ Sizes, so nothing surprises you: `graphs/tcga_brca` 652 GB, `upstream_v1` 273 GB,
84
+ `baselines` 78 GB, `embeddings/slide` 26 GB, everything else under 7 GB each. The tars are
85
+ uncompressed, so extracting TCGA-BRCA costs another ~650 GB on top. Following `DATA.md`
86
+ end to end needs roughly 1.7 TB of free space; the checkpoint alone is 127 MB.
87
+
88
  Three arguments are **load-critical**. `build_model` reads two of them with defaults that do
89
  not match this checkpoint, and the third has no default at all:
90
 
studies/homophily/paper_metrics/tail_metrics/bach.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "bach",
3
+ "num_classes": 4,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 13837,
9
+ "n_skipped_graphs": 0,
10
+ "n_nodes_total": 439533,
11
+ "n_isolated_total": 252,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 13837,
15
+ "n_finite": 13837,
16
+ "mean": 0.6277219520519258,
17
+ "median": 0.6074073910713196,
18
+ "std": 0.16271239948192898,
19
+ "iqr": 0.22291666269302368,
20
+ "skew": 0.37702783797570544,
21
+ "kurtosis_excess": -0.31734523913933765,
22
+ "min": 0.0,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 108,
27
+ "fraction": 0.007805160078051601
28
+ },
29
+ "<0.5": {
30
+ "count": 2950,
31
+ "fraction": 0.21319650213196503
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3076923191547394,
36
+ "p5": 0.3888888955116272,
37
+ "p10": 0.4324324429035187,
38
+ "p25": 0.5104166865348816,
39
+ "p50": 0.6074073910713196,
40
+ "p75": 0.7333333492279053
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 13837,
45
+ "n_finite": 13837,
46
+ "mean": 0.6289225189159171,
47
+ "median": 0.6094611287117004,
48
+ "std": 0.16037446846151243,
49
+ "iqr": 0.22031241655349731,
50
+ "skew": 0.3579600745641929,
51
+ "kurtosis_excess": -0.26551275252368045,
52
+ "min": 0.0,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 110,
57
+ "fraction": 0.007949700079497002
58
+ },
59
+ "<0.5": {
60
+ "count": 2985,
61
+ "fraction": 0.2157259521572595
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.30983551502227785,
66
+ "p5": 0.39196051359176637,
67
+ "p10": 0.4349867284297943,
68
+ "p25": 0.5142858028411865,
69
+ "p50": 0.6094611287117004,
70
+ "p75": 0.7345982193946838
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 13837,
75
+ "n_finite": 13358,
76
+ "mean": 0.06696489321200583,
77
+ "median": 0.052134650448958084,
78
+ "std": 0.06376613705764989,
79
+ "iqr": 0.09642520546913147,
80
+ "skew": 1.0203243472214651,
81
+ "kurtosis_excess": 0.7874348036943797,
82
+ "min": 0.0,
83
+ "max": 0.43879469235738117,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 13321,
87
+ "fraction": 0.9972301242701003
88
+ },
89
+ "<0.5": {
90
+ "count": 13358,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.009929537773132324,
99
+ "p50": 0.052134650448958084,
100
+ "p75": 0.1063547432422638
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 13837,
105
+ "n_finite": 13348,
106
+ "mean": 0.13023296321479558,
107
+ "median": 0.09835145497569117,
108
+ "std": 0.1365043758646505,
109
+ "iqr": 0.21428560236227312,
110
+ "skew": 1.0717642425789153,
111
+ "kurtosis_excess": 0.8212874132688106,
112
+ "min": 0.0,
113
+ "max": 1.0,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 11697,
117
+ "fraction": 0.87631105783638
118
+ },
119
+ "<0.5": {
120
+ "count": 13136,
121
+ "fraction": 0.9841174707821396
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.0,
129
+ "p50": 0.09835145497569117,
130
+ "p75": 0.21428560236227312
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 439533,
135
+ "n_finite": 439281,
136
+ "mean": 0.6314759478957223,
137
+ "median": 0.6666666865348816,
138
+ "std": 0.31527268706934,
139
+ "iqr": 0.5999999940395355,
140
+ "skew": -0.4554753207929468,
141
+ "kurtosis_excess": -0.8764326703642715,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 78159,
147
+ "fraction": 0.17792483626653555
148
+ },
149
+ "<0.5": {
150
+ "count": 125701,
151
+ "fraction": 0.28615168878235114
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.0,
157
+ "p10": 0.20000000298023224,
158
+ "p25": 0.4000000059604645,
159
+ "p50": 0.6666666865348816,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/bracs.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "bracs",
3
+ "num_classes": 4,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 95670,
9
+ "n_skipped_graphs": 0,
10
+ "n_nodes_total": 4302445,
11
+ "n_isolated_total": 458,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 95670,
15
+ "n_finite": 95670,
16
+ "mean": 0.6679879601212695,
17
+ "median": 0.6551724076271057,
18
+ "std": 0.16819008727105533,
19
+ "iqr": 0.24679487943649292,
20
+ "skew": 0.1489046818320053,
21
+ "kurtosis_excess": -0.6421170987045519,
22
+ "min": 0.0,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 532,
27
+ "fraction": 0.005560781854290792
28
+ },
29
+ "<0.5": {
30
+ "count": 15393,
31
+ "fraction": 0.16089683286296644
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3255814015865326,
36
+ "p5": 0.410526305437088,
37
+ "p10": 0.4571428596973419,
38
+ "p25": 0.5416666865348816,
39
+ "p50": 0.6551724076271057,
40
+ "p75": 0.7884615659713745
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 95670,
45
+ "n_finite": 95670,
46
+ "mean": 0.6704083826174442,
47
+ "median": 0.6592209041118622,
48
+ "std": 0.1665121252592167,
49
+ "iqr": 0.24344803392887115,
50
+ "skew": 0.12945954964942033,
51
+ "kurtosis_excess": -0.6109184143535091,
52
+ "min": 0.0,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 574,
57
+ "fraction": 0.005999790948050591
58
+ },
59
+ "<0.5": {
60
+ "count": 15261,
61
+ "fraction": 0.15951708999686423
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.3257824543118477,
66
+ "p5": 0.4140134140849113,
67
+ "p10": 0.46132995188236237,
68
+ "p25": 0.5460531413555145,
69
+ "p50": 0.6592209041118622,
70
+ "p75": 0.7895011752843857
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 95670,
75
+ "n_finite": 91585,
76
+ "mean": 0.07758799254238291,
77
+ "median": 0.06575868527094524,
78
+ "std": 0.06734290836573201,
79
+ "iqr": 0.10607673227787018,
80
+ "skew": 0.7660493396267377,
81
+ "kurtosis_excess": 0.030228582210447552,
82
+ "min": 0.0,
83
+ "max": 0.4357173840204875,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 91350,
87
+ "fraction": 0.9974340776328001
88
+ },
89
+ "<0.5": {
90
+ "count": 91585,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.016848698258399963,
99
+ "p50": 0.06575868527094524,
100
+ "p75": 0.12292543053627014
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 95670,
105
+ "n_finite": 91574,
106
+ "mean": 0.1567028820568462,
107
+ "median": 0.1328153380205816,
108
+ "std": 0.14456089421569285,
109
+ "iqr": 0.23643603996648216,
110
+ "skew": 0.8155343760929868,
111
+ "kurtosis_excess": 0.13599850252000723,
112
+ "min": 0.0,
113
+ "max": 1.0,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 75770,
117
+ "fraction": 0.8274182628256929
118
+ },
119
+ "<0.5": {
120
+ "count": 89575,
121
+ "fraction": 0.9781706597942648
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.014492790286532485,
129
+ "p50": 0.1328153380205816,
130
+ "p75": 0.25092883025301466
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 4302445,
135
+ "n_finite": 4301987,
136
+ "mean": 0.6927033642048464,
137
+ "median": 0.800000011920929,
138
+ "std": 0.31104378081524886,
139
+ "iqr": 0.5,
140
+ "skew": -0.7242499102069757,
141
+ "kurtosis_excess": -0.6071159160616024,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 626162,
147
+ "fraction": 0.14555181129092207
148
+ },
149
+ "<0.5": {
150
+ "count": 1002612,
151
+ "fraction": 0.23305788697176444
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.0,
157
+ "p10": 0.20000000298023224,
158
+ "p25": 0.5,
159
+ "p50": 0.800000011920929,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/breakhis.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "breakhis",
3
+ "num_classes": 4,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 397,
9
+ "n_skipped_graphs": 0,
10
+ "n_nodes_total": 6271,
11
+ "n_isolated_total": 16,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 397,
15
+ "n_finite": 397,
16
+ "mean": 0.9119130297556932,
17
+ "median": 1.0,
18
+ "std": 0.15521193656434534,
19
+ "iqr": 0.14705884456634521,
20
+ "skew": -1.898845105392855,
21
+ "kurtosis_excess": 3.108348361530121,
22
+ "min": 0.2142857164144516,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 1,
27
+ "fraction": 0.0025188916876574307
28
+ },
29
+ "<0.5": {
30
+ "count": 11,
31
+ "fraction": 0.027707808564231738
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3741176474094391,
36
+ "p5": 0.5555555820465088,
37
+ "p10": 0.6666666865348816,
38
+ "p25": 0.8529411554336548,
39
+ "p50": 1.0,
40
+ "p75": 1.0
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 397,
45
+ "n_finite": 397,
46
+ "mean": 0.9137906925353956,
47
+ "median": 1.0,
48
+ "std": 0.15023907271582282,
49
+ "iqr": 0.14743590354919434,
50
+ "skew": -1.8884536018931322,
51
+ "kurtosis_excess": 3.231926565161152,
52
+ "min": 0.2083333432674408,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 1,
57
+ "fraction": 0.0025188916876574307
58
+ },
59
+ "<0.5": {
60
+ "count": 11,
61
+ "fraction": 0.027707808564231738
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.3977222228050232,
66
+ "p5": 0.5900000333786011,
67
+ "p10": 0.6928571820259094,
68
+ "p25": 0.8525640964508057,
69
+ "p50": 1.0,
70
+ "p75": 1.0
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 397,
75
+ "n_finite": 130,
76
+ "mean": 0.014836809096428065,
77
+ "median": 0.0001746217409769694,
78
+ "std": 0.03040119842067867,
79
+ "iqr": 0.01615330080191294,
80
+ "skew": 4.132356837383016,
81
+ "kurtosis_excess": 24.16247793076342,
82
+ "min": 0.0,
83
+ "max": 0.24338624874750772,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 130,
87
+ "fraction": 1.0
88
+ },
89
+ "<0.5": {
90
+ "count": 130,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.0,
99
+ "p50": 0.0001746217409769694,
100
+ "p75": 0.01615330080191294
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 397,
105
+ "n_finite": 130,
106
+ "mean": 0.025726646167737403,
107
+ "median": 0.0,
108
+ "std": 0.063476341318773,
109
+ "iqr": 0.0,
110
+ "skew": 2.8276596952739883,
111
+ "kurtosis_excess": 7.9741798379926525,
112
+ "min": 0.0,
113
+ "max": 0.3333333333333333,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 128,
117
+ "fraction": 0.9846153846153847
118
+ },
119
+ "<0.5": {
120
+ "count": 130,
121
+ "fraction": 1.0
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.0,
129
+ "p50": 0.0,
130
+ "p75": 0.0
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 6271,
135
+ "n_finite": 6255,
136
+ "mean": 0.9279358742715453,
137
+ "median": 1.0,
138
+ "std": 0.20297308269003086,
139
+ "iqr": 0.0,
140
+ "skew": -3.2657696938304155,
141
+ "kurtosis_excess": 10.42094801344237,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 225,
147
+ "fraction": 0.03597122302158273
148
+ },
149
+ "<0.5": {
150
+ "count": 296,
151
+ "fraction": 0.047322142286171064
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.5,
157
+ "p10": 0.75,
158
+ "p25": 1.0,
159
+ "p50": 1.0,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/nucls_main.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "nucls_main",
3
+ "num_classes": 7,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 1688,
9
+ "n_skipped_graphs": 6,
10
+ "n_nodes_total": 52054,
11
+ "n_isolated_total": 37,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 1688,
15
+ "n_finite": 1688,
16
+ "mean": 0.7933670110929917,
17
+ "median": 0.813873291015625,
18
+ "std": 0.1875181571981569,
19
+ "iqr": 0.3530210852622986,
20
+ "skew": -0.5067426216009984,
21
+ "kurtosis_excess": -0.7787538820405562,
22
+ "min": 0.1666666716337204,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 4,
27
+ "fraction": 0.002369668246445498
28
+ },
29
+ "<0.5": {
30
+ "count": 118,
31
+ "fraction": 0.06990521327014218
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3477107438445091,
36
+ "p5": 0.46666666865348816,
37
+ "p10": 0.528541910648346,
38
+ "p25": 0.6469789147377014,
39
+ "p50": 0.813873291015625,
40
+ "p75": 1.0
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 1688,
45
+ "n_finite": 1688,
46
+ "mean": 0.796952496913937,
47
+ "median": 0.8171342611312866,
48
+ "std": 0.1836757641755041,
49
+ "iqr": 0.3471735119819641,
50
+ "skew": -0.5301646197983237,
51
+ "kurtosis_excess": -0.6723893948863444,
52
+ "min": 0.12916667759418488,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 5,
57
+ "fraction": 0.002962085308056872
58
+ },
59
+ "<0.5": {
60
+ "count": 114,
61
+ "fraction": 0.06753554502369669
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.36058529287576674,
66
+ "p5": 0.47653769999742507,
67
+ "p10": 0.5393486022949219,
68
+ "p25": 0.6528264880180359,
69
+ "p50": 0.8171342611312866,
70
+ "p75": 1.0
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 1688,
75
+ "n_finite": 1206,
76
+ "mean": 0.052391407789426685,
77
+ "median": 0.04161520550648372,
78
+ "std": 0.04720954355662489,
79
+ "iqr": 0.06781129539012909,
80
+ "skew": 1.0757039032566125,
81
+ "kurtosis_excess": 1.439960540994334,
82
+ "min": 0.0,
83
+ "max": 0.3190737764040629,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 1205,
87
+ "fraction": 0.9991708126036484
88
+ },
89
+ "<0.5": {
90
+ "count": 1206,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.013308655470609665,
99
+ "p50": 0.04161520550648372,
100
+ "p75": 0.08111995086073875
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 1688,
105
+ "n_finite": 1199,
106
+ "mean": 0.21222361902076878,
107
+ "median": 0.17264577869576136,
108
+ "std": 0.19317429323097632,
109
+ "iqr": 0.3180896707296104,
110
+ "skew": 0.8707110176237621,
111
+ "kurtosis_excess": 0.5294110760175483,
112
+ "min": 0.0,
113
+ "max": 1.0,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 826,
117
+ "fraction": 0.6889074228523769
118
+ },
119
+ "<0.5": {
120
+ "count": 1093,
121
+ "fraction": 0.9115929941618015
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.02772393511782345,
129
+ "p50": 0.17264577869576136,
130
+ "p75": 0.34581360584743387
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 52054,
135
+ "n_finite": 52017,
136
+ "mean": 0.7973702655354294,
137
+ "median": 1.0,
138
+ "std": 0.2766101272830177,
139
+ "iqr": 0.375,
140
+ "skew": -1.2232504535186304,
141
+ "kurtosis_excess": 0.44113117582984307,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 4124,
147
+ "fraction": 0.07928177326643213
148
+ },
149
+ "<0.5": {
150
+ "count": 7450,
151
+ "fraction": 0.14322240805890382
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.20000000298023224,
157
+ "p10": 0.3333333432674408,
158
+ "p25": 0.625,
159
+ "p50": 1.0,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/nucls_super.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "nucls_super",
3
+ "num_classes": 4,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 1688,
9
+ "n_skipped_graphs": 6,
10
+ "n_nodes_total": 52054,
11
+ "n_isolated_total": 37,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 1688,
15
+ "n_finite": 1688,
16
+ "mean": 0.8215602231587138,
17
+ "median": 0.8409090638160706,
18
+ "std": 0.16955892639813464,
19
+ "iqr": 0.30457665026187897,
20
+ "skew": -0.5667884646973624,
21
+ "kurtosis_excess": -0.63907481280076,
22
+ "min": 0.1666666716337204,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 3,
27
+ "fraction": 0.0017772511848341231
28
+ },
29
+ "<0.5": {
30
+ "count": 46,
31
+ "fraction": 0.027251184834123223
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.41726718604564667,
36
+ "p5": 0.528453704714775,
37
+ "p10": 0.5784774422645569,
38
+ "p25": 0.695423349738121,
39
+ "p50": 0.8409090638160706,
40
+ "p75": 1.0
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 1688,
45
+ "n_finite": 1688,
46
+ "mean": 0.8246984623319589,
47
+ "median": 0.8419413864612579,
48
+ "std": 0.16594420886723035,
49
+ "iqr": 0.2975262552499771,
50
+ "skew": -0.5832565230789787,
51
+ "kurtosis_excess": -0.5480298175243461,
52
+ "min": 0.1666666716337204,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 3,
57
+ "fraction": 0.0017772511848341231
58
+ },
59
+ "<0.5": {
60
+ "count": 47,
61
+ "fraction": 0.027843601895734597
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.42412428110837935,
66
+ "p5": 0.5376136004924774,
67
+ "p10": 0.5866111278533935,
68
+ "p25": 0.7024737447500229,
69
+ "p50": 0.8419413864612579,
70
+ "p75": 1.0
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 1688,
75
+ "n_finite": 1139,
76
+ "mean": 0.09435160920124218,
77
+ "median": 0.07558371623357137,
78
+ "std": 0.08565048966643714,
79
+ "iqr": 0.12267334262530008,
80
+ "skew": 1.0617117599407173,
81
+ "kurtosis_excess": 1.5412167434897226,
82
+ "min": 0.0,
83
+ "max": 0.6381475528081259,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 1118,
87
+ "fraction": 0.9815627743634767
88
+ },
89
+ "<0.5": {
90
+ "count": 1138,
91
+ "fraction": 0.9991220368744512
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.022193113962809242,
99
+ "p50": 0.07558371623357137,
100
+ "p75": 0.14486645658810932
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 1688,
105
+ "n_finite": 1133,
106
+ "mean": 0.22973282154591693,
107
+ "median": 0.19640172858392288,
108
+ "std": 0.20264795244276892,
109
+ "iqr": 0.341826945309584,
110
+ "skew": 0.7271137350647913,
111
+ "kurtosis_excess": 0.11418944492156591,
112
+ "min": 0.0,
113
+ "max": 1.0,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 723,
117
+ "fraction": 0.6381288614298323
118
+ },
119
+ "<0.5": {
120
+ "count": 1009,
121
+ "fraction": 0.8905560458958517
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.034339976842952154,
129
+ "p50": 0.19640172858392288,
130
+ "p75": 0.37616692215253617
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 52054,
135
+ "n_finite": 52017,
136
+ "mean": 0.8313523576885062,
137
+ "median": 1.0,
138
+ "std": 0.25278670435175027,
139
+ "iqr": 0.2857142686843872,
140
+ "skew": -1.448091894138036,
141
+ "kurtosis_excess": 1.2001844264469383,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 2889,
147
+ "fraction": 0.05553953515196955
148
+ },
149
+ "<0.5": {
150
+ "count": 5600,
151
+ "fraction": 0.10765711209796797
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.25,
157
+ "p10": 0.4000000059604645,
158
+ "p25": 0.7142857313156128,
159
+ "p50": 1.0,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/pannuke_20x.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "pannuke_20x",
3
+ "num_classes": 5,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 7046,
9
+ "n_skipped_graphs": 160,
10
+ "n_nodes_total": 162254,
11
+ "n_isolated_total": 13,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 7046,
15
+ "n_finite": 7046,
16
+ "mean": 0.7484773117610077,
17
+ "median": 0.75,
18
+ "std": 0.1909884973215437,
19
+ "iqr": 0.3190009593963623,
20
+ "skew": -0.27907679983913974,
21
+ "kurtosis_excess": -0.743488076101837,
22
+ "min": 0.0,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 52,
27
+ "fraction": 0.007380073800738007
28
+ },
29
+ "<0.5": {
30
+ "count": 691,
31
+ "fraction": 0.09806982685211467
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3181818127632141,
36
+ "p5": 0.4285714328289032,
37
+ "p10": 0.5,
38
+ "p25": 0.6000000238418579,
39
+ "p50": 0.75,
40
+ "p75": 0.9190009832382202
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 7046,
45
+ "n_finite": 7046,
46
+ "mean": 0.750970810943627,
47
+ "median": 0.7535466253757477,
48
+ "std": 0.1884468577463069,
49
+ "iqr": 0.3076084107160568,
50
+ "skew": -0.2871232118202991,
51
+ "kurtosis_excess": -0.7011719538018699,
52
+ "min": 0.0,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 47,
57
+ "fraction": 0.006670451319897814
58
+ },
59
+ "<0.5": {
60
+ "count": 708,
61
+ "fraction": 0.10048254328697133
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.3277480319142342,
66
+ "p5": 0.43793290108442307,
67
+ "p10": 0.49949903786182404,
68
+ "p25": 0.6083782911300659,
69
+ "p50": 0.7535466253757477,
70
+ "p75": 0.9159867018461227
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 7046,
75
+ "n_finite": 5579,
76
+ "mean": 0.04267172099994724,
77
+ "median": 0.024038463830947876,
78
+ "std": 0.04927734461891891,
79
+ "iqr": 0.07225615903735161,
80
+ "skew": 1.2068897169203223,
81
+ "kurtosis_excess": 0.9410390813357168,
82
+ "min": 0.0,
83
+ "max": 0.3042513430118561,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 5578,
87
+ "fraction": 0.9998207564079584
88
+ },
89
+ "<0.5": {
90
+ "count": 5579,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.00019700825214385986,
99
+ "p50": 0.024038463830947876,
100
+ "p75": 0.07245316728949547
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 7046,
105
+ "n_finite": 5576,
106
+ "mean": 0.12667539667293942,
107
+ "median": 0.0648508231164672,
108
+ "std": 0.15254621219753273,
109
+ "iqr": 0.21923369067222975,
110
+ "skew": 1.1382473859413031,
111
+ "kurtosis_excess": 0.4703070825999638,
112
+ "min": 0.0,
113
+ "max": 0.7524613584948592,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 4698,
117
+ "fraction": 0.8425394548063128
118
+ },
119
+ "<0.5": {
120
+ "count": 5438,
121
+ "fraction": 0.9752510760401721
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.0,
129
+ "p50": 0.0648508231164672,
130
+ "p75": 0.21923369067222975
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 162254,
135
+ "n_finite": 162241,
136
+ "mean": 0.7601892058500586,
137
+ "median": 0.8333333134651184,
138
+ "std": 0.2932071938809333,
139
+ "iqr": 0.3999999761581421,
140
+ "skew": -1.0738822583344432,
141
+ "kurtosis_excess": 0.09971553456792526,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 16977,
147
+ "fraction": 0.10464062721506893
148
+ },
149
+ "<0.5": {
150
+ "count": 27299,
151
+ "fraction": 0.16826202994310932
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.1666666716337204,
157
+ "p10": 0.2857142984867096,
158
+ "p25": 0.6000000238418579,
159
+ "p50": 0.8333333134651184,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }
studies/homophily/paper_metrics/tail_metrics/pannuke_40x.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "pannuke_40x",
3
+ "num_classes": 5,
4
+ "thresholds": [
5
+ 0.3,
6
+ 0.5
7
+ ],
8
+ "n_graphs_used": 7048,
9
+ "n_skipped_graphs": 160,
10
+ "n_nodes_total": 162257,
11
+ "n_isolated_total": 16,
12
+ "stats": {
13
+ "per_graph_h_edge": {
14
+ "n": 7048,
15
+ "n_finite": 7048,
16
+ "mean": 0.7484690052532209,
17
+ "median": 0.75,
18
+ "std": 0.19094510779590504,
19
+ "iqr": 0.3189188838005066,
20
+ "skew": -0.2789778936074513,
21
+ "kurtosis_excess": -0.7430595953747865,
22
+ "min": 0.0,
23
+ "max": 1.0,
24
+ "tail_below": {
25
+ "<0.3": {
26
+ "count": 51,
27
+ "fraction": 0.007236095346197503
28
+ },
29
+ "<0.5": {
30
+ "count": 698,
31
+ "fraction": 0.09903518728717367
32
+ }
33
+ },
34
+ "percentiles": {
35
+ "p1": 0.3181818127632141,
36
+ "p5": 0.43203317672014235,
37
+ "p10": 0.5,
38
+ "p25": 0.6000000238418579,
39
+ "p50": 0.75,
40
+ "p75": 0.9189189076423645
41
+ }
42
+ },
43
+ "per_graph_h_node": {
44
+ "n": 7048,
45
+ "n_finite": 7048,
46
+ "mean": 0.7510002441387137,
47
+ "median": 0.7530240714550018,
48
+ "std": 0.1883890284741148,
49
+ "iqr": 0.3063238710165024,
50
+ "skew": -0.2866705729910052,
51
+ "kurtosis_excess": -0.7021646001241559,
52
+ "min": 0.0,
53
+ "max": 1.0,
54
+ "tail_below": {
55
+ "<0.3": {
56
+ "count": 46,
57
+ "fraction": 0.0065266742338251985
58
+ },
59
+ "<0.5": {
60
+ "count": 708,
61
+ "fraction": 0.10045402951191827
62
+ }
63
+ },
64
+ "percentiles": {
65
+ "p1": 0.3277996191382408,
66
+ "p5": 0.4378887593746185,
67
+ "p10": 0.49920313358306884,
68
+ "p25": 0.6092124283313751,
69
+ "p50": 0.7530240714550018,
70
+ "p75": 0.9155362993478775
71
+ }
72
+ },
73
+ "per_graph_h_class": {
74
+ "n": 7048,
75
+ "n_finite": 5580,
76
+ "mean": 0.0425934751167573,
77
+ "median": 0.02396533265709877,
78
+ "std": 0.04917687389301585,
79
+ "iqr": 0.0719608161598444,
80
+ "skew": 1.2048527878635722,
81
+ "kurtosis_excess": 0.9273423815522928,
82
+ "min": 0.0,
83
+ "max": 0.3042513430118561,
84
+ "tail_below": {
85
+ "<0.3": {
86
+ "count": 5579,
87
+ "fraction": 0.999820788530466
88
+ },
89
+ "<0.5": {
90
+ "count": 5580,
91
+ "fraction": 1.0
92
+ }
93
+ },
94
+ "percentiles": {
95
+ "p1": 0.0,
96
+ "p5": 0.0,
97
+ "p10": 0.0,
98
+ "p25": 0.00017042458057403564,
99
+ "p50": 0.02396533265709877,
100
+ "p75": 0.07213124074041843
101
+ }
102
+ },
103
+ "per_graph_h_adj": {
104
+ "n": 7048,
105
+ "n_finite": 5577,
106
+ "mean": 0.12655241010057647,
107
+ "median": 0.06530852677994826,
108
+ "std": 0.1522533924898664,
109
+ "iqr": 0.22061859290700467,
110
+ "skew": 1.1391816014753764,
111
+ "kurtosis_excess": 0.47484346971206515,
112
+ "min": 0.0,
113
+ "max": 0.7524613584948592,
114
+ "tail_below": {
115
+ "<0.3": {
116
+ "count": 4707,
117
+ "fraction": 0.8440021516944594
118
+ },
119
+ "<0.5": {
120
+ "count": 5439,
121
+ "fraction": 0.9752555137170522
122
+ }
123
+ },
124
+ "percentiles": {
125
+ "p1": 0.0,
126
+ "p5": 0.0,
127
+ "p10": 0.0,
128
+ "p25": 0.0,
129
+ "p50": 0.06530852677994826,
130
+ "p75": 0.22061859290700467
131
+ }
132
+ },
133
+ "per_node_h_node": {
134
+ "n": 162257,
135
+ "n_finite": 162241,
136
+ "mean": 0.7601468221686545,
137
+ "median": 0.8333333134651184,
138
+ "std": 0.2932252836447905,
139
+ "iqr": 0.3999999761581421,
140
+ "skew": -1.0732251290305812,
141
+ "kurtosis_excess": 0.0975533321457398,
142
+ "min": 0.0,
143
+ "max": 1.0,
144
+ "tail_below": {
145
+ "<0.3": {
146
+ "count": 16997,
147
+ "fraction": 0.10476390061698337
148
+ },
149
+ "<0.5": {
150
+ "count": 27299,
151
+ "fraction": 0.16826202994310932
152
+ }
153
+ },
154
+ "percentiles": {
155
+ "p1": 0.0,
156
+ "p5": 0.1666666716337204,
157
+ "p10": 0.2857142984867096,
158
+ "p25": 0.6000000238418579,
159
+ "p50": 0.8333333134651184,
160
+ "p75": 1.0
161
+ }
162
+ }
163
+ }
164
+ }