diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..3a4b1fb594ce0e6ac96aad6cfdaab7f98aa8a852 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +__pycache__/ +*.py[cod] +.venv/ +.ruff_cache/ +.DS_Store diff --git a/AGENTS.md b/AGENTS.md index 81c8fdf08e7e5bccd15612851363d93e6e6630db..53f5d916ea0086c1b5f7282a911ffe5d0fcd0026 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,12 +21,15 @@ run no compute, so they are free; do not switch it to Gradio or Docker (those ne `data/` is SelectArena's `generated_website_artifacts/clean_website_artifacts/website_data/`: - `meta.json`: counts, `models` (key -> name), `budgets`, `total_budget`, `task_types`, - `has_stability`, `has_validity`, `validity_noise`, `generated_at`, and `subsets` (each with + `has_stability`, `has_validity`, `validity_noise`, `validity_tables`, `generated_at`, and `subsets` (each with `tasks`, `model`, `budget`, `path`, `n_methods`, `n_datasets`, `n_comparisons`). - `subsets/tasks_/models_/budgets_/`: `website_leaderboard.csv`, `leaderboard_table.html`, `elo_explorer.html`. -- `per_dataset.csv`, `per_dataset_table.html`, and optionally `stability.csv`, - `stability_table.html`, `validity.csv`, `validity_table.html`. +- `per_dataset.csv`, `per_dataset_table.html` (datasets by name), and optionally `stability.csv`, + `stability_table.html`, `validity.csv` and one `validity_noise__table.html` per noise level + (listed in `meta.json` as `validity_tables`). +- `website_leaderboard.csv` columns: `Rank`, `Method`, `Category` (Search / Non-search / Baseline), + `Subgroup` (the paper's taxonomy, e.g. Tree, Backward search), Elo and its interval, the metrics. The generated pages are self-contained (inline CSS/JS, no network) and post their height to the parent window. `subsetDir()` in `app.js` mirrors `selectarena.website.subsets.Subset.rel_path`; diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/assets/app.js b/assets/app.js index 47cd991ecfeef2cd41bfcc62312bda3d43db1586..c3a51110f363c24c769f02d9538aa650acd97d80 100644 --- a/assets/app.js +++ b/assets/app.js @@ -31,6 +31,9 @@ return s; } + // 0.5 -> "0.5", 0.75 -> "0.75", 1 -> "1.0" + function noiseLabel(value) { return Number(value).toFixed(2).replace(/0$/, ''); } + function budgetLabel(index, total) { var label = 'Budget ' + (index + 1); if (total && index === 0) return label + ' (smallest)'; @@ -194,13 +197,33 @@ setFrame($('frame-datasets'), 'data/per_dataset_table.html'); } function loadRobustness() { - [['stability', meta && meta.has_stability], ['validity', meta && meta.has_validity]].forEach(function (entry) { - var name = entry[0]; - $(name + '-missing').hidden = !!entry[1]; - $('frame-' + name).hidden = !entry[1]; - if (entry[1]) setFrame($('frame-' + name), 'data/' + name + '_table.html'); - }); - if (meta && meta.validity_noise != null) $('validity-noise').textContent = Number(meta.validity_noise).toFixed(1); + var hasStability = !!(meta && meta.has_stability); + $('stability-missing').hidden = hasStability; + $('frame-stability').hidden = !hasStability; + if (hasStability) setFrame($('frame-stability'), 'data/stability_table.html'); + + // One validity table per noise level (meta.validity_tables); older data had a single table. + var tables = (meta && meta.validity_tables) || []; + if (!tables.length && meta && meta.has_validity) tables = [{ noise: null, path: 'validity_table.html' }]; + $('validity-missing').hidden = tables.length > 0; + var container = $('validity-tables'); + if (!container.childElementCount) { + tables.forEach(function (table) { + if (table.noise != null) { + var heading = document.createElement('h3'); + heading.textContent = 'Noise level ' + noiseLabel(table.noise) + + (Number(table.noise) === Number(meta.validity_noise) ? ' (used on the leaderboard)' : ''); + container.appendChild(heading); + } + var frame = document.createElement('iframe'); + frame.className = 'frame sa-frame'; + frame.title = 'Validity per method' + (table.noise != null ? ' at noise level ' + noiseLabel(table.noise) : ''); + frame.style.height = '640px'; + frame.src = 'data/' + table.path; + container.appendChild(frame); + }); + } + if (meta && meta.validity_noise != null) $('validity-noise').textContent = noiseLabel(meta.validity_noise); } // ---- start ---- diff --git a/assets/style.css b/assets/style.css index a07e39ca6c744ee8d15245a3f146452a147a2183..a56cfba4d085a9f38a84c0148ba1d113abba98e7 100644 --- a/assets/style.css +++ b/assets/style.css @@ -95,6 +95,7 @@ a { color: var(--accent); } color: var(--muted); margin: 8px 0 16px; } h2 { font-size: 1.2rem; margin: 26px 0 8px; } +h3 { font-size: 1rem; margin: 20px 0 6px; color: var(--muted); } .prose { max-width: 80ch; } .prose li { margin: 4px 0; } code { font-size: 0.88em; background: var(--surface); padding: 1px 5px; border-radius: 4px; } diff --git a/data/meta.json b/data/meta.json index ed624072cf23049423c73d18498033dd3200e71b..b0445230da4d535eb1a0c21ed6b0285bd2dd3760 100644 --- a/data/meta.json +++ b/data/meta.json @@ -1,6 +1,6 @@ { "benchmark_name": "feature_selection_benchmark_2026_all", - "generated_at": "2026-10-14 10:50 UTC", + "generated_at": "2026-10-14 11:34 UTC", "selectarena_version": "0.1.0", "n_results": 79873, "n_datasets": 71, @@ -48,6 +48,20 @@ "validity_noise": 1.0, "has_stability": true, "has_validity": true, + "validity_tables": [ + { + "noise": 0.5, + "path": "validity_noise_0.5_table.html" + }, + { + "noise": 0.75, + "path": "validity_noise_0.75_table.html" + }, + { + "noise": 1.0, + "path": "validity_noise_1_table.html" + } + ], "subsets": [ { "tasks": "all", diff --git a/data/per_dataset_table.html b/data/per_dataset_table.html index 5adc3ef6f95860e438a74f04df297b60c68cc218..39d5a9599e1282cdfdaa933dfa08bce10f0c8648 100644 --- a/data/per_dataset_table.html +++ b/data/per_dataset_table.html @@ -26,7 +26,9 @@ td.method { font-weight:600; } td .sub { color:var(--muted); font-size:12px; font-weight:400; margin-left:6px; } td.na { color:var(--muted); } .pill { display:inline-block; padding:0 8px; border:1px solid var(--line); border-radius:999px; - font-size:12px; color:var(--muted); } + font-size:12px; color:var(--fg); } +.pill.cat-search { border-color:var(--accent); } +.pill.cat-baseline { color:var(--muted); }
Mean rank of each method per dataset (lower is better). Click a column to sort.
DatasetProblem type(R)ReliefFCARTElasticNetF-TestGainRatioLOCOLaplacianScoreLassoMIMarkovBlanketRFImportanceRandomSBESFSmRMR
Task-1087039797binary8.173.4811.9311.279.175.7613.3911.768.335.293.6910.236.816.164.55
Task-1119718077regression8.047.278.8310.806.717.966.518.837.207.947.658.238.427.887.74
Task-1190597780binary6.519.957.536.697.268.397.877.006.918.507.949.589.139.087.66
Task-1429652751binary8.357.296.408.087.1710.558.477.017.887.717.329.989.117.926.76
Task-1458608432binary14.126.074.052.734.909.7214.444.0613.235.534.0311.3111.199.894.64
Task-1470619609binary6.896.535.317.216.2711.7314.874.365.206.284.6911.8311.7611.105.97
Task-1537910476multiclass8.618.286.596.537.308.3810.386.517.056.506.459.797.7612.467.40
Task-1548247551multiclass4.3610.634.335.455.9911.7513.515.035.976.494.3511.9612.0812.086.03
Task-156413859binary6.735.139.9910.837.894.3414.519.676.698.004.6711.843.595.8210.32
Task-1713586811binary10.279.298.336.316.894.4613.698.334.356.859.9913.235.094.868.05
Task-1737676527regression8.843.175.448.937.553.7514.935.435.277.623.5513.3113.698.0010.52
Task-1747559729multiclass9.895.056.169.977.064.7113.646.147.125.666.8312.354.957.8712.60
Task-1767785790binary8.278.178.438.267.737.318.897.907.276.389.087.976.6310.037.69
Task-2209824369binary6.435.288.4212.0511.935.477.548.458.069.037.6912.402.492.6112.15
Task-2263383072binary7.457.368.257.357.378.1313.378.036.674.327.3613.236.658.276.19
Task-2269177443multiclass5.355.233.945.9910.976.7212.914.665.009.855.7112.248.889.8812.68
Task-2582981881binary6.408.394.238.1610.0910.0512.675.938.118.954.677.918.875.4910.09
Task-2807200459binary11.099.555.796.5910.195.1210.905.776.117.9110.7510.584.235.739.71
Task-2824973323multiclass6.414.277.015.099.127.4811.537.303.657.956.0113.2712.3710.877.65
Task-2922517334regression9.565.047.778.197.877.5013.727.897.788.115.4613.793.914.598.84
Task-3274731682regression5.672.978.4910.797.3910.1511.878.458.656.312.7811.855.478.6310.53
Task-3294278573binary5.5310.195.855.775.3911.2711.376.595.546.975.3312.2311.1111.195.65
Task-3421250263binary6.839.006.897.275.919.0312.437.735.838.266.938.748.768.158.23
Task-3562356624binary9.998.966.926.599.798.555.276.929.338.438.456.436.876.3911.11
Task-4023552040binary10.355.775.455.3711.929.7912.475.278.3712.526.2912.763.794.365.55
Task-4265382138binary12.054.875.088.7310.399.7713.055.997.514.933.898.0310.217.198.31
Task-4507720433multiclass8.331.793.678.2012.0112.407.444.688.603.292.4713.3313.2313.417.15
Task-4532501802binary7.619.057.587.807.758.526.908.497.636.776.209.537.869.638.67
Task-4548273248multiclass6.557.975.878.575.179.7614.208.555.686.175.939.9610.179.465.99
Task-4591045950binary5.926.0012.994.735.293.5713.2513.059.474.416.1312.4912.914.015.76
Task-4613115627binary6.233.365.255.9611.3711.3712.724.235.5110.484.1711.2411.085.6711.37
Task-4673108304binary10.358.085.9010.157.878.288.216.318.057.877.378.098.856.717.91
Task-4699939988binary7.905.369.077.435.987.1514.279.078.927.615.459.414.099.059.24
Task-4867148065binary13.154.738.384.196.857.3614.9710.654.977.406.198.0110.654.647.85
Task-5047778267binary4.608.955.035.435.2912.4913.635.435.977.026.2112.1512.1910.115.49
Task-5061570515binary7.717.225.864.4511.557.2512.815.556.0912.295.6511.336.207.338.69
Task-5079031577regression6.126.695.978.659.198.879.035.979.279.226.0812.327.086.638.92
Task-5168164060binary6.1911.704.996.319.889.077.246.736.1010.409.4611.457.246.286.96
Task-5416034620binary10.9210.486.955.6311.114.2312.257.093.9810.5510.368.875.076.126.40
Task-5622217616binary9.358.577.778.966.079.437.927.777.678.337.278.917.606.877.50
Task-5745371303binary8.719.076.987.938.477.0713.156.956.635.768.1812.634.807.755.92
Task-5763189736binary7.338.016.996.827.076.2713.278.778.955.378.1210.565.678.827.98
Task-616857086binary11.447.044.777.1911.046.0312.894.188.758.818.2512.194.705.117.61
Task-6346831288multiclass10.725.1611.4310.597.1910.288.2913.014.275.923.519.278.296.095.99
Task-6392717221binary7.683.875.695.239.2411.7215.005.593.405.332.9612.7112.968.979.65
Task-6680748470binary5.514.868.507.398.567.7611.319.576.579.644.4010.537.449.338.63
Task-6789920400binary7.237.456.237.317.1111.1113.895.277.496.315.8610.7510.347.735.91
Task-6859627074binary13.057.0211.4710.833.437.769.4111.493.896.557.259.306.515.676.37
Task-7014870989multiclass9.855.276.156.158.5710.5513.396.576.254.485.4411.9711.958.175.24
Task-7152814512binary4.314.448.179.159.156.2714.698.329.356.795.7112.515.356.759.05
Task-7219454773binary9.235.957.678.896.296.8511.438.028.015.676.169.369.937.618.92
Task-7315435704binary5.017.3610.925.709.117.438.5210.924.4110.338.278.848.019.465.71
Task-7493221688regression7.896.738.366.397.797.5712.438.377.595.976.1010.118.559.816.34
Task-7603283006regression8.084.279.777.478.787.2312.849.824.837.683.899.647.3510.038.33
Task-7612659684multiclass8.974.2411.217.737.238.7912.577.873.258.295.1710.128.078.458.03
Task-7641908575binary9.378.806.617.416.7212.0513.776.656.425.179.3310.824.644.897.33
Task-7704446119regression5.8410.723.803.568.519.3911.803.639.398.3510.899.259.477.288.13
Task-7911827689binary10.556.233.394.996.168.9613.637.637.115.605.4910.079.3911.649.17
Task-8002938196binary7.355.906.936.348.119.0910.716.517.607.176.8510.5610.599.516.78
Task-8017089756binary8.978.137.697.547.309.2411.638.116.636.286.818.338.498.316.55
Task-8047705376binary6.296.954.658.677.869.668.015.298.528.816.0911.2910.759.617.55
Task-8120463491multiclass7.475.956.808.848.537.6112.805.318.657.794.6812.756.447.628.77
Task-8167107051binary6.607.542.296.419.419.2712.544.1711.009.934.8610.379.959.915.77
Task-8256787811multiclass6.796.828.396.317.8213.258.639.635.957.134.259.039.457.838.71
Task-8467301507binary6.192.553.527.1610.6710.4814.963.975.757.623.7512.9113.3510.616.53
Task-8467603651regression7.236.766.3910.438.596.7211.076.659.647.995.449.249.318.086.48
Task-8480597872binary8.518.6310.156.607.147.866.7310.077.066.938.327.915.438.5510.12
Task-8600470218binary6.797.795.838.218.608.5713.078.668.045.818.4310.576.376.276.99
Task-8702448794binary7.003.852.955.0310.708.0114.994.615.1912.592.6712.4011.617.7110.70
Task-904079219regression5.913.035.285.7213.0510.207.714.924.3512.671.5211.9911.808.8013.07
Task-9955825721binary8.867.815.816.467.865.3312.436.2510.519.017.3410.875.248.277.96
diff --git a/data/validity_noise_0.75_table.html b/data/validity_noise_0.75_table.html new file mode 100644 index 0000000000000000000000000000000000000000..3ac4db144581fda4ab610a3a76de9856ef5291d0 --- /dev/null +++ b/data/validity_noise_0.75_table.html @@ -0,0 +1,97 @@ + +SelectArena: validity at noise 0.75
Click a column to sort.
MethodValidity ↑Budget 1 (smallest)Budget 2Budget 3Budget 4Budget 5 (largest)
F-Test0.8840.9580.9440.9220.8430.753
GainRatio0.8660.9570.9380.9020.8110.723
LaplacianScore0.8360.8770.8880.8570.8090.751
MI0.8320.9220.8910.8620.7870.699
ElasticNet0.8030.9350.8820.8240.7340.641
Lasso0.7760.9060.8350.7850.7120.641
(R)ReliefF0.7750.8740.8220.7950.7240.661
RFImportance0.7160.8290.7800.7370.6580.574
SFS0.7030.8070.7600.7000.6450.603
mRMR0.6990.8120.7510.6960.6430.595
CART0.6480.7830.6740.6350.5900.559
LOCO0.6400.6930.6590.6420.6160.591
SBE0.6360.6660.6800.6340.6090.591
Random0.5870.5800.6110.5750.5930.576
MarkovBlanket0.5350.5460.5380.5280.5370.526
diff --git a/data/validity_noise_1_table.html b/data/validity_noise_1_table.html new file mode 100644 index 0000000000000000000000000000000000000000..c38e6fbe2259dd47ddc08fe4a7e5e5e2bf34fcb7 --- /dev/null +++ b/data/validity_noise_1_table.html @@ -0,0 +1,97 @@ + +SelectArena: validity at noise 1
Click a column to sort.
MethodValidity ↑Budget 1 (smallest)Budget 2Budget 3Budget 4Budget 5 (largest)
F-Test0.8460.9520.9320.8790.7810.689
GainRatio0.8250.9420.9150.8560.7510.659
LaplacianScore0.7970.8470.8500.8270.7580.701
MI0.7850.8980.8630.8150.7230.627
ElasticNet0.7590.9150.8730.7770.6650.568
(R)ReliefF0.7400.8730.8080.7570.6670.594
Lasso0.7300.8900.8250.7300.6430.563
RFImportance0.6690.8050.7410.6910.6000.507
mRMR0.6550.7790.7120.6600.5930.530
SFS0.6270.7500.6640.6270.5680.525
CART0.5860.7310.6380.5720.5070.482
LOCO0.5830.6650.6130.5750.5430.520
SBE0.5600.6210.5780.5560.5300.517
Random0.5000.4920.4990.5130.4940.500
MarkovBlanket0.4630.4650.4670.4470.4730.463
diff --git a/data/validity_table.html b/data/validity_table.html deleted file mode 100644 index 79c4032aeb9f01eece5454fa19c526ee9c89aa78..0000000000000000000000000000000000000000 --- a/data/validity_table.html +++ /dev/null @@ -1,125 +0,0 @@ - -SelectArena: validity
Click a column to sort.
Noise levelMethodValidity ↑Budget 1 (smallest)Budget 2Budget 3Budget 4Budget 5 (largest)
0.5F-Test0.9220.9710.9540.9430.9100.831
0.5GainRatio0.9080.9620.9540.9340.8950.795
0.5MI0.8790.9400.9200.9000.8560.780
0.5LaplacianScore0.8750.8780.9060.9000.8710.820
0.5ElasticNet0.8520.9400.9170.8720.8040.728
0.5Lasso0.8370.9160.9060.8460.7930.725
0.5(R)ReliefF0.8360.9160.8690.8460.8030.747
0.5SFS0.7830.8950.8120.7710.7340.704
0.5RFImportance0.7670.8680.8130.7770.7210.659
0.5mRMR0.7500.8340.7810.7460.7120.679
0.5LOCO0.7310.7740.7390.7330.7130.696
0.5SBE0.7270.7900.7250.7190.7140.688
0.5CART0.7070.7770.7380.6970.6690.652
0.5Random0.6750.6820.6590.6780.6800.676
0.5MarkovBlanket0.6240.6040.6030.6230.6440.647
0.8F-Test0.8840.9580.9440.9220.8430.753
0.8GainRatio0.8660.9570.9380.9020.8110.723
0.8LaplacianScore0.8360.8770.8880.8570.8090.751
0.8MI0.8320.9220.8910.8620.7870.699
0.8ElasticNet0.8030.9350.8820.8240.7340.641
0.8Lasso0.7760.9060.8350.7850.7120.641
0.8(R)ReliefF0.7750.8740.8220.7950.7240.661
0.8RFImportance0.7160.8290.7800.7370.6580.574
0.8SFS0.7030.8070.7600.7000.6450.603
0.8mRMR0.6990.8120.7510.6960.6430.595
0.8CART0.6480.7830.6740.6350.5900.559
0.8LOCO0.6400.6930.6590.6420.6160.591
0.8SBE0.6360.6660.6800.6340.6090.591
0.8Random0.5870.5800.6110.5750.5930.576
0.8MarkovBlanket0.5350.5460.5380.5280.5370.526
1.0F-Test0.8460.9520.9320.8790.7810.689
1.0GainRatio0.8250.9420.9150.8560.7510.659
1.0LaplacianScore0.7970.8470.8500.8270.7580.701
1.0MI0.7850.8980.8630.8150.7230.627
1.0ElasticNet0.7590.9150.8730.7770.6650.568
1.0(R)ReliefF0.7400.8730.8080.7570.6670.594
1.0Lasso0.7300.8900.8250.7300.6430.563
1.0RFImportance0.6690.8050.7410.6910.6000.507
1.0mRMR0.6550.7790.7120.6600.5930.530
1.0SFS0.6270.7500.6640.6270.5680.525
1.0CART0.5860.7310.6380.5720.5070.482
1.0LOCO0.5830.6650.6130.5750.5430.520
1.0SBE0.5600.6210.5780.5560.5300.517
1.0Random0.5000.4920.4990.5130.4940.500
1.0MarkovBlanket0.4630.4650.4670.4470.4730.463
diff --git a/index.html b/index.html index 5cc4d650cd2d32547ca9a106bd1e7873626751c9..21efae51a6f0f183cb2586e2ad2e6eb416be3d4c 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - + SelectArena Leaderboard @@ -99,7 +99,7 @@

Validity

- +
@@ -126,9 +126,13 @@

Budgets. Budget i of b keeps ceil(d · i / (b + 1)) of the d features when d ≤ 100, and ceil(d ^ (i / (b + 1))) otherwise.

-

Method types. Filter methods score features from the data alone, - wrapper methods search feature subsets by refitting a proxy model, embedded - methods read the selection off a fitted model. Random is the baseline.

+

Method types. The Type column follows the paper's functional taxonomy + (Appendix A). Search methods evaluate many feature subsets with a model-dependent + utility: forward search (SFS), backward search (SBE, MarkovBlanket) and leave-one-out (LOCO). + Non-search methods avoid repeated subset evaluations and rely on a proxy instead: + correlation (F-Test), distance ((R)ReliefF, LaplacianScore), information theory (MI, mRMR, + GainRatio), trees (CART, RFImportance) and regularization (Lasso, ElasticNet). Random is the + baseline.

Adding a method

Implement the method as described in the @@ -159,6 +163,9 @@

Version history (current: )
    +
  • 2026/10/14 · v0.2.0: Type column follows the paper's taxonomy (search / + non-search subgroups); datasets are shown by name in the per-dataset table; one validity + table per noise level.
  • 2026/10/13 · v0.1.0: Static leaderboard site (free Hugging Face static Space): one leaderboard per task type, downstream model and budget, interactive main figure (Elo with stability and validity), per-dataset ranks and stability / validity tables.
  • diff --git a/smoke_test.py b/smoke_test.py new file mode 100644 index 0000000000000000000000000000000000000000..b05bf702cdbc9522794f1e3df43f11a9f1723c27 --- /dev/null +++ b/smoke_test.py @@ -0,0 +1,104 @@ +"""Check the site against the current ``data/``: ``python smoke_test.py`` (standard library only). + +Checks that every subset listed in ``data/meta.json`` has its files, that the leaderboards have one +row per method with Random at 1000, that the top-level pages exist, that ``data/`` holds nothing +else, and that the version in ``index.html`` matches the newest version-history entry. For the +visual check, serve the folder (``python -m http.server 8000``) and open http://localhost:8000. +""" + +from __future__ import annotations + +import csv +import json +import re +import sys +from pathlib import Path + +ROOT = Path(__file__).resolve().parent +DATA = ROOT / "data" +SUBSET_FILES = ( + "website_leaderboard.csv", + "leaderboard_table.html", + "elo_explorer.html", +) +TOP_LEVEL = { + "meta.json", + "subsets", + "per_dataset.csv", + "per_dataset_table.html", + ".gitkeep", +} +OPTIONAL = { + "stability.csv", + "stability_table.html", + "validity.csv", + "validity_table.html", # data generated before one table per noise level +} + + +def check_version(errors: list[str]) -> str: + html = (ROOT / "index.html").read_text() + current = re.search(r'name="selectarena-version" content="([^"]+)"', html) + history = re.search( + r'id="version-history">\s*
  • (\d{4}/\d{2}/\d{2}) · v([^<]+)', + html, + ) + if not current or not history: + errors.append("index.html: selectarena-version meta tag or version history not found") + return "?" + if current.group(1) != history.group(2): + errors.append(f"index.html: version {current.group(1)} but newest history entry is v{history.group(2)}") + return current.group(1) + + +def main() -> int: + errors: list[str] = [] + version = check_version(errors) + if not (DATA / "meta.json").exists(): + print(f"v{version}: data/ has no meta.json, the site shows 'No results published yet'.") + return 1 if errors else 0 + + meta = json.loads((DATA / "meta.json").read_text()) + for info in meta["subsets"]: + folder = DATA / info["path"] + for name in SUBSET_FILES: + if not (folder / name).is_file(): + errors.append(f"missing {info['path']}/{name}") + if (folder / "website_leaderboard.csv").is_file(): + with (folder / "website_leaderboard.csv").open() as f: + rows = list(csv.DictReader(f)) + if len(rows) != info["n_methods"]: + errors.append(f"{info['path']}: {len(rows)} rows for {info['n_methods']} methods") + random = [r for r in rows if r["Method"] == "Random"] + if random and float(random[0]["Elo"]) != 1000: + errors.append(f"{info['path']}: Random has Elo {random[0]['Elo']}, not 1000") + if any(r["Category"] == "Other" for r in rows): + errors.append(f"{info['path']}: a method has no subgroup in the taxonomy ('Other')") + if not any(s["tasks"] == s["model"] == s["budget"] == "all" for s in meta["subsets"]): + errors.append("the default subset (all, all, all) is not published") + + listed = {info["path"] for info in meta["subsets"]} + on_disk = {str(p.parent.relative_to(DATA)) for p in DATA.glob("subsets/*/*/*/website_leaderboard.csv")} + if on_disk - listed: + errors.append(f"subset folders not in meta.json (stale?): {sorted(on_disk - listed)[:5]}") + for name in ("per_dataset_table.html",): + if not (DATA / name).is_file(): + errors.append(f"missing data/{name}") + if meta.get("has_stability") and not (DATA / "stability_table.html").is_file(): + errors.append("meta.json says has_stability but data/stability_table.html is missing") + for table in meta.get("validity_tables", []): + if not (DATA / table["path"]).is_file(): + errors.append(f"missing data/{table['path']} (validity at noise {table['noise']})") + validity_pages = {p.name for p in DATA.glob("validity_noise_*_table.html")} + unexpected = {p.name for p in DATA.iterdir()} - TOP_LEVEL - OPTIONAL - validity_pages + if unexpected: + errors.append(f"unexpected files in data/: {sorted(unexpected)}") + + for error in errors: + print("ERROR", error) + print(f"v{version}: {len(meta['subsets'])} subsets checked, {len(errors)} errors.") + return 1 if errors else 0 + + +if __name__ == "__main__": + sys.exit(main())