Spaces:
Running

Leaderboard / data /analysis /heatmap_model.html
schaeferbasti's picture
Leaderboard v0.12.3: add LGBMGain (from Preview v0.12.13; results: SelectArena_Results@49f46580)
2517b84
Raw History Blame Contribute Delete
64.5 kB
<!doctype html>
<html lang='en'><head><meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'><title>SelectArena: improvement over Random by downstream model</title><style>
:root { --fg:#1f2328; --muted:#59636e; --bg:#ffffff; --line:#d1d9e0; --soft:#f6f8fa; --accent:#0072B2; }
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) { --fg:#e6edf3; --muted:#9198a1; --bg:#0d1117; --line:#3d444d; --soft:#151b23; --accent:#4aa3df; }
}
:root[data-theme="dark"] { --fg:#e6edf3; --muted:#9198a1; --bg:#0d1117; --line:#3d444d; --soft:#151b23; --accent:#4aa3df; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--fg);
font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.toolbar { display:flex; gap:6px; justify-content:flex-end; align-items:center; padding:4px 2px 8px; }
.toolbar .hint { margin-right:auto; color:var(--muted); font-size:12px; }
.toolbar button { font:inherit; font-size:12px; color:var(--fg); background:var(--soft);
border:1px solid var(--line); border-radius:6px; padding:3px 10px; cursor:pointer; }
.toolbar button:hover { border-color:var(--accent); }
#sa-tip { position:fixed; z-index:10; pointer-events:none; display:none; max-width:280px;
padding:6px 9px; border-radius:6px; border:1px solid var(--line); background:var(--bg); color:var(--fg);
font-size:12px; line-height:1.45; white-space:pre-line; box-shadow:0 2px 8px rgba(0,0,0,0.15); }
#sa-tip b { font-weight:600; }
</style></head><body><div class='toolbar'><span class='hint'>Hover or tap a cell for its values.</span><button onclick="saSvg('selectarena_improvement_by_model_groups')">SVG</button><button onclick="saPng('selectarena_improvement_by_model_groups')">PNG</button><button onclick="saPdf('selectarena_improvement_by_model_groups')">PDF</button><button onclick="saCsv('selectarena_improvement_by_model_groups.csv')">CSV</button></div><svg id='sa-figure' viewBox='0 0 710 697' role='img' aria-label='Improvement over Random of each method per downstream model' style='max-width:816px;margin:0 auto'><style>
svg { display:block; width:100%; height:auto; }
.sa-text { fill:var(--fg); }
.sa-muted { fill:var(--muted); }
.sa-grid { stroke:var(--line); }
.sa-ink { stroke:var(--fg); }
.sa-hit { fill:transparent; cursor:default; }
.sa-hit:hover, .sa-hit.sa-on { fill:var(--fg); fill-opacity:0.06; }
.sa-dim { fill:var(--muted); }
.sa-frame-line { stroke:var(--fg); stroke-opacity:0.3; fill:none; }
.sa-point { stroke:var(--fg); }
.sa-legend { fill:var(--bg); stroke:var(--line); }
.sa-heat { image-rendering:pixelated; image-rendering:crisp-edges; }
.sa-halo { paint-order:stroke; stroke:var(--bg); stroke-width:3px; stroke-opacity:0.7; }
.sa-hollow { fill:var(--bg); stroke:var(--fg); } .sa-ci-none { stroke:var(--muted); }</style><text class='sa-text' x='174.0' y='32' text-anchor='middle' font-size='12' font-weight='700'>All</text><text class='sa-muted' x='174.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='280.0' y='32' text-anchor='middle' font-size='12' font-weight='600'>LightGBM</text><text class='sa-muted' x='280.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='372.0' y='32' text-anchor='middle' font-size='12' font-weight='600'>LinearModel</text><text class='sa-muted' x='372.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='464.0' y='32' text-anchor='middle' font-size='12' font-weight='600'>RandomForest</text><text class='sa-muted' x='464.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='556.0' y='32' text-anchor='middle' font-size='12' font-weight='600'>RealMLP</text><text class='sa-muted' x='556.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='648.0' y='32' text-anchor='middle' font-size='12' font-weight='600'>TabICLv2</text><text class='sa-muted' x='648.0' y='48' text-anchor='middle' font-size='11'>71 datasets</text><text class='sa-text' x='8.0' y='74.5' font-size='12'>LGBMGain</text><text class='sa-text' x='8.0' y='99.5' font-size='12'>CD-PFN</text><text class='sa-text' x='8.0' y='124.5' font-size='12'>RFImportance</text><text class='sa-text' x='8.0' y='149.5' font-size='12'>PACE-HSIC</text><text class='sa-text' x='8.0' y='174.5' font-size='12'>LassoNet</text><text class='sa-text' x='8.0' y='199.5' font-size='12'>PACE-DC</text><text class='sa-text' x='8.0' y='224.5' font-size='12'>MI</text><text class='sa-text' x='8.0' y='249.5' font-size='12'>CART</text><text class='sa-text' x='8.0' y='274.5' font-size='12'>F-Test</text><text class='sa-text' x='8.0' y='299.5' font-size='12'>PACE-SIS</text><text class='sa-text' x='8.0' y='324.5' font-size='12'>ElasticNet</text><text class='sa-text' x='8.0' y='349.5' font-size='12'>mRMR</text><text class='sa-text' x='8.0' y='374.5' font-size='12'>MarkovBlanket</text><text class='sa-text' x='8.0' y='399.5' font-size='12'>CPI</text><text class='sa-text' x='8.0' y='424.5' font-size='12'>Lasso</text><text class='sa-text' x='8.0' y='449.5' font-size='12'>SHAP</text><text class='sa-text' x='8.0' y='474.5' font-size='12'>GainRatio</text><text class='sa-text' x='8.0' y='499.5' font-size='12'>(R)ReliefF</text><text class='sa-text' x='8.0' y='524.5' font-size='12'>SFS</text><text class='sa-text' x='8.0' y='549.5' font-size='12'>LOCO</text><text class='sa-text' x='8.0' y='574.5' font-size='12'>SBE</text><text class='sa-text' x='8.0' y='599.5' font-size='12'>Random</text><text class='sa-text' x='8.0' y='624.5' font-size='12'>LaplacianScore</text><rect x='129.0' y='59.0' width='90' height='23' rx='3' fill='#08509b'/><rect class='sa-ink' x='129.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='174.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>28.2</text><rect class='sa-hit' x='128.0' y='58.0' width='92' height='25' data-tip='LGBMGain · All&#10;Improvement over Random +28.2%: place 1 of 23 (best)&#10;71 datasets'/><rect x='129.0' y='84.0' width='90' height='23' rx='3' fill='#0d57a1'/><text x='174.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.1</text><rect class='sa-hit' x='128.0' y='83.0' width='92' height='25' data-tip='CD-PFN · All&#10;Improvement over Random +27.1%: place 2 of 23&#10;71 datasets'/><rect x='129.0' y='109.0' width='90' height='23' rx='3' fill='#125da6'/><text x='174.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.2</text><rect class='sa-hit' x='128.0' y='108.0' width='92' height='25' data-tip='RFImportance · All&#10;Improvement over Random +26.2%: place 3 of 23&#10;71 datasets'/><rect x='129.0' y='134.0' width='90' height='23' rx='3' fill='#135fa7'/><text x='174.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.0</text><rect class='sa-hit' x='128.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · All&#10;Improvement over Random +26.0%: place 4 of 23&#10;71 datasets'/><rect x='129.0' y='159.0' width='90' height='23' rx='3' fill='#1562a9'/><text x='174.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.6</text><rect class='sa-hit' x='128.0' y='158.0' width='92' height='25' data-tip='LassoNet · All&#10;Improvement over Random +25.6%: place 5 of 23&#10;71 datasets'/><rect x='129.0' y='184.0' width='90' height='23' rx='3' fill='#1865ac'/><text x='174.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.2</text><rect class='sa-hit' x='128.0' y='183.0' width='92' height='25' data-tip='PACE-DC · All&#10;Improvement over Random +25.2%: place 6 of 23&#10;71 datasets'/><rect x='129.0' y='209.0' width='90' height='23' rx='3' fill='#1f6eb3'/><text x='174.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.8</text><rect class='sa-hit' x='128.0' y='208.0' width='92' height='25' data-tip='MI · All&#10;Improvement over Random +23.8%: place 7 of 23&#10;71 datasets'/><rect x='129.0' y='234.0' width='90' height='23' rx='3' fill='#1f6eb3'/><text x='174.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.8</text><rect class='sa-hit' x='128.0' y='233.0' width='92' height='25' data-tip='CART · All&#10;Improvement over Random +23.8%: place 8 of 23&#10;71 datasets'/><rect x='129.0' y='259.0' width='90' height='23' rx='3' fill='#2575b7'/><text x='174.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.8</text><rect class='sa-hit' x='128.0' y='258.0' width='92' height='25' data-tip='F-Test · All&#10;Improvement over Random +22.8%: place 9 of 23&#10;71 datasets'/><rect x='129.0' y='284.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='174.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.4</text><rect class='sa-hit' x='128.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · All&#10;Improvement over Random +22.4%: place 10 of 23&#10;71 datasets'/><rect x='129.0' y='309.0' width='90' height='23' rx='3' fill='#2c7cba'/><text x='174.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.9</text><rect class='sa-hit' x='128.0' y='308.0' width='92' height='25' data-tip='ElasticNet · All&#10;Improvement over Random +21.9%: place 11 of 23&#10;71 datasets'/><rect x='129.0' y='334.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='174.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.7</text><rect class='sa-hit' x='128.0' y='333.0' width='92' height='25' data-tip='mRMR · All&#10;Improvement over Random +21.7%: place 12 of 23&#10;71 datasets'/><rect x='129.0' y='359.0' width='90' height='23' rx='3' fill='#3181bd'/><text x='174.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.2</text><rect class='sa-hit' x='128.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · All&#10;Improvement over Random +21.2%: place 13 of 23&#10;71 datasets'/><rect x='129.0' y='384.0' width='90' height='23' rx='3' fill='#3282be'/><text x='174.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.1</text><rect class='sa-hit' x='128.0' y='383.0' width='92' height='25' data-tip='CPI · All&#10;Improvement over Random +21.1%: place 14 of 23&#10;71 datasets'/><rect x='129.0' y='409.0' width='90' height='23' rx='3' fill='#3383be'/><text x='174.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.9</text><rect class='sa-hit' x='128.0' y='408.0' width='92' height='25' data-tip='Lasso · All&#10;Improvement over Random +20.9%: place 15 of 23&#10;71 datasets'/><rect x='129.0' y='434.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='174.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.6</text><rect class='sa-hit' x='128.0' y='433.0' width='92' height='25' data-tip='SHAP · All&#10;Improvement over Random +20.6%: place 16 of 23&#10;71 datasets'/><rect x='129.0' y='459.0' width='90' height='23' rx='3' fill='#3c8cc3'/><text x='174.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.5</text><rect class='sa-hit' x='128.0' y='458.0' width='92' height='25' data-tip='GainRatio · All&#10;Improvement over Random +19.5%: place 17 of 23&#10;71 datasets'/><rect x='129.0' y='484.0' width='90' height='23' rx='3' fill='#4493c7'/><text x='174.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.6</text><rect class='sa-hit' x='128.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · All&#10;Improvement over Random +18.6%: place 18 of 23&#10;71 datasets'/><rect x='129.0' y='509.0' width='90' height='23' rx='3' fill='#4896c8'/><text x='174.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.2</text><rect class='sa-hit' x='128.0' y='508.0' width='92' height='25' data-tip='SFS · All&#10;Improvement over Random +18.2%: place 19 of 23&#10;71 datasets'/><rect x='129.0' y='534.0' width='90' height='23' rx='3' fill='#77b5d9'/><text x='174.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.0</text><rect class='sa-hit' x='128.0' y='533.0' width='92' height='25' data-tip='LOCO · All&#10;Improvement over Random +13.0%: place 20 of 23&#10;71 datasets'/><rect x='129.0' y='559.0' width='90' height='23' rx='3' fill='#89bedc'/><text x='174.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>11.4</text><rect class='sa-hit' x='128.0' y='558.0' width='92' height='25' data-tip='SBE · All&#10;Improvement over Random +11.4%: place 21 of 23&#10;71 datasets'/><rect x='129.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='174.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='128.0' y='583.0' width='92' height='25' data-tip='Random · All&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='129.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='174.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-18.6</text><rect class='sa-hit' x='128.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · All&#10;Improvement over Random -18.6%: place 23 of 23&#10;71 datasets'/><rect x='235.0' y='59.0' width='90' height='23' rx='3' fill='#08519c'/><rect class='sa-ink' x='235.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='280.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>28.0</text><rect class='sa-hit' x='234.0' y='58.0' width='92' height='25' data-tip='LGBMGain · LightGBM&#10;Improvement over Random +28.0%: place 1 of 23 (best)&#10;71 datasets'/><rect x='235.0' y='84.0' width='90' height='23' rx='3' fill='#125ea6'/><text x='280.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.2</text><rect class='sa-hit' x='234.0' y='83.0' width='92' height='25' data-tip='CD-PFN · LightGBM&#10;Improvement over Random +26.2%: place 2 of 23&#10;71 datasets'/><rect x='235.0' y='109.0' width='90' height='23' rx='3' fill='#1562a9'/><text x='280.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.5</text><rect class='sa-hit' x='234.0' y='108.0' width='92' height='25' data-tip='RFImportance · LightGBM&#10;Improvement over Random +25.5%: place 3 of 23&#10;71 datasets'/><rect x='235.0' y='134.0' width='90' height='23' rx='3' fill='#1966ad'/><text x='280.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.9</text><rect class='sa-hit' x='234.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · LightGBM&#10;Improvement over Random +24.9%: place 4 of 23&#10;71 datasets'/><rect x='235.0' y='159.0' width='90' height='23' rx='3' fill='#1c6ab0'/><text x='280.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.4</text><rect class='sa-hit' x='234.0' y='158.0' width='92' height='25' data-tip='LassoNet · LightGBM&#10;Improvement over Random +24.4%: place 5 of 23&#10;71 datasets'/><rect x='235.0' y='184.0' width='90' height='23' rx='3' fill='#1f6eb3'/><text x='280.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.8</text><rect class='sa-hit' x='234.0' y='183.0' width='92' height='25' data-tip='PACE-DC · LightGBM&#10;Improvement over Random +23.8%: place 6 of 23&#10;71 datasets'/><rect x='235.0' y='209.0' width='90' height='23' rx='3' fill='#2474b7'/><text x='280.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.9</text><rect class='sa-hit' x='234.0' y='208.0' width='92' height='25' data-tip='MI · LightGBM&#10;Improvement over Random +22.9%: place 8 of 23&#10;71 datasets'/><rect x='235.0' y='234.0' width='90' height='23' rx='3' fill='#2070b4'/><text x='280.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.5</text><rect class='sa-hit' x='234.0' y='233.0' width='92' height='25' data-tip='CART · LightGBM&#10;Improvement over Random +23.5%: place 7 of 23&#10;71 datasets'/><rect x='235.0' y='259.0' width='90' height='23' rx='3' fill='#2f7fbc'/><text x='280.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.5</text><rect class='sa-hit' x='234.0' y='258.0' width='92' height='25' data-tip='F-Test · LightGBM&#10;Improvement over Random +21.5%: place 11 of 23&#10;71 datasets'/><rect x='235.0' y='284.0' width='90' height='23' rx='3' fill='#3383be'/><text x='280.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.9</text><rect class='sa-hit' x='234.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · LightGBM&#10;Improvement over Random +20.9%: place 14 of 23&#10;71 datasets'/><rect x='235.0' y='309.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='280.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.6</text><rect class='sa-hit' x='234.0' y='308.0' width='92' height='25' data-tip='ElasticNet · LightGBM&#10;Improvement over Random +21.6%: place 10 of 23&#10;71 datasets'/><rect x='235.0' y='334.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='280.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.7</text><rect class='sa-hit' x='234.0' y='333.0' width='92' height='25' data-tip='mRMR · LightGBM&#10;Improvement over Random +21.7%: place 9 of 23&#10;71 datasets'/><rect x='235.0' y='359.0' width='90' height='23' rx='3' fill='#3181bd'/><text x='280.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.2</text><rect class='sa-hit' x='234.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · LightGBM&#10;Improvement over Random +21.2%: place 12 of 23&#10;71 datasets'/><rect x='235.0' y='384.0' width='90' height='23' rx='3' fill='#3484bf'/><text x='280.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.7</text><rect class='sa-hit' x='234.0' y='383.0' width='92' height='25' data-tip='CPI · LightGBM&#10;Improvement over Random +20.7%: place 15 of 23&#10;71 datasets'/><rect x='235.0' y='409.0' width='90' height='23' rx='3' fill='#3282be'/><text x='280.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.1</text><rect class='sa-hit' x='234.0' y='408.0' width='92' height='25' data-tip='Lasso · LightGBM&#10;Improvement over Random +21.1%: place 13 of 23&#10;71 datasets'/><rect x='235.0' y='434.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='280.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.6</text><rect class='sa-hit' x='234.0' y='433.0' width='92' height='25' data-tip='SHAP · LightGBM&#10;Improvement over Random +20.6%: place 16 of 23&#10;71 datasets'/><rect x='235.0' y='459.0' width='90' height='23' rx='3' fill='#3b8bc2'/><text x='280.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.8</text><rect class='sa-hit' x='234.0' y='458.0' width='92' height='25' data-tip='GainRatio · LightGBM&#10;Improvement over Random +19.8%: place 17 of 23&#10;71 datasets'/><rect x='235.0' y='484.0' width='90' height='23' rx='3' fill='#4594c7'/><text x='280.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.5</text><rect class='sa-hit' x='234.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · LightGBM&#10;Improvement over Random +18.5%: place 18 of 23&#10;71 datasets'/><rect x='235.0' y='509.0' width='90' height='23' rx='3' fill='#4896c8'/><text x='280.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.1</text><rect class='sa-hit' x='234.0' y='508.0' width='92' height='25' data-tip='SFS · LightGBM&#10;Improvement over Random +18.1%: place 19 of 23&#10;71 datasets'/><rect x='235.0' y='534.0' width='90' height='23' rx='3' fill='#77b5d9'/><text x='280.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.0</text><rect class='sa-hit' x='234.0' y='533.0' width='92' height='25' data-tip='LOCO · LightGBM&#10;Improvement over Random +13.0%: place 20 of 23&#10;71 datasets'/><rect x='235.0' y='559.0' width='90' height='23' rx='3' fill='#7fb9da'/><text x='280.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.3</text><rect class='sa-hit' x='234.0' y='558.0' width='92' height='25' data-tip='SBE · LightGBM&#10;Improvement over Random +12.3%: place 21 of 23&#10;71 datasets'/><rect x='235.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='280.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='234.0' y='583.0' width='92' height='25' data-tip='Random · LightGBM&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='235.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='280.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-23.2</text><rect class='sa-hit' x='234.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · LightGBM&#10;Improvement over Random -23.2%: place 23 of 23&#10;71 datasets'/><rect x='327.0' y='59.0' width='90' height='23' rx='3' fill='#1561a9'/><text x='372.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.7</text><rect class='sa-hit' x='326.0' y='58.0' width='92' height='25' data-tip='LGBMGain · LinearModel&#10;Improvement over Random +25.7%: place 2 of 23&#10;71 datasets'/><rect x='327.0' y='84.0' width='90' height='23' rx='3' fill='#115ca5'/><rect class='sa-ink' x='327.5' y='84.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='372.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>26.5</text><rect class='sa-hit' x='326.0' y='83.0' width='92' height='25' data-tip='CD-PFN · LinearModel&#10;Improvement over Random +26.5%: place 1 of 23 (best)&#10;71 datasets'/><rect x='327.0' y='109.0' width='90' height='23' rx='3' fill='#1b69af'/><text x='372.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.6</text><rect class='sa-hit' x='326.0' y='108.0' width='92' height='25' data-tip='RFImportance · LinearModel&#10;Improvement over Random +24.6%: place 5 of 23&#10;71 datasets'/><rect x='327.0' y='134.0' width='90' height='23' rx='3' fill='#1a68ae'/><text x='372.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.7</text><rect class='sa-hit' x='326.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · LinearModel&#10;Improvement over Random +24.7%: place 4 of 23&#10;71 datasets'/><rect x='327.0' y='159.0' width='90' height='23' rx='3' fill='#1764ab'/><text x='372.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.2</text><rect class='sa-hit' x='326.0' y='158.0' width='92' height='25' data-tip='LassoNet · LinearModel&#10;Improvement over Random +25.2%: place 3 of 23&#10;71 datasets'/><rect x='327.0' y='184.0' width='90' height='23' rx='3' fill='#1b69af'/><text x='372.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.5</text><rect class='sa-hit' x='326.0' y='183.0' width='92' height='25' data-tip='PACE-DC · LinearModel&#10;Improvement over Random +24.5%: place 6 of 23&#10;71 datasets'/><rect x='327.0' y='209.0' width='90' height='23' rx='3' fill='#2272b6'/><text x='372.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.2</text><rect class='sa-hit' x='326.0' y='208.0' width='92' height='25' data-tip='MI · LinearModel&#10;Improvement over Random +23.2%: place 7 of 23&#10;71 datasets'/><rect x='327.0' y='234.0' width='90' height='23' rx='3' fill='#2c7cba'/><text x='372.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.0</text><rect class='sa-hit' x='326.0' y='233.0' width='92' height='25' data-tip='CART · LinearModel&#10;Improvement over Random +22.0%: place 11 of 23&#10;71 datasets'/><rect x='327.0' y='259.0' width='90' height='23' rx='3' fill='#2575b7'/><text x='372.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.9</text><rect class='sa-hit' x='326.0' y='258.0' width='92' height='25' data-tip='F-Test · LinearModel&#10;Improvement over Random +22.9%: place 9 of 23&#10;71 datasets'/><rect x='327.0' y='284.0' width='90' height='23' rx='3' fill='#2373b6'/><text x='372.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.1</text><rect class='sa-hit' x='326.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · LinearModel&#10;Improvement over Random +23.1%: place 8 of 23&#10;71 datasets'/><rect x='327.0' y='309.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='372.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.6</text><rect class='sa-hit' x='326.0' y='308.0' width='92' height='25' data-tip='ElasticNet · LinearModel&#10;Improvement over Random +22.6%: place 10 of 23&#10;71 datasets'/><rect x='327.0' y='334.0' width='90' height='23' rx='3' fill='#2d7dbb'/><text x='372.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.8</text><rect class='sa-hit' x='326.0' y='333.0' width='92' height='25' data-tip='mRMR · LinearModel&#10;Improvement over Random +21.8%: place 12 of 23&#10;71 datasets'/><rect x='327.0' y='359.0' width='90' height='23' rx='3' fill='#4090c5'/><text x='372.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.0</text><rect class='sa-hit' x='326.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · LinearModel&#10;Improvement over Random +19.0%: place 15 of 23&#10;71 datasets'/><rect x='327.0' y='384.0' width='90' height='23' rx='3' fill='#4090c5'/><text x='372.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.1</text><rect class='sa-hit' x='326.0' y='383.0' width='92' height='25' data-tip='CPI · LinearModel&#10;Improvement over Random +19.1%: place 14 of 23&#10;71 datasets'/><rect x='327.0' y='409.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='372.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.7</text><rect class='sa-hit' x='326.0' y='408.0' width='92' height='25' data-tip='Lasso · LinearModel&#10;Improvement over Random +21.7%: place 13 of 23&#10;71 datasets'/><rect x='327.0' y='434.0' width='90' height='23' rx='3' fill='#4090c5'/><text x='372.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.0</text><rect class='sa-hit' x='326.0' y='433.0' width='92' height='25' data-tip='SHAP · LinearModel&#10;Improvement over Random +19.0%: place 16 of 23&#10;71 datasets'/><rect x='327.0' y='459.0' width='90' height='23' rx='3' fill='#4594c7'/><text x='372.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.4</text><rect class='sa-hit' x='326.0' y='458.0' width='92' height='25' data-tip='GainRatio · LinearModel&#10;Improvement over Random +18.4%: place 17 of 23&#10;71 datasets'/><rect x='327.0' y='484.0' width='90' height='23' rx='3' fill='#58a1cf'/><text x='372.0' y='499.5' text-anchor='middle' font-size='12' fill='#1f2328'>16.3</text><rect class='sa-hit' x='326.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · LinearModel&#10;Improvement over Random +16.3%: place 19 of 23&#10;71 datasets'/><rect x='327.0' y='509.0' width='90' height='23' rx='3' fill='#4b98ca'/><text x='372.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>17.7</text><rect class='sa-hit' x='326.0' y='508.0' width='92' height='25' data-tip='SFS · LinearModel&#10;Improvement over Random +17.7%: place 18 of 23&#10;71 datasets'/><rect x='327.0' y='534.0' width='90' height='23' rx='3' fill='#82bbdb'/><text x='372.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.0</text><rect class='sa-hit' x='326.0' y='533.0' width='92' height='25' data-tip='LOCO · LinearModel&#10;Improvement over Random +12.0%: place 20 of 23&#10;71 datasets'/><rect x='327.0' y='559.0' width='90' height='23' rx='3' fill='#a8cee4'/><text x='372.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>8.4</text><rect class='sa-hit' x='326.0' y='558.0' width='92' height='25' data-tip='SBE · LinearModel&#10;Improvement over Random +8.4%: place 21 of 23&#10;71 datasets'/><rect x='327.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='372.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='326.0' y='583.0' width='92' height='25' data-tip='Random · LinearModel&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='327.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='372.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-14.4</text><rect class='sa-hit' x='326.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · LinearModel&#10;Improvement over Random -14.4%: place 23 of 23&#10;71 datasets'/><rect x='419.0' y='59.0' width='90' height='23' rx='3' fill='#083c7d'/><rect class='sa-ink' x='419.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='464.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>30.9</text><rect class='sa-hit' x='418.0' y='58.0' width='92' height='25' data-tip='LGBMGain · RandomForest&#10;Improvement over Random +30.9%: place 1 of 23 (best)&#10;71 datasets'/><rect x='419.0' y='84.0' width='90' height='23' rx='3' fill='#08478d'/><text x='464.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.5</text><rect class='sa-hit' x='418.0' y='83.0' width='92' height='25' data-tip='CD-PFN · RandomForest&#10;Improvement over Random +29.5%: place 2 of 23&#10;71 datasets'/><rect x='419.0' y='109.0' width='90' height='23' rx='3' fill='#0a539e'/><text x='464.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.7</text><rect class='sa-hit' x='418.0' y='108.0' width='92' height='25' data-tip='RFImportance · RandomForest&#10;Improvement over Random +27.7%: place 4 of 23&#10;71 datasets'/><rect x='419.0' y='134.0' width='90' height='23' rx='3' fill='#084e98'/><text x='464.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>28.5</text><rect class='sa-hit' x='418.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · RandomForest&#10;Improvement over Random +28.5%: place 3 of 23&#10;71 datasets'/><rect x='419.0' y='159.0' width='90' height='23' rx='3' fill='#0a539e'/><text x='464.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.7</text><rect class='sa-hit' x='418.0' y='158.0' width='92' height='25' data-tip='LassoNet · RandomForest&#10;Improvement over Random +27.7%: place 5 of 23&#10;71 datasets'/><rect x='419.0' y='184.0' width='90' height='23' rx='3' fill='#0c56a0'/><text x='464.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.3</text><rect class='sa-hit' x='418.0' y='183.0' width='92' height='25' data-tip='PACE-DC · RandomForest&#10;Improvement over Random +27.3%: place 6 of 23&#10;71 datasets'/><rect x='419.0' y='209.0' width='90' height='23' rx='3' fill='#1561a9'/><text x='464.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.8</text><rect class='sa-hit' x='418.0' y='208.0' width='92' height='25' data-tip='MI · RandomForest&#10;Improvement over Random +25.8%: place 7 of 23&#10;71 datasets'/><rect x='419.0' y='234.0' width='90' height='23' rx='3' fill='#1967ad'/><text x='464.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.8</text><rect class='sa-hit' x='418.0' y='233.0' width='92' height='25' data-tip='CART · RandomForest&#10;Improvement over Random +24.8%: place 8 of 23&#10;71 datasets'/><rect x='419.0' y='259.0' width='90' height='23' rx='3' fill='#1f6eb3'/><text x='464.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.8</text><rect class='sa-hit' x='418.0' y='258.0' width='92' height='25' data-tip='F-Test · RandomForest&#10;Improvement over Random +23.8%: place 10 of 23&#10;71 datasets'/><rect x='419.0' y='284.0' width='90' height='23' rx='3' fill='#1c6ab0'/><text x='464.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.3</text><rect class='sa-hit' x='418.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · RandomForest&#10;Improvement over Random +24.3%: place 9 of 23&#10;71 datasets'/><rect x='419.0' y='309.0' width='90' height='23' rx='3' fill='#2b7bba'/><text x='464.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.1</text><rect class='sa-hit' x='418.0' y='308.0' width='92' height='25' data-tip='ElasticNet · RandomForest&#10;Improvement over Random +22.1%: place 14 of 23&#10;71 datasets'/><rect x='419.0' y='334.0' width='90' height='23' rx='3' fill='#3181bd'/><text x='464.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.1</text><rect class='sa-hit' x='418.0' y='333.0' width='92' height='25' data-tip='mRMR · RandomForest&#10;Improvement over Random +21.1%: place 16 of 23&#10;71 datasets'/><rect x='419.0' y='359.0' width='90' height='23' rx='3' fill='#2070b4'/><text x='464.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.6</text><rect class='sa-hit' x='418.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · RandomForest&#10;Improvement over Random +23.6%: place 11 of 23&#10;71 datasets'/><rect x='419.0' y='384.0' width='90' height='23' rx='3' fill='#2272b6'/><text x='464.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.3</text><rect class='sa-hit' x='418.0' y='383.0' width='92' height='25' data-tip='CPI · RandomForest&#10;Improvement over Random +23.3%: place 12 of 23&#10;71 datasets'/><rect x='419.0' y='409.0' width='90' height='23' rx='3' fill='#3181bd'/><text x='464.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.2</text><rect class='sa-hit' x='418.0' y='408.0' width='92' height='25' data-tip='Lasso · RandomForest&#10;Improvement over Random +21.2%: place 15 of 23&#10;71 datasets'/><rect x='419.0' y='434.0' width='90' height='23' rx='3' fill='#2676b8'/><text x='464.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.7</text><rect class='sa-hit' x='418.0' y='433.0' width='92' height='25' data-tip='SHAP · RandomForest&#10;Improvement over Random +22.7%: place 13 of 23&#10;71 datasets'/><rect x='419.0' y='459.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='464.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.6</text><rect class='sa-hit' x='418.0' y='458.0' width='92' height='25' data-tip='GainRatio · RandomForest&#10;Improvement over Random +20.6%: place 17 of 23&#10;71 datasets'/><rect x='419.0' y='484.0' width='90' height='23' rx='3' fill='#3787c0'/><text x='464.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.3</text><rect class='sa-hit' x='418.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · RandomForest&#10;Improvement over Random +20.3%: place 18 of 23&#10;71 datasets'/><rect x='419.0' y='509.0' width='90' height='23' rx='3' fill='#4d99ca'/><text x='464.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>17.5</text><rect class='sa-hit' x='418.0' y='508.0' width='92' height='25' data-tip='SFS · RandomForest&#10;Improvement over Random +17.5%: place 19 of 23&#10;71 datasets'/><rect x='419.0' y='534.0' width='90' height='23' rx='3' fill='#7ab6d9'/><text x='464.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.7</text><rect class='sa-hit' x='418.0' y='533.0' width='92' height='25' data-tip='LOCO · RandomForest&#10;Improvement over Random +12.7%: place 21 of 23&#10;71 datasets'/><rect x='419.0' y='559.0' width='90' height='23' rx='3' fill='#77b5d9'/><text x='464.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.0</text><rect class='sa-hit' x='418.0' y='558.0' width='92' height='25' data-tip='SBE · RandomForest&#10;Improvement over Random +13.0%: place 20 of 23&#10;71 datasets'/><rect x='419.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='464.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='418.0' y='583.0' width='92' height='25' data-tip='Random · RandomForest&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='419.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='464.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-17.0</text><rect class='sa-hit' x='418.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · RandomForest&#10;Improvement over Random -17.0%: place 23 of 23&#10;71 datasets'/><rect x='511.0' y='59.0' width='90' height='23' rx='3' fill='#084a91'/><rect class='sa-ink' x='511.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='556.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>29.0</text><rect class='sa-hit' x='510.0' y='58.0' width='92' height='25' data-tip='LGBMGain · RealMLP&#10;Improvement over Random +29.0%: place 1 of 23 (best)&#10;71 datasets'/><rect x='511.0' y='84.0' width='90' height='23' rx='3' fill='#0e58a2'/><text x='556.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.0</text><rect class='sa-hit' x='510.0' y='83.0' width='92' height='25' data-tip='CD-PFN · RealMLP&#10;Improvement over Random +27.0%: place 2 of 23&#10;71 datasets'/><rect x='511.0' y='109.0' width='90' height='23' rx='3' fill='#0e58a2'/><text x='556.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.0</text><rect class='sa-hit' x='510.0' y='108.0' width='92' height='25' data-tip='RFImportance · RealMLP&#10;Improvement over Random +27.0%: place 3 of 23&#10;71 datasets'/><rect x='511.0' y='134.0' width='90' height='23' rx='3' fill='#1561a9'/><text x='556.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.8</text><rect class='sa-hit' x='510.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · RealMLP&#10;Improvement over Random +25.8%: place 4 of 23&#10;71 datasets'/><rect x='511.0' y='159.0' width='90' height='23' rx='3' fill='#1764ab'/><text x='556.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.2</text><rect class='sa-hit' x='510.0' y='158.0' width='92' height='25' data-tip='LassoNet · RealMLP&#10;Improvement over Random +25.2%: place 5 of 23&#10;71 datasets'/><rect x='511.0' y='184.0' width='90' height='23' rx='3' fill='#1967ad'/><text x='556.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.8</text><rect class='sa-hit' x='510.0' y='183.0' width='92' height='25' data-tip='PACE-DC · RealMLP&#10;Improvement over Random +24.8%: place 7 of 23&#10;71 datasets'/><rect x='511.0' y='209.0' width='90' height='23' rx='3' fill='#1c6bb0'/><text x='556.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.2</text><rect class='sa-hit' x='510.0' y='208.0' width='92' height='25' data-tip='MI · RealMLP&#10;Improvement over Random +24.2%: place 8 of 23&#10;71 datasets'/><rect x='511.0' y='234.0' width='90' height='23' rx='3' fill='#1966ad'/><text x='556.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.9</text><rect class='sa-hit' x='510.0' y='233.0' width='92' height='25' data-tip='CART · RealMLP&#10;Improvement over Random +24.9%: place 6 of 23&#10;71 datasets'/><rect x='511.0' y='259.0' width='90' height='23' rx='3' fill='#2373b6'/><text x='556.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.1</text><rect class='sa-hit' x='510.0' y='258.0' width='92' height='25' data-tip='F-Test · RealMLP&#10;Improvement over Random +23.1%: place 9 of 23&#10;71 datasets'/><rect x='511.0' y='284.0' width='90' height='23' rx='3' fill='#2f7fbc'/><text x='556.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.4</text><rect class='sa-hit' x='510.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · RealMLP&#10;Improvement over Random +21.4%: place 12 of 23&#10;71 datasets'/><rect x='511.0' y='309.0' width='90' height='23' rx='3' fill='#3383be'/><text x='556.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.9</text><rect class='sa-hit' x='510.0' y='308.0' width='92' height='25' data-tip='ElasticNet · RealMLP&#10;Improvement over Random +20.9%: place 14 of 23&#10;71 datasets'/><rect x='511.0' y='334.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='556.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.6</text><rect class='sa-hit' x='510.0' y='333.0' width='92' height='25' data-tip='mRMR · RealMLP&#10;Improvement over Random +21.6%: place 11 of 23&#10;71 datasets'/><rect x='511.0' y='359.0' width='90' height='23' rx='3' fill='#2d7dbb'/><text x='556.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.8</text><rect class='sa-hit' x='510.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · RealMLP&#10;Improvement over Random +21.8%: place 10 of 23&#10;71 datasets'/><rect x='511.0' y='384.0' width='90' height='23' rx='3' fill='#3282be'/><text x='556.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.0</text><rect class='sa-hit' x='510.0' y='383.0' width='92' height='25' data-tip='CPI · RealMLP&#10;Improvement over Random +21.0%: place 13 of 23&#10;71 datasets'/><rect x='511.0' y='409.0' width='90' height='23' rx='3' fill='#3f8fc5'/><text x='556.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.2</text><rect class='sa-hit' x='510.0' y='408.0' width='92' height='25' data-tip='Lasso · RealMLP&#10;Improvement over Random +19.2%: place 18 of 23&#10;71 datasets'/><rect x='511.0' y='434.0' width='90' height='23' rx='3' fill='#3a8ac2'/><text x='556.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.9</text><rect class='sa-hit' x='510.0' y='433.0' width='92' height='25' data-tip='SHAP · RealMLP&#10;Improvement over Random +19.9%: place 17 of 23&#10;71 datasets'/><rect x='511.0' y='459.0' width='90' height='23' rx='3' fill='#3787c0'/><text x='556.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.3</text><rect class='sa-hit' x='510.0' y='458.0' width='92' height='25' data-tip='GainRatio · RealMLP&#10;Improvement over Random +20.3%: place 16 of 23&#10;71 datasets'/><rect x='511.0' y='484.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='556.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.6</text><rect class='sa-hit' x='510.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · RealMLP&#10;Improvement over Random +20.6%: place 15 of 23&#10;71 datasets'/><rect x='511.0' y='509.0' width='90' height='23' rx='3' fill='#4292c6'/><text x='556.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>18.7</text><rect class='sa-hit' x='510.0' y='508.0' width='92' height='25' data-tip='SFS · RealMLP&#10;Improvement over Random +18.7%: place 19 of 23&#10;71 datasets'/><rect x='511.0' y='534.0' width='90' height='23' rx='3' fill='#65aad4'/><text x='556.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.8</text><rect class='sa-hit' x='510.0' y='533.0' width='92' height='25' data-tip='LOCO · RealMLP&#10;Improvement over Random +14.8%: place 20 of 23&#10;71 datasets'/><rect x='511.0' y='559.0' width='90' height='23' rx='3' fill='#7db8da'/><text x='556.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.5</text><rect class='sa-hit' x='510.0' y='558.0' width='92' height='25' data-tip='SBE · RealMLP&#10;Improvement over Random +12.5%: place 21 of 23&#10;71 datasets'/><rect x='511.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='556.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='510.0' y='583.0' width='92' height='25' data-tip='Random · RealMLP&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='511.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='556.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-18.4</text><rect class='sa-hit' x='510.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · RealMLP&#10;Improvement over Random -18.4%: place 23 of 23&#10;71 datasets'/><rect x='603.0' y='59.0' width='90' height='23' rx='3' fill='#084184'/><rect class='sa-ink' x='603.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='648.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>30.4</text><rect class='sa-hit' x='602.0' y='58.0' width='92' height='25' data-tip='LGBMGain · TabICLv2&#10;Improvement over Random +30.4%: place 1 of 23 (best)&#10;71 datasets'/><rect x='603.0' y='84.0' width='90' height='23' rx='3' fill='#084f99'/><text x='648.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>28.3</text><rect class='sa-hit' x='602.0' y='83.0' width='92' height='25' data-tip='CD-PFN · TabICLv2&#10;Improvement over Random +28.3%: place 3 of 23&#10;71 datasets'/><rect x='603.0' y='109.0' width='90' height='23' rx='3' fill='#084a91'/><text x='648.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.0</text><rect class='sa-hit' x='602.0' y='108.0' width='92' height='25' data-tip='RFImportance · TabICLv2&#10;Improvement over Random +29.0%: place 2 of 23&#10;71 datasets'/><rect x='603.0' y='134.0' width='90' height='23' rx='3' fill='#09529d'/><text x='648.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.8</text><rect class='sa-hit' x='602.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · TabICLv2&#10;Improvement over Random +27.8%: place 4 of 23&#10;71 datasets'/><rect x='603.0' y='159.0' width='90' height='23' rx='3' fill='#105ba4'/><text x='648.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.6</text><rect class='sa-hit' x='602.0' y='158.0' width='92' height='25' data-tip='LassoNet · TabICLv2&#10;Improvement over Random +26.6%: place 5 of 23&#10;71 datasets'/><rect x='603.0' y='184.0' width='90' height='23' rx='3' fill='#125da6'/><text x='648.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.3</text><rect class='sa-hit' x='602.0' y='183.0' width='92' height='25' data-tip='PACE-DC · TabICLv2&#10;Improvement over Random +26.3%: place 6 of 23&#10;71 datasets'/><rect x='603.0' y='209.0' width='90' height='23' rx='3' fill='#1663aa'/><text x='648.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.5</text><rect class='sa-hit' x='602.0' y='208.0' width='92' height='25' data-tip='MI · TabICLv2&#10;Improvement over Random +25.5%: place 8 of 23&#10;71 datasets'/><rect x='603.0' y='234.0' width='90' height='23' rx='3' fill='#1460a8'/><text x='648.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.9</text><rect class='sa-hit' x='602.0' y='233.0' width='92' height='25' data-tip='CART · TabICLv2&#10;Improvement over Random +25.9%: place 7 of 23&#10;71 datasets'/><rect x='603.0' y='259.0' width='90' height='23' rx='3' fill='#1c6bb0'/><text x='648.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.2</text><rect class='sa-hit' x='602.0' y='258.0' width='92' height='25' data-tip='F-Test · TabICLv2&#10;Improvement over Random +24.2%: place 9 of 23&#10;71 datasets'/><rect x='603.0' y='284.0' width='90' height='23' rx='3' fill='#2c7cba'/><text x='648.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.8</text><rect class='sa-hit' x='602.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · TabICLv2&#10;Improvement over Random +21.8%: place 14 of 23&#10;71 datasets'/><rect x='603.0' y='309.0' width='90' height='23' rx='3' fill='#2d7dbb'/><text x='648.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.7</text><rect class='sa-hit' x='602.0' y='308.0' width='92' height='25' data-tip='ElasticNet · TabICLv2&#10;Improvement over Random +21.7%: place 15 of 23&#10;71 datasets'/><rect x='603.0' y='334.0' width='90' height='23' rx='3' fill='#206fb4'/><text x='648.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.6</text><rect class='sa-hit' x='602.0' y='333.0' width='92' height='25' data-tip='mRMR · TabICLv2&#10;Improvement over Random +23.6%: place 10 of 23&#10;71 datasets'/><rect x='603.0' y='359.0' width='90' height='23' rx='3' fill='#2070b4'/><text x='648.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.5</text><rect class='sa-hit' x='602.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · TabICLv2&#10;Improvement over Random +23.5%: place 11 of 23&#10;71 datasets'/><rect x='603.0' y='384.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='648.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.5</text><rect class='sa-hit' x='602.0' y='383.0' width='92' height='25' data-tip='CPI · TabICLv2&#10;Improvement over Random +22.5%: place 12 of 23&#10;71 datasets'/><rect x='603.0' y='409.0' width='90' height='23' rx='3' fill='#3787c0'/><text x='648.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.3</text><rect class='sa-hit' x='602.0' y='408.0' width='92' height='25' data-tip='Lasso · TabICLv2&#10;Improvement over Random +20.3%: place 18 of 23&#10;71 datasets'/><rect x='603.0' y='434.0' width='90' height='23' rx='3' fill='#2c7cba'/><text x='648.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.9</text><rect class='sa-hit' x='602.0' y='433.0' width='92' height='25' data-tip='SHAP · TabICLv2&#10;Improvement over Random +21.9%: place 13 of 23&#10;71 datasets'/><rect x='603.0' y='459.0' width='90' height='23' rx='3' fill='#3484bf'/><text x='648.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.8</text><rect class='sa-hit' x='602.0' y='458.0' width='92' height='25' data-tip='GainRatio · TabICLv2&#10;Improvement over Random +20.8%: place 17 of 23&#10;71 datasets'/><rect x='603.0' y='484.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='648.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.7</text><rect class='sa-hit' x='602.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · TabICLv2&#10;Improvement over Random +21.7%: place 16 of 23&#10;71 datasets'/><rect x='603.0' y='509.0' width='90' height='23' rx='3' fill='#3e8ec4'/><text x='648.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.3</text><rect class='sa-hit' x='602.0' y='508.0' width='92' height='25' data-tip='SFS · TabICLv2&#10;Improvement over Random +19.3%: place 19 of 23&#10;71 datasets'/><rect x='603.0' y='534.0' width='90' height='23' rx='3' fill='#66abd4'/><text x='648.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.6</text><rect class='sa-hit' x='602.0' y='533.0' width='92' height='25' data-tip='LOCO · TabICLv2&#10;Improvement over Random +14.6%: place 20 of 23&#10;71 datasets'/><rect x='603.0' y='559.0' width='90' height='23' rx='3' fill='#75b4d8'/><text x='648.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.2</text><rect class='sa-hit' x='602.0' y='558.0' width='92' height='25' data-tip='SBE · TabICLv2&#10;Improvement over Random +13.2%: place 21 of 23&#10;71 datasets'/><rect x='603.0' y='584.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='648.0' y='599.5' text-anchor='middle' font-size='12' fill='#1f2328'>0.0</text><rect class='sa-hit' x='602.0' y='583.0' width='92' height='25' data-tip='Random · TabICLv2&#10;Improvement over Random +0.0%: place 22 of 23&#10;71 datasets'/><rect x='603.0' y='609.0' width='90' height='23' rx='3' fill='#dfecf7'/><text x='648.0' y='624.5' text-anchor='middle' font-size='12' fill='#1f2328'>-19.6</text><rect class='sa-hit' x='602.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · TabICLv2&#10;Improvement over Random -19.6%: place 23 of 23&#10;71 datasets'/><rect x='128.0' y='661' width='13.0' height='10' fill='#083c7d'/><rect x='140.5' y='661' width='13.0' height='10' fill='#08478d'/><rect x='153.0' y='661' width='13.0' height='10' fill='#08509b'/><rect x='165.5' y='661' width='13.0' height='10' fill='#0e59a2'/><rect x='178.0' y='661' width='13.0' height='10' fill='#1562a9'/><rect x='190.5' y='661' width='13.0' height='10' fill='#1c6bb0'/><rect x='203.0' y='661' width='13.0' height='10' fill='#2575b7'/><rect x='215.5' y='661' width='13.0' height='10' fill='#2f7fbc'/><rect x='228.0' y='661' width='13.0' height='10' fill='#3888c1'/><rect x='240.5' y='661' width='13.0' height='10' fill='#4191c6'/><rect x='253.0' y='661' width='13.0' height='10' fill='#4e9acb'/><rect x='265.5' y='661' width='13.0' height='10' fill='#5aa2cf'/><rect x='278.0' y='661' width='13.0' height='10' fill='#65aad4'/><rect x='290.5' y='661' width='13.0' height='10' fill='#72b2d8'/><rect x='303.0' y='661' width='13.0' height='10' fill='#82bbdb'/><rect x='315.5' y='661' width='13.0' height='10' fill='#91c3de'/><rect x='328.0' y='661' width='13.0' height='10' fill='#9fcae1'/><rect x='340.5' y='661' width='13.0' height='10' fill='#aacfe5'/><rect x='353.0' y='661' width='13.0' height='10' fill='#b7d4ea'/><rect x='365.5' y='661' width='13.0' height='10' fill='#c2d9ee'/><rect x='378.0' y='661' width='13.0' height='10' fill='#cadef0'/><rect x='390.5' y='661' width='13.0' height='10' fill='#d1e2f3'/><rect x='403.0' y='661' width='13.0' height='10' fill='#d9e7f5'/><rect x='415.5' y='661' width='13.0' height='10' fill='#dfecf7'/><text class='sa-muted' x='128.0' y='684' font-size='11'>30.9 (better)</text><text class='sa-muted' x='428.0' y='684' text-anchor='end' font-size='11'>≤ 0 (Random or worse)</text><text class='sa-text' x='128.0' y='655' font-size='11'>Improvement over Random (%)</text></svg><script type='text/plain' id='sa-csv'>group,method,improvement,n_datasets
All,LGBMGain,28.22,71
All,CD-PFN,27.121,71
All,RFImportance,26.229,71
All,PACE-HSIC,26.039,71
All,LassoNet,25.572,71
All,PACE-DC,25.171,71
All,MI,23.8,71
All,CART,23.781,71
All,F-Test,22.757,71
All,PACE-SIS,22.431,71
All,ElasticNet,21.875,71
All,mRMR,21.668,71
All,MarkovBlanket,21.24,71
All,CPI,21.086,71
All,Lasso,20.905,71
All,SHAP,20.611,71
All,GainRatio,19.528,71
All,(R)ReliefF,18.568,71
All,SFS,18.182,71
All,LOCO,12.983,71
All,SBE,11.396,71
All,Random,0.0,71
All,LaplacianScore,-18.582,71
LightGBM,LGBMGain,27.955,71
LightGBM,CD-PFN,26.183,71
LightGBM,RFImportance,25.547,71
LightGBM,PACE-HSIC,24.906,71
LightGBM,LassoNet,24.42,71
LightGBM,PACE-DC,23.801,71
LightGBM,CART,23.507,71
LightGBM,MI,22.918,71
LightGBM,mRMR,21.651,71
LightGBM,ElasticNet,21.589,71
LightGBM,F-Test,21.475,71
LightGBM,MarkovBlanket,21.177,71
LightGBM,Lasso,21.068,71
LightGBM,PACE-SIS,20.942,71
LightGBM,CPI,20.723,71
LightGBM,SHAP,20.622,71
LightGBM,GainRatio,19.772,71
LightGBM,(R)ReliefF,18.487,71
LightGBM,SFS,18.076,71
LightGBM,LOCO,13.01,71
LightGBM,SBE,12.349,71
LightGBM,Random,0.0,71
LightGBM,LaplacianScore,-23.15,71
LinearModel,CD-PFN,26.451,71
LinearModel,LGBMGain,25.678,71
LinearModel,LassoNet,25.231,71
LinearModel,PACE-HSIC,24.686,71
LinearModel,RFImportance,24.566,71
LinearModel,PACE-DC,24.51,71
LinearModel,MI,23.163,71
LinearModel,PACE-SIS,23.074,71
LinearModel,F-Test,22.852,71
LinearModel,ElasticNet,22.554,71
LinearModel,CART,21.96,71
LinearModel,mRMR,21.814,71
LinearModel,Lasso,21.687,71
LinearModel,CPI,19.052,71
LinearModel,MarkovBlanket,19.022,71
LinearModel,SHAP,18.97,71
LinearModel,GainRatio,18.367,71
LinearModel,SFS,17.714,71
LinearModel,(R)ReliefF,16.264,71
LinearModel,LOCO,11.965,71
LinearModel,SBE,8.391,71
LinearModel,Random,0.0,71
LinearModel,LaplacianScore,-14.369,71
RandomForest,LGBMGain,30.886,71
RandomForest,CD-PFN,29.478,71
RandomForest,PACE-HSIC,28.512,71
RandomForest,RFImportance,27.744,71
RandomForest,LassoNet,27.732,71
RandomForest,PACE-DC,27.286,71
RandomForest,MI,25.752,71
RandomForest,CART,24.829,71
RandomForest,PACE-SIS,24.344,71
RandomForest,F-Test,23.776,71
RandomForest,MarkovBlanket,23.553,71
RandomForest,CPI,23.277,71
RandomForest,SHAP,22.701,71
RandomForest,ElasticNet,22.107,71
RandomForest,Lasso,21.152,71
RandomForest,mRMR,21.131,71
RandomForest,GainRatio,20.608,71
RandomForest,(R)ReliefF,20.347,71
RandomForest,SFS,17.526,71
RandomForest,SBE,13.012,71
RandomForest,LOCO,12.743,71
RandomForest,Random,0.0,71
RandomForest,LaplacianScore,-17.026,71
RealMLP,LGBMGain,29.01,71
RealMLP,CD-PFN,27.048,71
RealMLP,RFImportance,27.039,71
RealMLP,PACE-HSIC,25.755,71
RealMLP,LassoNet,25.217,71
RealMLP,CART,24.913,71
RealMLP,PACE-DC,24.827,71
RealMLP,MI,24.214,71
RealMLP,F-Test,23.128,71
RealMLP,MarkovBlanket,21.826,71
RealMLP,mRMR,21.582,71
RealMLP,PACE-SIS,21.422,71
RealMLP,CPI,21.033,71
RealMLP,ElasticNet,20.93,71
RealMLP,(R)ReliefF,20.632,71
RealMLP,GainRatio,20.324,71
RealMLP,SHAP,19.914,71
RealMLP,Lasso,19.22,71
RealMLP,SFS,18.702,71
RealMLP,LOCO,14.758,71
RealMLP,SBE,12.525,71
RealMLP,Random,0.0,71
RealMLP,LaplacianScore,-18.397,71
TabICLv2,LGBMGain,30.402,71
TabICLv2,RFImportance,29.034,71
TabICLv2,CD-PFN,28.348,71
TabICLv2,PACE-HSIC,27.83,71
TabICLv2,LassoNet,26.58,71
TabICLv2,PACE-DC,26.255,71
TabICLv2,CART,25.912,71
TabICLv2,MI,25.456,71
TabICLv2,F-Test,24.197,71
TabICLv2,mRMR,23.593,71
TabICLv2,MarkovBlanket,23.542,71
TabICLv2,CPI,22.488,71
TabICLv2,SHAP,21.949,71
TabICLv2,PACE-SIS,21.845,71
TabICLv2,ElasticNet,21.725,71
TabICLv2,(R)ReliefF,21.682,71
TabICLv2,GainRatio,20.815,71
TabICLv2,Lasso,20.299,71
TabICLv2,SFS,19.339,71
TabICLv2,LOCO,14.638,71
TabICLv2,SBE,13.167,71
TabICLv2,Random,0.0,71
TabICLv2,LaplacianScore,-19.642,71
</script><script>
// Theme: the Space sets data-theme on this page when its theme button was used (same origin), or
// sends {saTheme: 'light' | 'dark' | null}; without either, the page follows the system setting.
(function () {
function apply(theme) {
if (theme === 'light' || theme === 'dark') document.documentElement.setAttribute('data-theme', theme);
else document.documentElement.removeAttribute('data-theme');
}
try { apply(window.parent.document.documentElement.getAttribute('data-theme')); } catch (e) {}
window.addEventListener('message', function (event) {
if (event.data && 'saTheme' in event.data) apply(event.data.saTheme);
});
})();
function saDownload(name, blob) {
var a = document.createElement('a');
a.href = URL.createObjectURL(blob);
a.download = name;
document.body.appendChild(a);
a.click();
setTimeout(function () { URL.revokeObjectURL(a.href); a.remove(); }, 500);
}
function saCsv(name) {
saDownload(name, new Blob([document.getElementById('sa-csv').textContent], {type: 'text/csv'}));
}
// Report the page height to an embedding page (the Space resizes its iframe to it).
(function () {
function post() {
try {
var height = Math.ceil(document.body.getBoundingClientRect().height) + 4;
if (window.parent !== window) window.parent.postMessage({saFrameHeight: height}, '*');
} catch (e) {}
}
window.addEventListener('load', post);
window.addEventListener('resize', post);
if (window.ResizeObserver) new ResizeObserver(post).observe(document.body);
})();
// Instant tooltip: a native SVG <title> only shows after a browser delay of 1-3 s.
(function () {
var tip = document.createElement('div');
tip.id = 'sa-tip';
document.body.appendChild(tip);
var current = null;
function show(hit, x, y) {
if (current !== hit) {
if (current) current.classList.remove('sa-on');
current = hit;
hit.classList.add('sa-on');
var lines = hit.getAttribute('data-tip').split('\n');
tip.textContent = '';
var head = document.createElement('b');
head.textContent = lines[0];
tip.appendChild(head);
tip.appendChild(document.createTextNode('\n' + lines.slice(1).join('\n')));
tip.style.display = 'block';
}
var w = tip.offsetWidth, h = tip.offsetHeight;
var left = x + 14, top = y + 14;
if (left + w > window.innerWidth - 4) left = Math.max(4, x - w - 14);
if (top + h > window.innerHeight - 4) top = Math.max(4, y - h - 14);
tip.style.left = left + 'px';
tip.style.top = top + 'px';
}
function hide() {
if (current) current.classList.remove('sa-on');
current = null;
tip.style.display = 'none';
}
document.addEventListener('pointermove', function (e) {
var hit = e.target.closest ? e.target.closest('.sa-hit') : null;
if (hit) show(hit, e.clientX, e.clientY); else if (e.pointerType === 'mouse') hide();
});
document.addEventListener('pointerdown', function (e) { // touch: tap a bar to show, elsewhere to hide
var hit = e.target.closest ? e.target.closest('.sa-hit') : null;
if (hit) show(hit, e.clientX, e.clientY); else hide();
});
document.addEventListener('mouseleave', hide);
})();
// Downloads always use the light colours (the paper look), whatever the page's theme.
var SA_LIGHT = {'--fg': '#1f2328', '--muted': '#59636e', '--line': '#d1d9e0', '--bg': '#ffffff',
'--soft': '#f6f8fa', '--accent': '#0072B2'};
function saSvgString() {
var svg = document.getElementById('sa-figure').cloneNode(true);
var style = svg.querySelector('style');
var css = style.textContent;
Object.keys(SA_LIGHT).forEach(function (v) { css = css.split('var(' + v + ')').join(SA_LIGHT[v]); });
style.textContent = css;
svg.querySelectorAll('.sa-hit').forEach(function (hit) { hit.remove(); });
svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');
svg.setAttribute('xmlns:xlink', 'http://www.w3.org/1999/xlink');
return new XMLSerializer().serializeToString(svg);
}
function saSvg(name) {
saDownload(name + '.svg', new Blob([saSvgString()], {type: 'image/svg+xml'}));
}
function saPng(name) {
var svg = document.getElementById('sa-figure');
var box = svg.viewBox.baseVal, scale = 3;
var img = new Image();
img.onload = function () {
var canvas = document.createElement('canvas');
canvas.width = box.width * scale; canvas.height = box.height * scale;
var ctx = canvas.getContext('2d');
ctx.fillStyle = SA_LIGHT['--bg'];
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
canvas.toBlob(function (blob) { saDownload(name + '.png', blob); });
};
img.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(saSvgString());
}
// PDF. In the leaderboard, the page sends the figure's SVG to it (message {saPdf}), which makes a
// vector PDF (the Space's assets/downloads.js) and answers {saPdfAck}. Without an answer (the page
// alone or elsewhere), the PDF holds the figure rendered at 4x as a JPEG: one page of the figure's
// size (1 px = 0.75 pt), built by hand as the pages are self-contained, without any library.
function saPdfBlob(canvas, widthPt, heightPt) {
var jpeg = atob(canvas.toDataURL('image/jpeg', 0.95).split(',')[1]);
var w = widthPt.toFixed(2), h = heightPt.toFixed(2);
var content = 'q ' + w + ' 0 0 ' + h + ' 0 0 cm /Im0 Do Q';
var objects = [
'<< /Type /Catalog /Pages 2 0 R >>',
'<< /Type /Pages /Kids [3 0 R] /Count 1 >>',
'<< /Type /Page /Parent 2 0 R /MediaBox [0 0 ' + w + ' ' + h + '] /Resources << /XObject << /Im0 5 0 R >> >> /Contents 4 0 R >>',
'<< /Length ' + content.length + ' >>\nstream\n' + content + '\nendstream',
'<< /Type /XObject /Subtype /Image /Width ' + canvas.width + ' /Height ' + canvas.height +
' /ColorSpace /DeviceRGB /BitsPerComponent 8 /Filter /DCTDecode /Length ' + jpeg.length + ' >>\nstream\n' + jpeg + '\nendstream'
];
var pdf = '%PDF-1.4\n', offsets = [];
objects.forEach(function (body, i) { offsets.push(pdf.length); pdf += (i + 1) + ' 0 obj\n' + body + '\nendobj\n'; });
var xref = pdf.length;
pdf += 'xref\n0 ' + (objects.length + 1) + '\n0000000000 65535 f \n';
offsets.forEach(function (o) { pdf += ('0000000000' + o).slice(-10) + ' 00000 n \n'; });
pdf += 'trailer\n<< /Size ' + (objects.length + 1) + ' /Root 1 0 R >>\nstartxref\n' + xref + '\n%%EOF';
var bytes = new Uint8Array(pdf.length);
for (var i = 0; i < pdf.length; i++) bytes[i] = pdf.charCodeAt(i) & 0xff;
return new Blob([bytes], {type: 'application/pdf'});
}
var saPdfPending = {};
window.addEventListener('message', function (event) {
var name = event.data && event.data.saPdfAck;
if (typeof name === 'string' && saPdfPending[name]) { clearTimeout(saPdfPending[name]); delete saPdfPending[name]; }
});
function saPdf(name) {
var svg = document.getElementById('sa-figure');
var box = svg.viewBox.baseVal;
if (window.parent !== window && !saPdfPending[name + '.pdf']) {
saPdfPending[name + '.pdf'] = setTimeout(function () {
delete saPdfPending[name + '.pdf'];
saRasterPdf(name);
}, 1500);
window.parent.postMessage({saPdf: {svg: saSvgString(), width: box.width, height: box.height, name: name + '.pdf'}}, '*');
return;
}
if (window.parent === window) saRasterPdf(name);
}
function saRasterPdf(name) {
var svg = document.getElementById('sa-figure');
var box = svg.viewBox.baseVal, scale = 4;
var img = new Image();
img.onload = function () {
var canvas = document.createElement('canvas');
canvas.width = box.width * scale; canvas.height = box.height * scale;
var ctx = canvas.getContext('2d');
ctx.fillStyle = SA_LIGHT['--bg'];
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
saDownload(name + '.pdf', saPdfBlob(canvas, box.width * 0.75, box.height * 0.75));
};
img.src = 'data:image/svg+xml;charset=utf-8,' + encodeURIComponent(saSvgString());
}
</script></body></html>