Spaces:
Running
Running
Leaderboard v0.12.3: add LGBMGain (from Preview v0.12.13; results: SelectArena_Results@49f46580)
2517b84 Download data/subsets/tasks_regression/models_linearmodel/budgets_2/pareto.html from SelectArena/Leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 27.8 kB
-
https://huggingface.co/spaces/SelectArena/Leaderboard/resolve/main/data/subsets/tasks_regression/models_linearmodel/budgets_2/pareto.html
- Command line
-
hf download hf://spaces/SelectArena/Leaderboard/data/subsets/tasks_regression/models_linearmodel/budgets_2/pareto.html
-
curl -L -o pareto.html https://huggingface.co/spaces/SelectArena/Leaderboard/resolve/main/data/subsets/tasks_regression/models_linearmodel/budgets_2/pareto.html
27.8 kB
| <html lang='en'><head><meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'><title>SelectArena leaderboard: regression, LinearModel, budget 3</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 method for its values.</span><button onclick="saSvg('selectarena_pareto')">SVG</button><button onclick="saPng('selectarena_pareto')">PNG</button><button onclick="saPdf('selectarena_pareto')">PDF</button><button onclick="saCsv('selectarena_pareto.csv')">CSV</button></div><svg id='sa-figure' viewBox='0 0 864 432' role='img' aria-label='Improvement over Random against feature selection time per 1k features'><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; } | |
| </style><line class='sa-grid' x1='115.1' x2='115.1' y1='16.2' y2='368.0'/><text class='sa-text' x='115.1' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>0</tspan></text><line class='sa-grid' x1='256.6' x2='256.6' y1='16.2' y2='368.0'/><text class='sa-text' x='256.6' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>1</tspan></text><line class='sa-grid' x1='398.0' x2='398.0' y1='16.2' y2='368.0'/><text class='sa-text' x='398.0' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>2</tspan></text><line class='sa-grid' x1='539.5' x2='539.5' y1='16.2' y2='368.0'/><text class='sa-text' x='539.5' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>3</tspan></text><line class='sa-grid' x1='681.0' x2='681.0' y1='16.2' y2='368.0'/><text class='sa-text' x='681.0' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>4</tspan></text><line class='sa-grid' x1='822.4' x2='822.4' y1='16.2' y2='368.0'/><text class='sa-text' x='822.4' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>5</tspan></text><line class='sa-grid' x1='57.4' x2='847.8' y1='325.7' y2='325.7'/><text class='sa-text' x='48.4' y='331.7' text-anchor='end' font-size='15'>3</text><line class='sa-grid' x1='57.4' x2='847.8' y1='268.7' y2='268.7'/><text class='sa-text' x='48.4' y='274.7' text-anchor='end' font-size='15'>4</text><line class='sa-grid' x1='57.4' x2='847.8' y1='211.7' y2='211.7'/><text class='sa-text' x='48.4' y='217.7' text-anchor='end' font-size='15'>5</text><line class='sa-grid' x1='57.4' x2='847.8' y1='154.7' y2='154.7'/><text class='sa-text' x='48.4' y='160.7' text-anchor='end' font-size='15'>6</text><line class='sa-grid' x1='57.4' x2='847.8' y1='97.6' y2='97.6'/><text class='sa-text' x='48.4' y='103.6' text-anchor='end' font-size='15'>7</text><line class='sa-grid' x1='57.4' x2='847.8' y1='40.6' y2='40.6'/><text class='sa-text' x='48.4' y='46.6' text-anchor='end' font-size='15'>8</text><rect class='sa-frame-line' x='57.4' y='16.2' width='790.4' height='351.8'/><text class='sa-text' x='452.6' y='420.0' text-anchor='middle' font-size='15'>Feature Selection Time (s) per 1k Features</text><text class='sa-text' transform='translate(21.0 192.1) rotate(-90)' text-anchor='middle' font-size='15'>Improvement over Random (%)</text><defs><marker id='sa-arrow' viewBox='0 0 10 10' refX='9' refY='5' markerWidth='7' markerHeight='7' orient='auto-start-reverse'><path d='M0,0 L10,5 L0,10' fill='none' stroke='#009E73' stroke-width='1.6'/></marker></defs><line x1='100.2' y1='51.9' x2='59.4' y2='18.2' stroke='#009E73' stroke-width='2.2' marker-end='url(#sa-arrow)'/><text x='73.2' y='75.9' fill='#009E73' font-size='18' font-weight='700'>optimal</text><polyline points='93.3,216.4 247.0,40.0 430.2,32.2' fill='none' stroke='#D55E00' stroke-width='3.0'/><circle class='sa-point' cx='430.2' cy='32.2' r='6.8' fill='#D55E00' stroke-width='1'/><circle cx='514.3' cy='39.7' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle class='sa-point' cx='247.0' cy='40.0' r='6.8' fill='#D55E00' stroke-width='1'/><circle cx='294.3' cy='45.8' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='324.6' cy='77.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='622.5' cy='112.3' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='399.9' cy='117.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='550.3' cy='132.6' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='345.0' cy='148.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='811.9' cy='161.8' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='260.0' cy='165.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='316.3' cy='172.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='737.0' cy='195.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='329.4' cy='206.4' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='678.0' cy='214.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='348.2' cy='214.4' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle class='sa-point' cx='93.3' cy='216.4' r='6.8' fill='#D55E00' stroke-width='1'/><circle cx='376.2' cy='230.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='672.3' cy='311.4' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='392.2' cy='316.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='741.7' cy='352.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><line class='sa-ink' x1='430.2' y1='32.2' x2='480.0' y2='25.6' stroke-width='1' opacity='0.6'/><text class='sa-text sa-halo' x='480.0' y='25.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>RFImportance</text><line class='sa-ink' x1='514.3' y1='39.7' x2='498.4' y2='56.8' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='498.4' y='56.8' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>CD-PFN</text><text class='sa-text sa-halo' x='250.1' y='25.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>LGBMGain</text><line class='sa-ink' x1='294.3' y1='45.8' x2='258.0' y2='60.1' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='258.0' y='60.1' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>CART</text><line class='sa-ink' x1='324.6' y1='77.0' x2='265.9' y2='90.7' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='265.9' y='90.7' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-SIS</text><line class='sa-ink' x1='622.5' y1='112.3' x2='640.4' y2='98.1' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='640.4' y='98.1' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>CPI</text><text class='sa-dim sa-halo' x='406.2' y='99.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>MI</text><line class='sa-ink' x1='550.3' y1='132.6' x2='525.4' y2='146.9' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='525.4' y='146.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>LassoNet</text><line class='sa-ink' x1='345.0' y1='148.9' x2='381.3' y2='134.6' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='381.3' y='134.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-DC</text><text class='sa-dim sa-halo' x='819.4' y='147.5' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SHAP</text><text class='sa-dim sa-halo' x='255.5' y='147.4' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>Lasso</text><line class='sa-ink' x1='316.3' y1='172.0' x2='290.1' y2='178.8' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='290.1' y='178.8' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>ElasticNet</text><line class='sa-ink' x1='737.0' y1='195.9' x2='760.0' y2='181.6' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='760.0' y='181.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SFS</text><line class='sa-ink' x1='329.4' y1='206.4' x2='172.6' y2='210.9' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='172.6' y='210.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>MarkovBlanket</text><line class='sa-ink' x1='678.0' y1='214.0' x2='607.3' y2='227.8' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='607.3' y='227.8' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>(R)ReliefF</text><line class='sa-ink' x1='348.2' y1='214.4' x2='294.5' y2='243.5' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='294.5' y='243.5' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-HSIC</text><line class='sa-ink' x1='93.3' y1='216.4' x2='133.7' y2='242.7' stroke-width='1' opacity='0.6'/><text class='sa-text sa-halo' x='133.7' y='242.7' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>F-Test</text><line class='sa-ink' x1='376.2' y1='230.9' x2='467.4' y2='268.6' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='467.4' y='268.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>GainRatio</text><line class='sa-ink' x1='672.3' y1='311.4' x2='695.9' y2='297.1' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='695.9' y='297.1' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>LOCO</text><line class='sa-ink' x1='392.2' y1='316.1' x2='352.1' y2='330.4' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='352.1' y='330.4' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>mRMR</text><line class='sa-ink' x1='741.7' y1='352.0' x2='772.3' y2='358.0' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='772.3' y='358.0' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SBE</text><rect class='sa-legend' x='69.4' y='296.0' width='225.0' height='60.0' rx='4'/><circle stroke='#808080' cx='90.4' cy='314.0' r='6.0' fill='#d3d3d3'/><text class='sa-text' x='108.4' y='320.0' font-size='15'>Dominated Methods</text><circle class='sa-point' cx='90.4' cy='338.0' r='6.0' fill='#D55E00'/><text class='sa-text' x='108.4' y='344.0' font-size='15'>Pareto Front</text><circle class='sa-hit' cx='430.2' cy='32.2' r='10.5' data-tip='RFImportance (on the Pareto front) Improvement over Random: 8.1% Selection time per 1k features: 169 s Datasets: 10' aria-label='RFImportance (on the Pareto front) Improvement over Random: 8.1% Selection time per 1k features: 169 s Datasets: 10'/><circle class='sa-hit' cx='514.3' cy='39.7' r='10.5' data-tip='CD-PFN Improvement over Random: 8.0% Selection time per 1k features: 663 s Datasets: 10' aria-label='CD-PFN Improvement over Random: 8.0% Selection time per 1k features: 663 s Datasets: 10'/><circle class='sa-hit' cx='247.0' cy='40.0' r='10.5' data-tip='LGBMGain (on the Pareto front) Improvement over Random: 8.0% Selection time per 1k features: 8.55 s Datasets: 10' aria-label='LGBMGain (on the Pareto front) Improvement over Random: 8.0% Selection time per 1k features: 8.55 s Datasets: 10'/><circle class='sa-hit' cx='294.3' cy='45.8' r='10.5' data-tip='CART Improvement over Random: 7.9% Selection time per 1k features: 18.5 s Datasets: 10' aria-label='CART Improvement over Random: 7.9% Selection time per 1k features: 18.5 s Datasets: 10'/><circle class='sa-hit' cx='324.6' cy='77.0' r='10.5' data-tip='PACE-SIS Improvement over Random: 7.4% Selection time per 1k features: 30.2 s Datasets: 10' aria-label='PACE-SIS Improvement over Random: 7.4% Selection time per 1k features: 30.2 s Datasets: 10'/><circle class='sa-hit' cx='622.5' cy='112.3' r='10.5' data-tip='CPI Improvement over Random: 6.7% Selection time per 1k features: 3.86e+03 s Datasets: 10' aria-label='CPI Improvement over Random: 6.7% Selection time per 1k features: 3.86e+03 s Datasets: 10'/><circle class='sa-hit' cx='399.9' cy='117.1' r='10.5' data-tip='MI Improvement over Random: 6.7% Selection time per 1k features: 103 s Datasets: 10' aria-label='MI Improvement over Random: 6.7% Selection time per 1k features: 103 s Datasets: 10'/><circle class='sa-hit' cx='550.3' cy='132.6' r='10.5' data-tip='LassoNet Improvement over Random: 6.4% Selection time per 1k features: 1.19e+03 s Datasets: 10' aria-label='LassoNet Improvement over Random: 6.4% Selection time per 1k features: 1.19e+03 s Datasets: 10'/><circle class='sa-hit' cx='345.0' cy='148.9' r='10.5' data-tip='PACE-DC Improvement over Random: 6.1% Selection time per 1k features: 42.2 s Datasets: 10' aria-label='PACE-DC Improvement over Random: 6.1% Selection time per 1k features: 42.2 s Datasets: 10'/><circle class='sa-hit' cx='811.9' cy='161.8' r='10.5' data-tip='SHAP Improvement over Random: 5.9% Selection time per 1k features: 8.42e+04 s Datasets: 10' aria-label='SHAP Improvement over Random: 5.9% Selection time per 1k features: 8.42e+04 s Datasets: 10'/><circle class='sa-hit' cx='260.0' cy='165.1' r='10.5' data-tip='Lasso Improvement over Random: 5.8% Selection time per 1k features: 10.6 s Datasets: 10' aria-label='Lasso Improvement over Random: 5.8% Selection time per 1k features: 10.6 s Datasets: 10'/><circle class='sa-hit' cx='316.3' cy='172.0' r='10.5' data-tip='ElasticNet Improvement over Random: 5.7% Selection time per 1k features: 26.4 s Datasets: 10' aria-label='ElasticNet Improvement over Random: 5.7% Selection time per 1k features: 26.4 s Datasets: 10'/><circle class='sa-hit' cx='737.0' cy='195.9' r='10.5' data-tip='SFS Improvement over Random: 5.3% Selection time per 1k features: 2.49e+04 s Datasets: 10' aria-label='SFS Improvement over Random: 5.3% Selection time per 1k features: 2.49e+04 s Datasets: 10'/><circle class='sa-hit' cx='329.4' cy='206.4' r='10.5' data-tip='MarkovBlanket Improvement over Random: 5.1% Selection time per 1k features: 32.7 s Datasets: 10 Next to PACE-HSIC: 5.0%, 44.4 s' aria-label='MarkovBlanket Improvement over Random: 5.1% Selection time per 1k features: 32.7 s Datasets: 10 Next to PACE-HSIC: 5.0%, 44.4 s'/><circle class='sa-hit' cx='678.0' cy='214.0' r='10.5' data-tip='(R)ReliefF Improvement over Random: 5.0% Selection time per 1k features: 9.54e+03 s Datasets: 10' aria-label='(R)ReliefF Improvement over Random: 5.0% Selection time per 1k features: 9.54e+03 s Datasets: 10'/><circle class='sa-hit' cx='348.2' cy='214.4' r='10.5' data-tip='PACE-HSIC Improvement over Random: 5.0% Selection time per 1k features: 44.4 s Datasets: 10 Next to MarkovBlanket: 5.1%, 32.7 s' aria-label='PACE-HSIC Improvement over Random: 5.0% Selection time per 1k features: 44.4 s Datasets: 10 Next to MarkovBlanket: 5.1%, 32.7 s'/><circle class='sa-hit' cx='93.3' cy='216.4' r='10.5' data-tip='F-Test (on the Pareto front) Improvement over Random: 4.9% Selection time per 1k features: 0.701 s Datasets: 10' aria-label='F-Test (on the Pareto front) Improvement over Random: 4.9% Selection time per 1k features: 0.701 s Datasets: 10'/><circle class='sa-hit' cx='376.2' cy='230.9' r='10.5' data-tip='GainRatio Improvement over Random: 4.7% Selection time per 1k features: 70.1 s Datasets: 10' aria-label='GainRatio Improvement over Random: 4.7% Selection time per 1k features: 70.1 s Datasets: 10'/><circle class='sa-hit' cx='672.3' cy='311.4' r='10.5' data-tip='LOCO Improvement over Random: 3.3% Selection time per 1k features: 8.68e+03 s Datasets: 10' aria-label='LOCO Improvement over Random: 3.3% Selection time per 1k features: 8.68e+03 s Datasets: 10'/><circle class='sa-hit' cx='392.2' cy='316.1' r='10.5' data-tip='mRMR Improvement over Random: 3.2% Selection time per 1k features: 91 s Datasets: 10' aria-label='mRMR Improvement over Random: 3.2% Selection time per 1k features: 91 s Datasets: 10'/><circle class='sa-hit' cx='741.7' cy='352.0' r='10.5' data-tip='SBE Improvement over Random: 2.5% Selection time per 1k features: 2.69e+04 s Datasets: 10' aria-label='SBE Improvement over Random: 2.5% Selection time per 1k features: 2.69e+04 s Datasets: 10'/></svg><script type='text/plain' id='sa-csv'>method,improvement,time_per_1k,n_datasets,pareto_optimal | |
| RFImportance,8.1481,168.8775,10,True | |
| CD-PFN,8.0163,663.4223,10,False | |
| LGBMGain,8.0117,8.5478,10,True | |
| CART,7.9086,18.4829,10,False | |
| PACE-SIS,7.3622,30.2372,10,False | |
| CPI,6.7423,3863.4629,10,False | |
| MI,6.6593,103.0079,10,False | |
| LassoNet,6.3862,1191.3075,10,False | |
| PACE-DC,6.1017,42.1738,10,False | |
| SHAP,5.8745,84245.213,10,False | |
| Lasso,5.8173,10.5716,10,False | |
| ElasticNet,5.6962,26.4185,10,False | |
| SFS,5.2771,24920.5736,10,False | |
| MarkovBlanket,5.0933,32.7216,10,False | |
| (R)ReliefF,4.9584,9535.572,10,False | |
| PACE-HSIC,4.953,44.4364,10,False | |
| F-Test,4.9172,0.7012,10,True | |
| GainRatio,4.6633,70.1018,10,False | |
| LOCO,3.251,8683.9083,10,False | |
| mRMR,3.1683,90.9502,10,False | |
| SBE,2.5379,26863.671,10,False | |
| Random,0.0,0.0033,10,True | |
| LaplacianScore,-2.252,4.0983,10,False | |
| </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> | |