Spaces:
Running

Leaderboard / data /analysis /heatmap_budget.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
63.4 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 budget</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_budget_groups')">SVG</button><button onclick="saPng('selectarena_improvement_by_budget_groups')">PNG</button><button onclick="saPdf('selectarena_improvement_by_budget_groups')">PDF</button><button onclick="saCsv('selectarena_improvement_by_budget_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 budget' 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'>1 (smallest)</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'>2</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'>3</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'>4</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'>5 (largest)</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='#1460a8'/><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='#1967ad'/><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='#1e6db2'/><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='#1f6eb3'/><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='#2171b5'/><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='#2474b7'/><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='#2d7dbb'/><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='#2d7dbb'/><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='#3484bf'/><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='#3686c0'/><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='#3989c1'/><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='#3b8bc2'/><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='#3d8dc4'/><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='#3e8ec4'/><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='#3f8fc5'/><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='#4191c6'/><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='#4a98c9'/><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='#529dcc'/><text x='174.0' y='499.5' text-anchor='middle' font-size='12' fill='#1f2328'>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='#549fcd'/><text x='174.0' y='524.5' text-anchor='middle' font-size='12' fill='#1f2328'>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='#84bcdb'/><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='#94c4df'/><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='#083c7d'/><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'>33.8</text><rect class='sa-hit' x='234.0' y='58.0' width='92' height='25' data-tip='LGBMGain · 1 (smallest)&#10;Improvement over Random +33.8%: place 1 of 23 (best)&#10;71 datasets'/><rect x='235.0' y='84.0' width='90' height='23' rx='3' fill='#084b93'/><text x='280.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>31.7</text><rect class='sa-hit' x='234.0' y='83.0' width='92' height='25' data-tip='CD-PFN · 1 (smallest)&#10;Improvement over Random +31.7%: place 3 of 23&#10;71 datasets'/><rect x='235.0' y='109.0' width='90' height='23' rx='3' fill='#0b559f'/><text x='280.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.9</text><rect class='sa-hit' x='234.0' y='108.0' width='92' height='25' data-tip='RFImportance · 1 (smallest)&#10;Improvement over Random +29.9%: place 5 of 23&#10;71 datasets'/><rect x='235.0' y='134.0' width='90' height='23' rx='3' fill='#084990'/><text x='280.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>31.9</text><rect class='sa-hit' x='234.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · 1 (smallest)&#10;Improvement over Random +31.9%: place 2 of 23&#10;71 datasets'/><rect x='235.0' y='159.0' width='90' height='23' rx='3' fill='#084f99'/><text x='280.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>31.0</text><rect class='sa-hit' x='234.0' y='158.0' width='92' height='25' data-tip='LassoNet · 1 (smallest)&#10;Improvement over Random +31.0%: place 4 of 23&#10;71 datasets'/><rect x='235.0' y='184.0' width='90' height='23' rx='3' fill='#0e58a2'/><text x='280.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.6</text><rect class='sa-hit' x='234.0' y='183.0' width='92' height='25' data-tip='PACE-DC · 1 (smallest)&#10;Improvement over Random +29.6%: place 6 of 23&#10;71 datasets'/><rect x='235.0' y='209.0' width='90' height='23' rx='3' fill='#125da6'/><text x='280.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>28.7</text><rect class='sa-hit' x='234.0' y='208.0' width='92' height='25' data-tip='MI · 1 (smallest)&#10;Improvement over Random +28.7%: place 7 of 23&#10;71 datasets'/><rect x='235.0' y='234.0' width='90' height='23' rx='3' fill='#1764ab'/><text x='280.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.6</text><rect class='sa-hit' x='234.0' y='233.0' width='92' height='25' data-tip='CART · 1 (smallest)&#10;Improvement over Random +27.6%: place 9 of 23&#10;71 datasets'/><rect x='235.0' y='259.0' width='90' height='23' rx='3' fill='#1460a8'/><text x='280.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>28.3</text><rect class='sa-hit' x='234.0' y='258.0' width='92' height='25' data-tip='F-Test · 1 (smallest)&#10;Improvement over Random +28.3%: place 8 of 23&#10;71 datasets'/><rect x='235.0' y='284.0' width='90' height='23' rx='3' fill='#2474b7'/><text x='280.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.1</text><rect class='sa-hit' x='234.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · 1 (smallest)&#10;Improvement over Random +25.1%: place 13 of 23&#10;71 datasets'/><rect x='235.0' y='309.0' width='90' height='23' rx='3' fill='#2171b5'/><text x='280.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.6</text><rect class='sa-hit' x='234.0' y='308.0' width='92' height='25' data-tip='ElasticNet · 1 (smallest)&#10;Improvement over Random +25.6%: place 11 of 23&#10;71 datasets'/><rect x='235.0' y='334.0' width='90' height='23' rx='3' fill='#2171b5'/><text x='280.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.5</text><rect class='sa-hit' x='234.0' y='333.0' width='92' height='25' data-tip='mRMR · 1 (smallest)&#10;Improvement over Random +25.5%: place 12 of 23&#10;71 datasets'/><rect x='235.0' y='359.0' width='90' height='23' rx='3' fill='#1b69af'/><text x='280.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.8</text><rect class='sa-hit' x='234.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · 1 (smallest)&#10;Improvement over Random +26.8%: place 10 of 23&#10;71 datasets'/><rect x='235.0' y='384.0' width='90' height='23' rx='3' fill='#3181bd'/><text x='280.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.2</text><rect class='sa-hit' x='234.0' y='383.0' width='92' height='25' data-tip='CPI · 1 (smallest)&#10;Improvement over Random +23.2%: place 18 of 23&#10;71 datasets'/><rect x='235.0' y='409.0' width='90' height='23' rx='3' fill='#2b7bba'/><text x='280.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.1</text><rect class='sa-hit' x='234.0' y='408.0' width='92' height='25' data-tip='Lasso · 1 (smallest)&#10;Improvement over Random +24.1%: place 15 of 23&#10;71 datasets'/><rect x='235.0' y='434.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='280.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.6</text><rect class='sa-hit' x='234.0' y='433.0' width='92' height='25' data-tip='SHAP · 1 (smallest)&#10;Improvement over Random +24.6%: place 14 of 23&#10;71 datasets'/><rect x='235.0' y='459.0' width='90' height='23' rx='3' fill='#2f7fbc'/><text x='280.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.6</text><rect class='sa-hit' x='234.0' y='458.0' width='92' height='25' data-tip='GainRatio · 1 (smallest)&#10;Improvement over Random +23.6%: place 17 of 23&#10;71 datasets'/><rect x='235.0' y='484.0' width='90' height='23' rx='3' fill='#4292c6'/><text x='280.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.4</text><rect class='sa-hit' x='234.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · 1 (smallest)&#10;Improvement over Random +20.4%: place 19 of 23&#10;71 datasets'/><rect x='235.0' y='509.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='280.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.7</text><rect class='sa-hit' x='234.0' y='508.0' width='92' height='25' data-tip='SFS · 1 (smallest)&#10;Improvement over Random +23.7%: place 16 of 23&#10;71 datasets'/><rect x='235.0' y='534.0' width='90' height='23' rx='3' fill='#6caed6'/><text x='280.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>15.3</text><rect class='sa-hit' x='234.0' y='533.0' width='92' height='25' data-tip='LOCO · 1 (smallest)&#10;Improvement over Random +15.3%: place 20 of 23&#10;71 datasets'/><rect x='235.0' y='559.0' width='90' height='23' rx='3' fill='#89bedc'/><text x='280.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.5</text><rect class='sa-hit' x='234.0' y='558.0' width='92' height='25' data-tip='SBE · 1 (smallest)&#10;Improvement over Random +12.5%: 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 · 1 (smallest)&#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'>-14.7</text><rect class='sa-hit' x='234.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · 1 (smallest)&#10;Improvement over Random -14.7%: place 23 of 23&#10;71 datasets'/><rect x='327.0' y='59.0' width='90' height='23' rx='3' fill='#08468b'/><rect class='sa-ink' x='327.5' y='59.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='372.0' y='74.5' text-anchor='middle' font-size='12' fill='#ffffff' font-weight='700'>32.5</text><rect class='sa-hit' x='326.0' y='58.0' width='92' height='25' data-tip='LGBMGain · 2&#10;Improvement over Random +32.5%: place 1 of 23 (best)&#10;71 datasets'/><rect x='327.0' y='84.0' width='90' height='23' rx='3' fill='#084d96'/><text x='372.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>31.4</text><rect class='sa-hit' x='326.0' y='83.0' width='92' height='25' data-tip='CD-PFN · 2&#10;Improvement over Random +31.4%: place 2 of 23&#10;71 datasets'/><rect x='327.0' y='109.0' width='90' height='23' rx='3' fill='#0e59a2'/><text x='372.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.3</text><rect class='sa-hit' x='326.0' y='108.0' width='92' height='25' data-tip='RFImportance · 2&#10;Improvement over Random +29.3%: place 5 of 23&#10;71 datasets'/><rect x='327.0' y='134.0' width='90' height='23' rx='3' fill='#0a549e'/><text x='372.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>30.2</text><rect class='sa-hit' x='326.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · 2&#10;Improvement over Random +30.2%: place 3 of 23&#10;71 datasets'/><rect x='327.0' y='159.0' width='90' height='23' rx='3' fill='#0d57a1'/><text x='372.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.7</text><rect class='sa-hit' x='326.0' y='158.0' width='92' height='25' data-tip='LassoNet · 2&#10;Improvement over Random +29.7%: place 4 of 23&#10;71 datasets'/><rect x='327.0' y='184.0' width='90' height='23' rx='3' fill='#0f5aa3'/><text x='372.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>29.2</text><rect class='sa-hit' x='326.0' y='183.0' width='92' height='25' data-tip='PACE-DC · 2&#10;Improvement over Random +29.2%: place 6 of 23&#10;71 datasets'/><rect x='327.0' y='209.0' width='90' height='23' rx='3' fill='#1865ac'/><text x='372.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.5</text><rect class='sa-hit' x='326.0' y='208.0' width='92' height='25' data-tip='MI · 2&#10;Improvement over Random +27.5%: place 7 of 23&#10;71 datasets'/><rect x='327.0' y='234.0' width='90' height='23' rx='3' fill='#1967ad'/><text x='372.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>27.1</text><rect class='sa-hit' x='326.0' y='233.0' width='92' height='25' data-tip='CART · 2&#10;Improvement over Random +27.1%: place 8 of 23&#10;71 datasets'/><rect x='327.0' y='259.0' width='90' height='23' rx='3' fill='#206fb4'/><text x='372.0' y='274.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.9</text><rect class='sa-hit' x='326.0' y='258.0' width='92' height='25' data-tip='F-Test · 2&#10;Improvement over Random +25.9%: place 11 of 23&#10;71 datasets'/><rect x='327.0' y='284.0' width='90' height='23' rx='3' fill='#1b69af'/><text x='372.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.8</text><rect class='sa-hit' x='326.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · 2&#10;Improvement over Random +26.8%: place 9 of 23&#10;71 datasets'/><rect x='327.0' y='309.0' width='90' height='23' rx='3' fill='#1f6eb3'/><text x='372.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>26.0</text><rect class='sa-hit' x='326.0' y='308.0' width='92' height='25' data-tip='ElasticNet · 2&#10;Improvement over Random +26.0%: place 10 of 23&#10;71 datasets'/><rect x='327.0' y='334.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='372.0' y='349.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.6</text><rect class='sa-hit' x='326.0' y='333.0' width='92' height='25' data-tip='mRMR · 2&#10;Improvement over Random +24.6%: place 16 of 23&#10;71 datasets'/><rect x='327.0' y='359.0' width='90' height='23' rx='3' fill='#2777b8'/><text x='372.0' y='374.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.6</text><rect class='sa-hit' x='326.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · 2&#10;Improvement over Random +24.6%: place 15 of 23&#10;71 datasets'/><rect x='327.0' y='384.0' width='90' height='23' rx='3' fill='#2272b6'/><text x='372.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.4</text><rect class='sa-hit' x='326.0' y='383.0' width='92' height='25' data-tip='CPI · 2&#10;Improvement over Random +25.4%: place 14 of 23&#10;71 datasets'/><rect x='327.0' y='409.0' width='90' height='23' rx='3' fill='#2272b6'/><text x='372.0' y='424.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.4</text><rect class='sa-hit' x='326.0' y='408.0' width='92' height='25' data-tip='Lasso · 2&#10;Improvement over Random +25.4%: place 13 of 23&#10;71 datasets'/><rect x='327.0' y='434.0' width='90' height='23' rx='3' fill='#2272b6'/><text x='372.0' y='449.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.5</text><rect class='sa-hit' x='326.0' y='433.0' width='92' height='25' data-tip='SHAP · 2&#10;Improvement over Random +25.5%: place 12 of 23&#10;71 datasets'/><rect x='327.0' y='459.0' width='90' height='23' rx='3' fill='#2e7ebc'/><text x='372.0' y='474.5' text-anchor='middle' font-size='12' fill='#ffffff'>23.7</text><rect class='sa-hit' x='326.0' y='458.0' width='92' height='25' data-tip='GainRatio · 2&#10;Improvement over Random +23.7%: place 17 of 23&#10;71 datasets'/><rect x='327.0' y='484.0' width='90' height='23' rx='3' fill='#3d8dc4'/><text x='372.0' y='499.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.3</text><rect class='sa-hit' x='326.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · 2&#10;Improvement over Random +21.3%: place 19 of 23&#10;71 datasets'/><rect x='327.0' y='509.0' width='90' height='23' rx='3' fill='#3b8bc2'/><text x='372.0' y='524.5' text-anchor='middle' font-size='12' fill='#ffffff'>21.6</text><rect class='sa-hit' x='326.0' y='508.0' width='92' height='25' data-tip='SFS · 2&#10;Improvement over Random +21.6%: place 18 of 23&#10;71 datasets'/><rect x='327.0' y='534.0' width='90' height='23' rx='3' fill='#68acd5'/><text x='372.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>15.9</text><rect class='sa-hit' x='326.0' y='533.0' width='92' height='25' data-tip='LOCO · 2&#10;Improvement over Random +15.9%: place 20 of 23&#10;71 datasets'/><rect x='327.0' y='559.0' width='90' height='23' rx='3' fill='#74b3d8'/><text x='372.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.7</text><rect class='sa-hit' x='326.0' y='558.0' width='92' height='25' data-tip='SBE · 2&#10;Improvement over Random +14.7%: 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 · 2&#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'>-22.8</text><rect class='sa-hit' x='326.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · 2&#10;Improvement over Random -22.8%: place 23 of 23&#10;71 datasets'/><rect x='419.0' y='59.0' width='90' height='23' rx='3' fill='#206fb4'/><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'>26.0</text><rect class='sa-hit' x='418.0' y='58.0' width='92' height='25' data-tip='LGBMGain · 3&#10;Improvement over Random +26.0%: place 1 of 23 (best)&#10;71 datasets'/><rect x='419.0' y='84.0' width='90' height='23' rx='3' fill='#2373b6'/><text x='464.0' y='99.5' text-anchor='middle' font-size='12' fill='#ffffff'>25.3</text><rect class='sa-hit' x='418.0' y='83.0' width='92' height='25' data-tip='CD-PFN · 3&#10;Improvement over Random +25.3%: place 2 of 23&#10;71 datasets'/><rect x='419.0' y='109.0' width='90' height='23' rx='3' fill='#2a7ab9'/><text x='464.0' y='124.5' text-anchor='middle' font-size='12' fill='#ffffff'>24.3</text><rect class='sa-hit' x='418.0' y='108.0' width='92' height='25' data-tip='RFImportance · 3&#10;Improvement over Random +24.3%: place 3 of 23&#10;71 datasets'/><rect x='419.0' y='134.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='464.0' y='149.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.6</text><rect class='sa-hit' x='418.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · 3&#10;Improvement over Random +22.6%: place 5 of 23&#10;71 datasets'/><rect x='419.0' y='159.0' width='90' height='23' rx='3' fill='#3383be'/><text x='464.0' y='174.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.8</text><rect class='sa-hit' x='418.0' y='158.0' width='92' height='25' data-tip='LassoNet · 3&#10;Improvement over Random +22.8%: place 4 of 23&#10;71 datasets'/><rect x='419.0' y='184.0' width='90' height='23' rx='3' fill='#3585bf'/><text x='464.0' y='199.5' text-anchor='middle' font-size='12' fill='#ffffff'>22.6</text><rect class='sa-hit' x='418.0' y='183.0' width='92' height='25' data-tip='PACE-DC · 3&#10;Improvement over Random +22.6%: place 6 of 23&#10;71 datasets'/><rect x='419.0' y='209.0' width='90' height='23' rx='3' fill='#3f8fc5'/><text x='464.0' y='224.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.9</text><rect class='sa-hit' x='418.0' y='208.0' width='92' height='25' data-tip='MI · 3&#10;Improvement over Random +20.9%: place 7 of 23&#10;71 datasets'/><rect x='419.0' y='234.0' width='90' height='23' rx='3' fill='#4292c6'/><text x='464.0' y='249.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.5</text><rect class='sa-hit' x='418.0' y='233.0' width='92' height='25' data-tip='CART · 3&#10;Improvement over Random +20.5%: place 9 of 23&#10;71 datasets'/><rect x='419.0' y='259.0' width='90' height='23' rx='3' fill='#549fcd'/><text x='464.0' y='274.5' text-anchor='middle' font-size='12' fill='#1f2328'>18.3</text><rect class='sa-hit' x='418.0' y='258.0' width='92' height='25' data-tip='F-Test · 3&#10;Improvement over Random +18.3%: place 14 of 23&#10;71 datasets'/><rect x='419.0' y='284.0' width='90' height='23' rx='3' fill='#4191c6'/><text x='464.0' y='299.5' text-anchor='middle' font-size='12' fill='#ffffff'>20.7</text><rect class='sa-hit' x='418.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · 3&#10;Improvement over Random +20.7%: place 8 of 23&#10;71 datasets'/><rect x='419.0' y='309.0' width='90' height='23' rx='3' fill='#4997c9'/><text x='464.0' y='324.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.8</text><rect class='sa-hit' x='418.0' y='308.0' width='92' height='25' data-tip='ElasticNet · 3&#10;Improvement over Random +19.8%: place 10 of 23&#10;71 datasets'/><rect x='419.0' y='334.0' width='90' height='23' rx='3' fill='#58a1cf'/><text x='464.0' y='349.5' text-anchor='middle' font-size='12' fill='#1f2328'>17.7</text><rect class='sa-hit' x='418.0' y='333.0' width='92' height='25' data-tip='mRMR · 3&#10;Improvement over Random +17.7%: place 16 of 23&#10;71 datasets'/><rect x='419.0' y='359.0' width='90' height='23' rx='3' fill='#56a0ce'/><text x='464.0' y='374.5' text-anchor='middle' font-size='12' fill='#1f2328'>18.0</text><rect class='sa-hit' x='418.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · 3&#10;Improvement over Random +18.0%: place 15 of 23&#10;71 datasets'/><rect x='419.0' y='384.0' width='90' height='23' rx='3' fill='#4a98c9'/><text x='464.0' y='399.5' text-anchor='middle' font-size='12' fill='#ffffff'>19.6</text><rect class='sa-hit' x='418.0' y='383.0' width='92' height='25' data-tip='CPI · 3&#10;Improvement over Random +19.6%: place 11 of 23&#10;71 datasets'/><rect x='419.0' y='409.0' width='90' height='23' rx='3' fill='#549fcd'/><text x='464.0' y='424.5' text-anchor='middle' font-size='12' fill='#1f2328'>18.3</text><rect class='sa-hit' x='418.0' y='408.0' width='92' height='25' data-tip='Lasso · 3&#10;Improvement over Random +18.3%: place 13 of 23&#10;71 datasets'/><rect x='419.0' y='434.0' width='90' height='23' rx='3' fill='#5fa6d1'/><text x='464.0' y='449.5' text-anchor='middle' font-size='12' fill='#1f2328'>16.9</text><rect class='sa-hit' x='418.0' y='433.0' width='92' height='25' data-tip='SHAP · 3&#10;Improvement over Random +16.9%: place 17 of 23&#10;71 datasets'/><rect x='419.0' y='459.0' width='90' height='23' rx='3' fill='#65aad4'/><text x='464.0' y='474.5' text-anchor='middle' font-size='12' fill='#1f2328'>16.2</text><rect class='sa-hit' x='418.0' y='458.0' width='92' height='25' data-tip='GainRatio · 3&#10;Improvement over Random +16.2%: place 18 of 23&#10;71 datasets'/><rect x='419.0' y='484.0' width='90' height='23' rx='3' fill='#529dcc'/><text x='464.0' y='499.5' text-anchor='middle' font-size='12' fill='#1f2328'>18.5</text><rect class='sa-hit' x='418.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · 3&#10;Improvement over Random +18.5%: place 12 of 23&#10;71 datasets'/><rect x='419.0' y='509.0' width='90' height='23' rx='3' fill='#7fb9da'/><text x='464.0' y='524.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.6</text><rect class='sa-hit' x='418.0' y='508.0' width='92' height='25' data-tip='SFS · 3&#10;Improvement over Random +13.6%: place 19 of 23&#10;71 datasets'/><rect x='419.0' y='534.0' width='90' height='23' rx='3' fill='#a6cee4'/><text x='464.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>9.3</text><rect class='sa-hit' x='418.0' y='533.0' width='92' height='25' data-tip='LOCO · 3&#10;Improvement over Random +9.3%: place 21 of 23&#10;71 datasets'/><rect x='419.0' y='559.0' width='90' height='23' rx='3' fill='#9fcae1'/><text x='464.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>10.4</text><rect class='sa-hit' x='418.0' y='558.0' width='92' height='25' data-tip='SBE · 3&#10;Improvement over Random +10.4%: 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 · 3&#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'>-58.2</text><rect class='sa-hit' x='418.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · 3&#10;Improvement over Random -58.2%: place 23 of 23&#10;71 datasets'/><rect x='511.0' y='59.0' width='90' height='23' rx='3' fill='#58a1cf'/><text x='556.0' y='74.5' text-anchor='middle' font-size='12' fill='#1f2328'>17.8</text><rect class='sa-hit' x='510.0' y='58.0' width='92' height='25' data-tip='LGBMGain · 4&#10;Improvement over Random +17.8%: place 3 of 23&#10;71 datasets'/><rect x='511.0' y='84.0' width='90' height='23' rx='3' fill='#539ecd'/><rect class='sa-ink' x='511.5' y='84.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='556.0' y='99.5' text-anchor='middle' font-size='12' fill='#1f2328' font-weight='700'>18.4</text><rect class='sa-hit' x='510.0' y='83.0' width='92' height='25' data-tip='CD-PFN · 4&#10;Improvement over Random +18.4%: place 1 of 23 (best)&#10;71 datasets'/><rect x='511.0' y='109.0' width='90' height='23' rx='3' fill='#57a0ce'/><text x='556.0' y='124.5' text-anchor='middle' font-size='12' fill='#1f2328'>18.0</text><rect class='sa-hit' x='510.0' y='108.0' width='92' height='25' data-tip='RFImportance · 4&#10;Improvement over Random +18.0%: place 2 of 23&#10;71 datasets'/><rect x='511.0' y='134.0' width='90' height='23' rx='3' fill='#6caed6'/><text x='556.0' y='149.5' text-anchor='middle' font-size='12' fill='#1f2328'>15.4</text><rect class='sa-hit' x='510.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · 4&#10;Improvement over Random +15.4%: place 6 of 23&#10;71 datasets'/><rect x='511.0' y='159.0' width='90' height='23' rx='3' fill='#65aad4'/><text x='556.0' y='174.5' text-anchor='middle' font-size='12' fill='#1f2328'>16.2</text><rect class='sa-hit' x='510.0' y='158.0' width='92' height='25' data-tip='LassoNet · 4&#10;Improvement over Random +16.2%: place 4 of 23&#10;71 datasets'/><rect x='511.0' y='184.0' width='90' height='23' rx='3' fill='#68acd5'/><text x='556.0' y='199.5' text-anchor='middle' font-size='12' fill='#1f2328'>15.8</text><rect class='sa-hit' x='510.0' y='183.0' width='92' height='25' data-tip='PACE-DC · 4&#10;Improvement over Random +15.8%: place 5 of 23&#10;71 datasets'/><rect x='511.0' y='209.0' width='90' height='23' rx='3' fill='#79b5d9'/><text x='556.0' y='224.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.2</text><rect class='sa-hit' x='510.0' y='208.0' width='92' height='25' data-tip='MI · 4&#10;Improvement over Random +14.2%: place 9 of 23&#10;71 datasets'/><rect x='511.0' y='234.0' width='90' height='23' rx='3' fill='#77b5d9'/><text x='556.0' y='249.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.4</text><rect class='sa-hit' x='510.0' y='233.0' width='92' height='25' data-tip='CART · 4&#10;Improvement over Random +14.4%: place 8 of 23&#10;71 datasets'/><rect x='511.0' y='259.0' width='90' height='23' rx='3' fill='#7db8da'/><text x='556.0' y='274.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.7</text><rect class='sa-hit' x='510.0' y='258.0' width='92' height='25' data-tip='F-Test · 4&#10;Improvement over Random +13.7%: place 11 of 23&#10;71 datasets'/><rect x='511.0' y='284.0' width='90' height='23' rx='3' fill='#75b4d8'/><text x='556.0' y='299.5' text-anchor='middle' font-size='12' fill='#1f2328'>14.5</text><rect class='sa-hit' x='510.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · 4&#10;Improvement over Random +14.5%: place 7 of 23&#10;71 datasets'/><rect x='511.0' y='309.0' width='90' height='23' rx='3' fill='#7fb9da'/><text x='556.0' y='324.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.5</text><rect class='sa-hit' x='510.0' y='308.0' width='92' height='25' data-tip='ElasticNet · 4&#10;Improvement over Random +13.5%: place 12 of 23&#10;71 datasets'/><rect x='511.0' y='334.0' width='90' height='23' rx='3' fill='#7db8da'/><text x='556.0' y='349.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.7</text><rect class='sa-hit' x='510.0' y='333.0' width='92' height='25' data-tip='mRMR · 4&#10;Improvement over Random +13.7%: place 10 of 23&#10;71 datasets'/><rect x='511.0' y='359.0' width='90' height='23' rx='3' fill='#95c5df'/><text x='556.0' y='374.5' text-anchor='middle' font-size='12' fill='#1f2328'>11.3</text><rect class='sa-hit' x='510.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · 4&#10;Improvement over Random +11.3%: place 17 of 23&#10;71 datasets'/><rect x='511.0' y='384.0' width='90' height='23' rx='3' fill='#7fb9da'/><text x='556.0' y='399.5' text-anchor='middle' font-size='12' fill='#1f2328'>13.4</text><rect class='sa-hit' x='510.0' y='383.0' width='92' height='25' data-tip='CPI · 4&#10;Improvement over Random +13.4%: place 13 of 23&#10;71 datasets'/><rect x='511.0' y='409.0' width='90' height='23' rx='3' fill='#87bddc'/><text x='556.0' y='424.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.6</text><rect class='sa-hit' x='510.0' y='408.0' width='92' height='25' data-tip='Lasso · 4&#10;Improvement over Random +12.6%: place 15 of 23&#10;71 datasets'/><rect x='511.0' y='434.0' width='90' height='23' rx='3' fill='#bad6eb'/><text x='556.0' y='449.5' text-anchor='middle' font-size='12' fill='#1f2328'>6.8</text><rect class='sa-hit' x='510.0' y='433.0' width='92' height='25' data-tip='SHAP · 4&#10;Improvement over Random +6.8%: place 19 of 23&#10;71 datasets'/><rect x='511.0' y='459.0' width='90' height='23' rx='3' fill='#92c4de'/><text x='556.0' y='474.5' text-anchor='middle' font-size='12' fill='#1f2328'>11.6</text><rect class='sa-hit' x='510.0' y='458.0' width='92' height='25' data-tip='GainRatio · 4&#10;Improvement over Random +11.6%: place 16 of 23&#10;71 datasets'/><rect x='511.0' y='484.0' width='90' height='23' rx='3' fill='#85bcdc'/><text x='556.0' y='499.5' text-anchor='middle' font-size='12' fill='#1f2328'>12.9</text><rect class='sa-hit' x='510.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · 4&#10;Improvement over Random +12.9%: place 14 of 23&#10;71 datasets'/><rect x='511.0' y='509.0' width='90' height='23' rx='3' fill='#b0d2e7'/><text x='556.0' y='524.5' text-anchor='middle' font-size='12' fill='#1f2328'>8.1</text><rect class='sa-hit' x='510.0' y='508.0' width='92' height='25' data-tip='SFS · 4&#10;Improvement over Random +8.1%: place 18 of 23&#10;71 datasets'/><rect x='511.0' y='534.0' width='90' height='23' rx='3' fill='#c8dcf0'/><text x='556.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>5.0</text><rect class='sa-hit' x='510.0' y='533.0' width='92' height='25' data-tip='LOCO · 4&#10;Improvement over Random +5.0%: place 21 of 23&#10;71 datasets'/><rect x='511.0' y='559.0' width='90' height='23' rx='3' fill='#bed8ec'/><text x='556.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>6.3</text><rect class='sa-hit' x='510.0' y='558.0' width='92' height='25' data-tip='SBE · 4&#10;Improvement over Random +6.3%: place 20 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 · 4&#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'>-89.9</text><rect class='sa-hit' x='510.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · 4&#10;Improvement over Random -89.9%: place 23 of 23&#10;71 datasets'/><rect x='603.0' y='59.0' width='90' height='23' rx='3' fill='#9fcae1'/><text x='648.0' y='74.5' text-anchor='middle' font-size='12' fill='#1f2328'>10.3</text><rect class='sa-hit' x='602.0' y='58.0' width='92' height='25' data-tip='LGBMGain · 5 (largest)&#10;Improvement over Random +10.3%: place 3 of 23&#10;71 datasets'/><rect x='603.0' y='84.0' width='90' height='23' rx='3' fill='#92c4de'/><rect class='sa-ink' x='603.5' y='84.5' width='89' height='22' rx='3' fill='none' stroke-width='2'/><text x='648.0' y='99.5' text-anchor='middle' font-size='12' fill='#1f2328' font-weight='700'>11.6</text><rect class='sa-hit' x='602.0' y='83.0' width='92' height='25' data-tip='CD-PFN · 5 (largest)&#10;Improvement over Random +11.6%: place 1 of 23 (best)&#10;71 datasets'/><rect x='603.0' y='109.0' width='90' height='23' rx='3' fill='#97c6df'/><text x='648.0' y='124.5' text-anchor='middle' font-size='12' fill='#1f2328'>11.1</text><rect class='sa-hit' x='602.0' y='108.0' width='92' height='25' data-tip='RFImportance · 5 (largest)&#10;Improvement over Random +11.1%: place 2 of 23&#10;71 datasets'/><rect x='603.0' y='134.0' width='90' height='23' rx='3' fill='#a1cbe2'/><text x='648.0' y='149.5' text-anchor='middle' font-size='12' fill='#1f2328'>10.0</text><rect class='sa-hit' x='602.0' y='133.0' width='92' height='25' data-tip='PACE-HSIC · 5 (largest)&#10;Improvement over Random +10.0%: place 5 of 23&#10;71 datasets'/><rect x='603.0' y='159.0' width='90' height='23' rx='3' fill='#a3cce3'/><text x='648.0' y='174.5' text-anchor='middle' font-size='12' fill='#1f2328'>9.8</text><rect class='sa-hit' x='602.0' y='158.0' width='92' height='25' data-tip='LassoNet · 5 (largest)&#10;Improvement over Random +9.8%: place 7 of 23&#10;71 datasets'/><rect x='603.0' y='184.0' width='90' height='23' rx='3' fill='#9fcae1'/><text x='648.0' y='199.5' text-anchor='middle' font-size='12' fill='#1f2328'>10.3</text><rect class='sa-hit' x='602.0' y='183.0' width='92' height='25' data-tip='PACE-DC · 5 (largest)&#10;Improvement over Random +10.3%: place 4 of 23&#10;71 datasets'/><rect x='603.0' y='209.0' width='90' height='23' rx='3' fill='#b5d4e9'/><text x='648.0' y='224.5' text-anchor='middle' font-size='12' fill='#1f2328'>7.4</text><rect class='sa-hit' x='602.0' y='208.0' width='92' height='25' data-tip='MI · 5 (largest)&#10;Improvement over Random +7.4%: place 14 of 23&#10;71 datasets'/><rect x='603.0' y='234.0' width='90' height='23' rx='3' fill='#b4d3e9'/><text x='648.0' y='249.5' text-anchor='middle' font-size='12' fill='#1f2328'>7.6</text><rect class='sa-hit' x='602.0' y='233.0' width='92' height='25' data-tip='CART · 5 (largest)&#10;Improvement over Random +7.6%: place 12 of 23&#10;71 datasets'/><rect x='603.0' y='259.0' width='90' height='23' rx='3' fill='#a1cbe2'/><text x='648.0' y='274.5' text-anchor='middle' font-size='12' fill='#1f2328'>9.9</text><rect class='sa-hit' x='602.0' y='258.0' width='92' height='25' data-tip='F-Test · 5 (largest)&#10;Improvement over Random +9.9%: place 6 of 23&#10;71 datasets'/><rect x='603.0' y='284.0' width='90' height='23' rx='3' fill='#a3cce3'/><text x='648.0' y='299.5' text-anchor='middle' font-size='12' fill='#1f2328'>9.8</text><rect class='sa-hit' x='602.0' y='283.0' width='92' height='25' data-tip='PACE-SIS · 5 (largest)&#10;Improvement over Random +9.8%: place 8 of 23&#10;71 datasets'/><rect x='603.0' y='309.0' width='90' height='23' rx='3' fill='#abd0e6'/><text x='648.0' y='324.5' text-anchor='middle' font-size='12' fill='#1f2328'>8.7</text><rect class='sa-hit' x='602.0' y='308.0' width='92' height='25' data-tip='ElasticNet · 5 (largest)&#10;Improvement over Random +8.7%: place 10 of 23&#10;71 datasets'/><rect x='603.0' y='334.0' width='90' height='23' rx='3' fill='#a9cfe5'/><text x='648.0' y='349.5' text-anchor='middle' font-size='12' fill='#1f2328'>9.0</text><rect class='sa-hit' x='602.0' y='333.0' width='92' height='25' data-tip='mRMR · 5 (largest)&#10;Improvement over Random +9.0%: place 9 of 23&#10;71 datasets'/><rect x='603.0' y='359.0' width='90' height='23' rx='3' fill='#bdd7ec'/><text x='648.0' y='374.5' text-anchor='middle' font-size='12' fill='#1f2328'>6.5</text><rect class='sa-hit' x='602.0' y='358.0' width='92' height='25' data-tip='MarkovBlanket · 5 (largest)&#10;Improvement over Random +6.5%: place 16 of 23&#10;71 datasets'/><rect x='603.0' y='384.0' width='90' height='23' rx='3' fill='#b7d4ea'/><text x='648.0' y='399.5' text-anchor='middle' font-size='12' fill='#1f2328'>7.3</text><rect class='sa-hit' x='602.0' y='383.0' width='92' height='25' data-tip='CPI · 5 (largest)&#10;Improvement over Random +7.3%: place 15 of 23&#10;71 datasets'/><rect x='603.0' y='409.0' width='90' height='23' rx='3' fill='#b5d4e9'/><text x='648.0' y='424.5' text-anchor='middle' font-size='12' fill='#1f2328'>7.5</text><rect class='sa-hit' x='602.0' y='408.0' width='92' height='25' data-tip='Lasso · 5 (largest)&#10;Improvement over Random +7.5%: place 13 of 23&#10;71 datasets'/><rect x='603.0' y='434.0' width='90' height='23' rx='3' fill='#c9ddf0'/><text x='648.0' y='449.5' text-anchor='middle' font-size='12' fill='#1f2328'>4.7</text><rect class='sa-hit' x='602.0' y='433.0' width='92' height='25' data-tip='SHAP · 5 (largest)&#10;Improvement over Random +4.7%: place 18 of 23&#10;71 datasets'/><rect x='603.0' y='459.0' width='90' height='23' rx='3' fill='#c1d9ed'/><text x='648.0' y='474.5' text-anchor='middle' font-size='12' fill='#1f2328'>6.0</text><rect class='sa-hit' x='602.0' y='458.0' width='92' height='25' data-tip='GainRatio · 5 (largest)&#10;Improvement over Random +6.0%: place 17 of 23&#10;71 datasets'/><rect x='603.0' y='484.0' width='90' height='23' rx='3' fill='#b0d2e7'/><text x='648.0' y='499.5' text-anchor='middle' font-size='12' fill='#1f2328'>8.1</text><rect class='sa-hit' x='602.0' y='483.0' width='92' height='25' data-tip='(R)ReliefF · 5 (largest)&#10;Improvement over Random +8.1%: place 11 of 23&#10;71 datasets'/><rect x='603.0' y='509.0' width='90' height='23' rx='3' fill='#cfe1f2'/><text x='648.0' y='524.5' text-anchor='middle' font-size='12' fill='#1f2328'>3.4</text><rect class='sa-hit' x='602.0' y='508.0' width='92' height='25' data-tip='SFS · 5 (largest)&#10;Improvement over Random +3.4%: place 21 of 23&#10;71 datasets'/><rect x='603.0' y='534.0' width='90' height='23' rx='3' fill='#cadef0'/><text x='648.0' y='549.5' text-anchor='middle' font-size='12' fill='#1f2328'>4.4</text><rect class='sa-hit' x='602.0' y='533.0' width='92' height='25' data-tip='LOCO · 5 (largest)&#10;Improvement over Random +4.4%: place 19 of 23&#10;71 datasets'/><rect x='603.0' y='559.0' width='90' height='23' rx='3' fill='#cddff1'/><text x='648.0' y='574.5' text-anchor='middle' font-size='12' fill='#1f2328'>3.9</text><rect class='sa-hit' x='602.0' y='558.0' width='92' height='25' data-tip='SBE · 5 (largest)&#10;Improvement over Random +3.9%: place 20 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 · 5 (largest)&#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'>-92.1</text><rect class='sa-hit' x='602.0' y='608.0' width='92' height='25' data-tip='LaplacianScore · 5 (largest)&#10;Improvement over Random -92.1%: 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'>33.8 (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
1 (smallest),LGBMGain,33.797,71
1 (smallest),PACE-HSIC,31.913,71
1 (smallest),CD-PFN,31.667,71
1 (smallest),LassoNet,30.987,71
1 (smallest),RFImportance,29.949,71
1 (smallest),PACE-DC,29.579,71
1 (smallest),MI,28.693,71
1 (smallest),F-Test,28.287,71
1 (smallest),CART,27.621,71
1 (smallest),MarkovBlanket,26.816,71
1 (smallest),ElasticNet,25.633,71
1 (smallest),mRMR,25.509,71
1 (smallest),PACE-SIS,25.139,71
1 (smallest),SHAP,24.596,71
1 (smallest),Lasso,24.124,71
1 (smallest),SFS,23.724,71
1 (smallest),GainRatio,23.568,71
1 (smallest),CPI,23.238,71
1 (smallest),(R)ReliefF,20.438,71
1 (smallest),LOCO,15.342,71
1 (smallest),SBE,12.509,71
1 (smallest),Random,0.0,71
1 (smallest),LaplacianScore,-14.72,71
2,LGBMGain,32.452,71
2,CD-PFN,31.363,71
2,PACE-HSIC,30.166,71
2,LassoNet,29.728,71
2,RFImportance,29.344,71
2,PACE-DC,29.213,71
2,MI,27.452,71
2,CART,27.134,71
2,PACE-SIS,26.809,71
2,ElasticNet,25.989,71
2,F-Test,25.894,71
2,SHAP,25.467,71
2,Lasso,25.435,71
2,CPI,25.394,71
2,MarkovBlanket,24.565,71
2,mRMR,24.552,71
2,GainRatio,23.717,71
2,SFS,21.617,71
2,(R)ReliefF,21.271,71
2,LOCO,15.851,71
2,SBE,14.66,71
2,Random,0.0,71
2,LaplacianScore,-22.771,71
3,LGBMGain,25.96,71
3,CD-PFN,25.283,71
3,RFImportance,24.301,71
3,LassoNet,22.805,71
3,PACE-HSIC,22.612,71
3,PACE-DC,22.557,71
3,MI,20.889,71
3,PACE-SIS,20.707,71
3,CART,20.469,71
3,ElasticNet,19.762,71
3,CPI,19.597,71
3,(R)ReliefF,18.517,71
3,Lasso,18.306,71
3,F-Test,18.259,71
3,MarkovBlanket,18.042,71
3,mRMR,17.718,71
3,SHAP,16.941,71
3,GainRatio,16.212,71
3,SFS,13.561,71
3,SBE,10.365,71
3,LOCO,9.32,71
3,Random,0.0,71
3,LaplacianScore,-58.202,71
4,CD-PFN,18.381,71
4,RFImportance,17.952,71
4,LGBMGain,17.789,71
4,LassoNet,16.179,71
4,PACE-DC,15.847,71
4,PACE-HSIC,15.431,71
4,PACE-SIS,14.511,71
4,CART,14.358,71
4,MI,14.161,71
4,mRMR,13.698,71
4,F-Test,13.674,71
4,ElasticNet,13.472,71
4,CPI,13.416,71
4,(R)ReliefF,12.87,71
4,Lasso,12.647,71
4,GainRatio,11.625,71
4,MarkovBlanket,11.303,71
4,SFS,8.103,71
4,SHAP,6.804,71
4,SBE,6.307,71
4,LOCO,4.958,71
4,Random,0.0,71
4,LaplacianScore,-89.862,71
5 (largest),CD-PFN,11.595,71
5 (largest),RFImportance,11.111,71
5 (largest),LGBMGain,10.316,71
5 (largest),PACE-DC,10.279,71
5 (largest),PACE-HSIC,10.013,71
5 (largest),F-Test,9.944,71
5 (largest),LassoNet,9.84,71
5 (largest),PACE-SIS,9.764,71
5 (largest),mRMR,9.014,71
5 (largest),ElasticNet,8.66,71
5 (largest),(R)ReliefF,8.059,71
5 (largest),CART,7.59,71
5 (largest),Lasso,7.459,71
5 (largest),MI,7.407,71
5 (largest),CPI,7.342,71
5 (largest),MarkovBlanket,6.54,71
5 (largest),GainRatio,6.016,71
5 (largest),SHAP,4.687,71
5 (largest),LOCO,4.352,71
5 (largest),SBE,3.89,71
5 (largest),SFS,3.41,71
5 (largest),Random,0.0,71
5 (largest),LaplacianScore,-92.081,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>