Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -874,21 +874,24 @@ VALIDATION = f"""
|
|
| 874 |
</div>
|
| 875 |
</div>
|
| 876 |
|
| 877 |
-
<div style="
|
| 878 |
-
<div style="color:#
|
| 879 |
-
<div style="color:#
|
|
|
|
| 880 |
</div>
|
| 881 |
-
<img src="data:image/png;base64,{VAL_B64}" style="width:100%;border-radius:6px;margin-bottom:
|
| 882 |
|
| 883 |
-
<div style="margin:0 0
|
| 884 |
-
<div style="color:#
|
| 885 |
-
<div style="color:#
|
|
|
|
| 886 |
</div>
|
| 887 |
-
<img src="data:image/png;base64,{AUC_B64}" style="width:100%;border-radius:6px;margin-bottom:
|
| 888 |
|
| 889 |
-
<div style="margin:0 0
|
| 890 |
-
<div style="color:#
|
| 891 |
-
<div style="color:#
|
|
|
|
| 892 |
</div>
|
| 893 |
<div style="background:#161922;border:1px solid #252a35;border-radius:8px;overflow:hidden">
|
| 894 |
<table style="width:100%;border-collapse:collapse;font-size:0.86rem">
|
|
@@ -908,9 +911,10 @@ VALIDATION = f"""
|
|
| 908 |
<span style="color:#cbd5e1">Zero confident misclassifications across 5 unseen sites.</span>
|
| 909 |
</div>
|
| 910 |
|
| 911 |
-
<div style="
|
| 912 |
-
<div style="color:#
|
| 913 |
-
<div style="color:#
|
|
|
|
| 914 |
</div>
|
| 915 |
<div style="display:grid;grid-template-columns:1fr 1fr;gap:14px">
|
| 916 |
|
|
|
|
| 874 |
</div>
|
| 875 |
</div>
|
| 876 |
|
| 877 |
+
<div style="border-left:3px solid #22c55e;background:#0f1f14;border-radius:0 8px 8px 0;padding:14px 18px;margin:24px 0 14px">
|
| 878 |
+
<div style="color:#22c55e;font-size:0.7rem;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;margin-bottom:5px">01 · Demo cohort</div>
|
| 879 |
+
<div style="color:#f4f4f5;font-size:1rem;font-weight:600;margin-bottom:6px">5 held-out sites · 10 subjects · never seen during training</div>
|
| 880 |
+
<div style="color:#8b95a7;font-size:0.84rem;line-height:1.65">Two subjects per site were randomly drawn from the ABIDE I pool. The fold model was trained on <em>all other 19 sites</em> — these institutions were completely blind to it. Green = definitive correct, orange = correctly flagged inconclusive.</div>
|
| 881 |
</div>
|
| 882 |
+
<img src="data:image/png;base64,{VAL_B64}" style="width:100%;border-radius:6px;margin-bottom:32px;border:1px solid #252a35"/>
|
| 883 |
|
| 884 |
+
<div style="border-left:3px solid #ef4444;background:#1a0f0f;border-radius:0 8px 8px 0;padding:14px 18px;margin:0 0 14px">
|
| 885 |
+
<div style="color:#ef4444;font-size:0.7rem;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;margin-bottom:5px">02 · Full 20-fold LOSO</div>
|
| 886 |
+
<div style="color:#f4f4f5;font-size:1rem;font-weight:600;margin-bottom:6px">1,102 subjects · every subject is test-only exactly once</div>
|
| 887 |
+
<div style="color:#8b95a7;font-size:0.84rem;line-height:1.65">Each bar is one site's model evaluated on held-out subjects from that site. Mean AUC <span style="color:#ef4444;font-weight:600">0.7298</span> across all 20 folds. All published baselines use same-site train/test — cross-site is a fundamentally harder bar.</div>
|
| 888 |
</div>
|
| 889 |
+
<img src="data:image/png;base64,{AUC_B64}" style="width:100%;border-radius:6px;margin-bottom:32px;border:1px solid #252a35"/>
|
| 890 |
|
| 891 |
+
<div style="border-left:3px solid #f59e0b;background:#181208;border-radius:0 8px 8px 0;padding:14px 18px;margin:0 0 14px">
|
| 892 |
+
<div style="color:#f59e0b;font-size:0.7rem;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;margin-bottom:5px">03 · Subject-level predictions</div>
|
| 893 |
+
<div style="color:#f4f4f5;font-size:1rem;font-weight:600;margin-bottom:6px">Inconclusive threshold · clinical safety over forced errors</div>
|
| 894 |
+
<div style="color:#8b95a7;font-size:0.84rem;line-height:1.65">When 0.4 < p < 0.6 the model flags the case for human review rather than committing to a label. On this cohort: <span style="color:#f59e0b;font-weight:600">2 correctly deferred</span>, zero confident misclassifications.</div>
|
| 895 |
</div>
|
| 896 |
<div style="background:#161922;border:1px solid #252a35;border-radius:8px;overflow:hidden">
|
| 897 |
<table style="width:100%;border-collapse:collapse;font-size:0.86rem">
|
|
|
|
| 911 |
<span style="color:#cbd5e1">Zero confident misclassifications across 5 unseen sites.</span>
|
| 912 |
</div>
|
| 913 |
|
| 914 |
+
<div style="border-left:3px solid #818cf8;background:#10101e;border-radius:0 8px 8px 0;padding:14px 18px;margin:32px 0 14px">
|
| 915 |
+
<div style="color:#818cf8;font-size:0.7rem;text-transform:uppercase;letter-spacing:1.5px;font-weight:600;margin-bottom:5px">04 · Breakdown & baselines</div>
|
| 916 |
+
<div style="color:#f4f4f5;font-size:1rem;font-weight:600;margin-bottom:6px">100% sensitivity · 100% specificity on definitive predictions</div>
|
| 917 |
+
<div style="color:#8b95a7;font-size:0.84rem;line-height:1.65">Confusion matrix is over definitive-only cases (p > 0.6 or p < 0.4). Right: comparison against published ABIDE results — all prior work used same-site splits, making them incomparable in a clinical deployment context.</div>
|
| 918 |
</div>
|
| 919 |
<div style="display:grid;grid-template-columns:1fr 1fr;gap:14px">
|
| 920 |
|