Spaces:
Running
Running
Leaderboard v0.12.3: add LGBMGain (from Preview v0.12.13; results: SelectArena_Results@49f46580)
2517b84 Download data/subsets/tasks_classification/models_linearmodel/budgets_4/pareto.html from SelectArena/Leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 28.1 kB
-
https://huggingface.co/spaces/SelectArena/Leaderboard/resolve/main/data/subsets/tasks_classification/models_linearmodel/budgets_4/pareto.html
- Command line
-
hf download hf://spaces/SelectArena/Leaderboard/data/subsets/tasks_classification/models_linearmodel/budgets_4/pareto.html
-
curl -L -o pareto.html https://huggingface.co/spaces/SelectArena/Leaderboard/resolve/main/data/subsets/tasks_classification/models_linearmodel/budgets_4/pareto.html
28.1 kB
| <html lang='en'><head><meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'><title>SelectArena leaderboard: classification, LinearModel, budget 5</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='129.9' x2='129.9' y1='16.2' y2='368.0'/><text class='sa-text' x='129.9' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>0</tspan></text><line class='sa-grid' x1='279.2' x2='279.2' y1='16.2' y2='368.0'/><text class='sa-text' x='279.2' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>1</tspan></text><line class='sa-grid' x1='428.5' x2='428.5' y1='16.2' y2='368.0'/><text class='sa-text' x='428.5' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>2</tspan></text><line class='sa-grid' x1='577.7' x2='577.7' y1='16.2' y2='368.0'/><text class='sa-text' x='577.7' y='390.5' text-anchor='middle' font-size='15'>10<tspan dy='-7' font-size='10'>3</tspan></text><line class='sa-grid' x1='727.0' x2='727.0' y1='16.2' y2='368.0'/><text class='sa-text' x='727.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='66.9' x2='847.8' y1='335.7' y2='335.7'/><text class='sa-text' x='57.9' y='341.7' text-anchor='end' font-size='15'>4</text><line class='sa-grid' x1='66.9' x2='847.8' y1='268.4' y2='268.4'/><text class='sa-text' x='57.9' y='274.4' text-anchor='end' font-size='15'>6</text><line class='sa-grid' x1='66.9' x2='847.8' y1='201.1' y2='201.1'/><text class='sa-text' x='57.9' y='207.1' text-anchor='end' font-size='15'>8</text><line class='sa-grid' x1='66.9' x2='847.8' y1='133.8' y2='133.8'/><text class='sa-text' x='57.9' y='139.8' text-anchor='end' font-size='15'>10</text><line class='sa-grid' x1='66.9' x2='847.8' y1='66.5' y2='66.5'/><text class='sa-text' x='57.9' y='72.5' text-anchor='end' font-size='15'>12</text><rect class='sa-frame-line' x='66.9' y='16.2' width='780.9' height='351.8'/><text class='sa-text' x='457.4' 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='109.5' y1='51.9' x2='68.9' y2='18.2' stroke='#009E73' stroke-width='2.2' marker-end='url(#sa-arrow)'/><text x='82.5' y='75.9' fill='#009E73' font-size='18' font-weight='700'>optimal</text><polyline points='102.4,172.5 314.0,81.0 599.0,32.2' fill='none' stroke='#D55E00' stroke-width='3.0'/><circle class='sa-point' cx='599.0' cy='32.2' r='6.8' fill='#D55E00' stroke-width='1'/><circle class='sa-point' cx='314.0' cy='81.0' r='6.8' fill='#D55E00' stroke-width='1'/><circle cx='340.3' cy='86.2' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='331.9' cy='86.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='429.9' cy='116.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='633.6' cy='117.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='617.4' cy='120.4' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='351.8' cy='145.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='639.3' cy='150.2' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='345.0' cy='163.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle class='sa-point' cx='102.4' cy='172.5' r='6.8' fill='#D55E00' stroke-width='1'/><circle cx='308.6' cy='194.8' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='206.1' cy='195.7' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='362.6' cy='198.3' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='300.3' cy='223.1' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='631.5' cy='224.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='789.7' cy='236.5' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='812.3' cy='286.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='810.7' cy='324.9' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='693.7' cy='348.2' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><circle cx='760.8' cy='352.0' r='5.8' fill='#d3d3d3' fill-opacity='0.8' stroke='#808080' stroke-width='1'/><line class='sa-ink' x1='599.0' y1='32.2' x2='660.7' y2='46.5' stroke-width='1' opacity='0.6'/><text class='sa-text sa-halo' x='660.7' y='46.5' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>CD-PFN</text><line class='sa-ink' x1='314.0' y1='81.0' x2='243.1' y2='75.4' stroke-width='1' opacity='0.6'/><text class='sa-text sa-halo' x='243.1' y='75.4' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>RFImportance</text><line class='sa-ink' x1='340.3' y1='86.2' x2='391.9' y2='71.9' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='391.9' y='71.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-DC</text><line class='sa-ink' x1='331.9' y1='86.9' x2='424.9' y2='38.7' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='424.9' y='38.7' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-SIS</text><line class='sa-ink' x1='429.9' y1='116.0' x2='469.6' y2='101.2' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='469.6' y='101.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>mRMR</text><line class='sa-ink' x1='633.6' y1='117.1' x2='692.2' y2='102.2' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='692.2' y='102.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>ElasticNet</text><line class='sa-ink' x1='617.4' y1='120.4' x2='557.6' y2='134.2' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='557.6' y='134.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>LassoNet</text><line class='sa-ink' x1='351.8' y1='145.0' x2='400.9' y2='130.2' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='400.9' y='130.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>PACE-HSIC</text><line class='sa-ink' x1='639.3' y1='150.2' x2='661.9' y2='163.9' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='661.9' y='163.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>CPI</text><line class='sa-ink' x1='345.0' y1='163.1' x2='426.9' y2='175.1' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='426.9' y='175.1' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>LGBMGain</text><line class='sa-ink' x1='102.4' y1='172.5' x2='142.3' y2='152.6' stroke-width='1' opacity='0.6'/><text class='sa-text sa-halo' x='142.3' y='152.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='700'>F-Test</text><text class='sa-dim sa-halo' x='326.7' y='205.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>MarkovBlanket</text><line class='sa-ink' x1='206.1' y1='195.7' x2='151.9' y2='183.7' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='151.9' y='183.7' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>GainRatio</text><line class='sa-ink' x1='362.6' y1='198.3' x2='435.2' y2='235.9' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='435.2' y='235.9' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>MI</text><line class='sa-ink' x1='300.3' y1='223.1' x2='264.4' y2='237.4' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='264.4' y='237.4' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>CART</text><line class='sa-ink' x1='631.5' y1='224.9' x2='598.1' y2='239.1' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='598.1' y='239.1' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>Lasso</text><text class='sa-dim sa-halo' x='796.9' y='222.2' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>(R)ReliefF</text><text class='sa-dim sa-halo' x='819.7' y='272.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SHAP</text><line class='sa-ink' x1='810.7' y1='324.9' x2='828.6' y2='310.6' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='828.6' y='310.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SFS</text><line class='sa-ink' x1='693.7' y1='348.2' x2='714.5' y2='333.3' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='714.5' y='333.3' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>LOCO</text><line class='sa-ink' x1='760.8' y1='352.0' x2='792.9' y2='354.6' stroke-width='1' opacity='0.6'/><text class='sa-dim sa-halo' x='792.9' y='354.6' text-anchor='middle' dominant-baseline='central' font-size='18' font-weight='400'>SBE</text><rect class='sa-legend' x='78.9' y='296.0' width='225.0' height='60.0' rx='4'/><circle stroke='#808080' cx='99.9' cy='314.0' r='6.0' fill='#d3d3d3'/><text class='sa-text' x='117.9' y='320.0' font-size='15'>Dominated Methods</text><circle class='sa-point' cx='99.9' cy='338.0' r='6.0' fill='#D55E00'/><text class='sa-text' x='117.9' y='344.0' font-size='15'>Pareto Front</text><circle class='sa-hit' cx='599.0' cy='32.2' r='10.5' data-tip='CD-PFN (on the Pareto front) Improvement over Random: 13.0% Selection time per 1k features: 1.39e+03 s Datasets: 61' aria-label='CD-PFN (on the Pareto front) Improvement over Random: 13.0% Selection time per 1k features: 1.39e+03 s Datasets: 61'/><circle class='sa-hit' cx='314.0' cy='81.0' r='10.5' data-tip='RFImportance (on the Pareto front) Improvement over Random: 11.6% Selection time per 1k features: 17.1 s Datasets: 61 Next to PACE-SIS: 11.4%, 22.6 s' aria-label='RFImportance (on the Pareto front) Improvement over Random: 11.6% Selection time per 1k features: 17.1 s Datasets: 61 Next to PACE-SIS: 11.4%, 22.6 s'/><circle class='sa-hit' cx='340.3' cy='86.2' r='10.5' data-tip='PACE-DC Improvement over Random: 11.4% Selection time per 1k features: 25.7 s Datasets: 61 Next to PACE-SIS: 11.4%, 22.6 s' aria-label='PACE-DC Improvement over Random: 11.4% Selection time per 1k features: 25.7 s Datasets: 61 Next to PACE-SIS: 11.4%, 22.6 s'/><circle class='sa-hit' cx='331.9' cy='86.9' r='10.5' data-tip='PACE-SIS Improvement over Random: 11.4% Selection time per 1k features: 22.6 s Datasets: 61 Next to RFImportance: 11.6%, 17.1 s Next to PACE-DC: 11.4%, 25.7 s' aria-label='PACE-SIS Improvement over Random: 11.4% Selection time per 1k features: 22.6 s Datasets: 61 Next to RFImportance: 11.6%, 17.1 s Next to PACE-DC: 11.4%, 25.7 s'/><circle class='sa-hit' cx='429.9' cy='116.0' r='10.5' data-tip='mRMR Improvement over Random: 10.5% Selection time per 1k features: 102 s Datasets: 61' aria-label='mRMR Improvement over Random: 10.5% Selection time per 1k features: 102 s Datasets: 61'/><circle class='sa-hit' cx='633.6' cy='117.1' r='10.5' data-tip='ElasticNet Improvement over Random: 10.5% Selection time per 1k features: 2.37e+03 s Datasets: 61 Next to LassoNet: 10.4%, 1.84e+03 s' aria-label='ElasticNet Improvement over Random: 10.5% Selection time per 1k features: 2.37e+03 s Datasets: 61 Next to LassoNet: 10.4%, 1.84e+03 s'/><circle class='sa-hit' cx='617.4' cy='120.4' r='10.5' data-tip='LassoNet Improvement over Random: 10.4% Selection time per 1k features: 1.84e+03 s Datasets: 61 Next to ElasticNet: 10.5%, 2.37e+03 s' aria-label='LassoNet Improvement over Random: 10.4% Selection time per 1k features: 1.84e+03 s Datasets: 61 Next to ElasticNet: 10.5%, 2.37e+03 s'/><circle class='sa-hit' cx='351.8' cy='145.0' r='10.5' data-tip='PACE-HSIC Improvement over Random: 9.7% Selection time per 1k features: 30.6 s Datasets: 61 Next to LGBMGain: 9.1%, 27.6 s' aria-label='PACE-HSIC Improvement over Random: 9.7% Selection time per 1k features: 30.6 s Datasets: 61 Next to LGBMGain: 9.1%, 27.6 s'/><circle class='sa-hit' cx='639.3' cy='150.2' r='10.5' data-tip='CPI Improvement over Random: 9.5% Selection time per 1k features: 2.58e+03 s Datasets: 61' aria-label='CPI Improvement over Random: 9.5% Selection time per 1k features: 2.58e+03 s Datasets: 61'/><circle class='sa-hit' cx='345.0' cy='163.1' r='10.5' data-tip='LGBMGain Improvement over Random: 9.1% Selection time per 1k features: 27.6 s Datasets: 61 Next to PACE-HSIC: 9.7%, 30.6 s' aria-label='LGBMGain Improvement over Random: 9.1% Selection time per 1k features: 27.6 s Datasets: 61 Next to PACE-HSIC: 9.7%, 30.6 s'/><circle class='sa-hit' cx='102.4' cy='172.5' r='10.5' data-tip='F-Test (on the Pareto front) Improvement over Random: 8.8% Selection time per 1k features: 0.655 s Datasets: 61' aria-label='F-Test (on the Pareto front) Improvement over Random: 8.8% Selection time per 1k features: 0.655 s Datasets: 61'/><circle class='sa-hit' cx='308.6' cy='194.8' r='10.5' data-tip='MarkovBlanket Improvement over Random: 8.2% Selection time per 1k features: 15.8 s Datasets: 61' aria-label='MarkovBlanket Improvement over Random: 8.2% Selection time per 1k features: 15.8 s Datasets: 61'/><circle class='sa-hit' cx='206.1' cy='195.7' r='10.5' data-tip='GainRatio Improvement over Random: 8.2% Selection time per 1k features: 3.24 s Datasets: 61' aria-label='GainRatio Improvement over Random: 8.2% Selection time per 1k features: 3.24 s Datasets: 61'/><circle class='sa-hit' cx='362.6' cy='198.3' r='10.5' data-tip='MI Improvement over Random: 8.1% Selection time per 1k features: 36.2 s Datasets: 61' aria-label='MI Improvement over Random: 8.1% Selection time per 1k features: 36.2 s Datasets: 61'/><circle class='sa-hit' cx='300.3' cy='223.1' r='10.5' data-tip='CART Improvement over Random: 7.3% Selection time per 1k features: 13.9 s Datasets: 61' aria-label='CART Improvement over Random: 7.3% Selection time per 1k features: 13.9 s Datasets: 61'/><circle class='sa-hit' cx='631.5' cy='224.9' r='10.5' data-tip='Lasso Improvement over Random: 7.3% Selection time per 1k features: 2.29e+03 s Datasets: 61' aria-label='Lasso Improvement over Random: 7.3% Selection time per 1k features: 2.29e+03 s Datasets: 61'/><circle class='sa-hit' cx='789.7' cy='236.5' r='10.5' data-tip='(R)ReliefF Improvement over Random: 6.9% Selection time per 1k features: 2.63e+04 s Datasets: 61' aria-label='(R)ReliefF Improvement over Random: 6.9% Selection time per 1k features: 2.63e+04 s Datasets: 61'/><circle class='sa-hit' cx='812.3' cy='286.9' r='10.5' data-tip='SHAP Improvement over Random: 5.5% Selection time per 1k features: 3.73e+04 s Datasets: 61' aria-label='SHAP Improvement over Random: 5.5% Selection time per 1k features: 3.73e+04 s Datasets: 61'/><circle class='sa-hit' cx='810.7' cy='324.9' r='10.5' data-tip='SFS Improvement over Random: 4.3% Selection time per 1k features: 3.64e+04 s Datasets: 61' aria-label='SFS Improvement over Random: 4.3% Selection time per 1k features: 3.64e+04 s Datasets: 61'/><circle class='sa-hit' cx='693.7' cy='348.2' r='10.5' data-tip='LOCO Improvement over Random: 3.6% Selection time per 1k features: 5.98e+03 s Datasets: 61' aria-label='LOCO Improvement over Random: 3.6% Selection time per 1k features: 5.98e+03 s Datasets: 61'/><circle class='sa-hit' cx='760.8' cy='352.0' r='10.5' data-tip='SBE Improvement over Random: 3.5% Selection time per 1k features: 1.68e+04 s Datasets: 61' aria-label='SBE Improvement over Random: 3.5% Selection time per 1k features: 1.68e+04 s Datasets: 61'/></svg><script type='text/plain' id='sa-csv'>method,improvement,time_per_1k,n_datasets,pareto_optimal | |
| CD-PFN,13.0212,1388.0564,61,True | |
| RFImportance,11.5703,17.1205,61,True | |
| PACE-DC,11.4156,25.6669,61,False | |
| PACE-SIS,11.3959,22.5686,61,False | |
| mRMR,10.5289,102.3166,61,False | |
| ElasticNet,10.4977,2368.3239,61,False | |
| LassoNet,10.3977,1844.6655,61,False | |
| PACE-HSIC,9.6671,30.6471,61,False | |
| CPI,9.5124,2583.3439,61,False | |
| LGBMGain,9.1284,27.6099,61,False | |
| F-Test,8.8489,0.6546,61,True | |
| MarkovBlanket,8.1882,15.7505,61,False | |
| GainRatio,8.1619,3.2378,61,False | |
| MI,8.0825,36.1939,61,False | |
| CART,7.3451,13.8507,61,False | |
| Lasso,7.2937,2292.3383,61,False | |
| (R)ReliefF,6.9482,26276.8933,61,False | |
| SHAP,5.45,37266.5715,61,False | |
| SFS,4.3192,36368.9066,61,False | |
| LOCO,3.6285,5980.3251,61,False | |
| SBE,3.5132,16830.9428,61,False | |
| Random,0.0,0.0025,61,True | |
| LaplacianScore,-45573766721021.65,4.5324,61,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> | |