Datasets:
downstream docs: user-ready sidecar + fallback_rate key + precompute note
Browse files- downstream/README.md +10 -9
downstream/README.md
CHANGED
|
@@ -9,7 +9,7 @@ downstream/<method>.meta.json # display + diagnostic sidecar
|
|
| 9 |
```
|
| 10 |
|
| 11 |
See `SCHEMA.md` for the exact column / field schema (including the
|
| 12 |
-
`
|
| 13 |
|
| 14 |
Unlike Tracks 2/3 (per-user MAE), Track-1's headline metrics — binary AUPRC, ordinal
|
| 15 |
Spearman, regression Pearson — are cohort-level ranking / correlation metrics that do
|
|
@@ -21,10 +21,11 @@ server-side against the `linear` baseline.
|
|
| 21 |
|
| 22 |
The substrate parquets are the canonical inputs for:
|
| 23 |
|
| 24 |
-
- The OpenMHC HF Space (`MyHeartCounts/OpenMHC`) —
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
- Independent re-aggregation (the reducers in `scripts/paper_results/downstream/`).
|
| 29 |
- The cluster-bootstrap reference at `downstream/bootstrap/` (per-draw CIs) is reduced
|
| 30 |
from these substrates, so any change here must be matched by a bootstrap refresh.
|
|
@@ -43,14 +44,14 @@ parquet = hf_hub_download(
|
|
| 43 |
df = pd.read_parquet(parquet)
|
| 44 |
print(df.shape, df.columns.tolist())
|
| 45 |
|
| 46 |
-
# Display + diagnostic sidecar (incl.
|
| 47 |
meta_p = hf_hub_download(
|
| 48 |
"MyHeartCounts/OpenMHC-leaderboard-data",
|
| 49 |
"downstream/xgboost.meta.json",
|
| 50 |
repo_type="dataset",
|
| 51 |
)
|
| 52 |
print(json.loads(open(meta_p).read()))
|
| 53 |
-
# -> {"display_name": "XGBoost", "type": "Statistical", ..., "
|
| 54 |
```
|
| 55 |
|
| 56 |
## Pooled substrate
|
|
@@ -66,9 +67,9 @@ pooled = pd.concat(
|
|
| 66 |
)
|
| 67 |
```
|
| 68 |
|
| 69 |
-
## `
|
| 70 |
|
| 71 |
-
Each sidecar carries `
|
| 72 |
test predictions the harness left non-finite and substituted with the `linear` baseline
|
| 73 |
before scoring. `wbm` is the only non-zero method (it embeds only participants with a
|
| 74 |
full weekly window); the rest are `0.0`. A high rate means the headline scores partly
|
|
|
|
| 9 |
```
|
| 10 |
|
| 11 |
See `SCHEMA.md` for the exact column / field schema (including the
|
| 12 |
+
`fallback_rate` diagnostic), and `bootstrap/` for the per-draw CI reference.
|
| 13 |
|
| 14 |
Unlike Tracks 2/3 (per-user MAE), Track-1's headline metrics — binary AUPRC, ordinal
|
| 15 |
Spearman, regression Pearson — are cohort-level ranking / correlation metrics that do
|
|
|
|
| 21 |
|
| 22 |
The substrate parquets are the canonical inputs for:
|
| 23 |
|
| 24 |
+
- The OpenMHC HF Space (`MyHeartCounts/OpenMHC`) — the live leaderboard table (skill /
|
| 25 |
+
fair-skill / mean-rank vs the `linear` baseline). Track-1's headline scores are
|
| 26 |
+
paired-bootstrap means, too heavy to reduce on each page load, so the maintainers reduce
|
| 27 |
+
these substrates offline and publish the per-method rows as `downstream/leaderboard_rows.json`,
|
| 28 |
+
which the Space reads directly.
|
| 29 |
- Independent re-aggregation (the reducers in `scripts/paper_results/downstream/`).
|
| 30 |
- The cluster-bootstrap reference at `downstream/bootstrap/` (per-draw CIs) is reduced
|
| 31 |
from these substrates, so any change here must be matched by a bootstrap refresh.
|
|
|
|
| 44 |
df = pd.read_parquet(parquet)
|
| 45 |
print(df.shape, df.columns.tolist())
|
| 46 |
|
| 47 |
+
# Display + diagnostic sidecar (incl. fallback_rate)
|
| 48 |
meta_p = hf_hub_download(
|
| 49 |
"MyHeartCounts/OpenMHC-leaderboard-data",
|
| 50 |
"downstream/xgboost.meta.json",
|
| 51 |
repo_type="dataset",
|
| 52 |
)
|
| 53 |
print(json.loads(open(meta_p).read()))
|
| 54 |
+
# -> {"display_name": "XGBoost", "type": "Statistical", ..., "fallback_rate": 0.0}
|
| 55 |
```
|
| 56 |
|
| 57 |
## Pooled substrate
|
|
|
|
| 67 |
)
|
| 68 |
```
|
| 69 |
|
| 70 |
+
## `fallback_rate`
|
| 71 |
|
| 72 |
+
Each sidecar carries `fallback_rate` — the fraction of the method's
|
| 73 |
test predictions the harness left non-finite and substituted with the `linear` baseline
|
| 74 |
before scoring. `wbm` is the only non-zero method (it embeds only participants with a
|
| 75 |
full weekly window); the rest are `0.0`. A high rate means the headline scores partly
|