Published November 1, 2026 | Version v1.1.0

gicisky/GAM-Feature-Selection: v1.1.0

Authors/Creators

Description

v1.1.0 — header=None Revalidation & Fold-Safe vs Full-Data Leakage Diagnostic

Summary

This release reflects a full revalidation after a pre-submission audit identified four implementation issues. All code, results, and documentation now follow a corrected header=None pipeline that keeps the first CSV row as a real sample (previously dropped, costing one sample per dataset). It also adds a new leakage diagnostic that quantifies the optimism from building the scaler, HMRF supervision, and feature-correlation graph on the full dataset instead of the outer training fold.

Bug fixes

  • CSV first-row misread — pd.read_csv(header=0) silently dropped the first sample of every dataset. Fixed to header=None across the loader (16 CSVs, +1 sample each).
  • SSA λ-invariance — the λ redundancy penalty was not applied in SSA.
  • Crossover wrapper swallowed gen/max_gen — the adaptive crossover decay was bypassed.
  • AO/POA/TSO gen=T call — search progress was passed incorrectly to the graph-guided operators.
  • Embedded-baseline multiclass crash — LASSO (and other embedded baselines) now handled via OneVsRestClassifier for multi-class datasets.

Revalidated results (header=None)

| Metric | Bare | GAM-λ0 | GAM λ=0.6 | |--------|-----:|-------:|----------:| | Macro accuracy | 0.7706 | 0.8179 | 0.8253 | | Macro redundancy (pairwise-zero) | 0.2130 | 0.2992 | 0.2685 |

  • Friedman (Bare / GAM-λ0 / GAM): χ² = 26.27, p = 1.97 × 10⁻⁶
  • Exact paired Wilcoxon, Bare vs GAM: p = 6.1 × 10⁻⁵
  • Finer per-component ablation (same GA backbone): A 0.7212 → B 0.7478 → C 0.7601 → D 0.7719

New: fold-safe vs full-data leakage diagnostic

A paired diagnostic runs the wrapper search fold-safe in both arms, differing only in whether the scaler, HMRF scores, and correlation graph are built on the outer training fold or the full dataset.

  • Macro overestimation: +4.16% (15 datasets × 5 runs)
  • Worst case: CNS +18.2%
  • Exact two-sided signed-rank: p = 6.1 × 10⁻⁵ (all 15 datasets full-data > fold-safe)

The safe arm reproduces the primary benchmark fold-for-fold (75/75 exact match). Fold-level records (splits, selected subsets, predictions) are in results/leakage_diagnostic_v2/ for audit.

Full Changelog: https://github.com/gicisky/GAM-Feature-Selection/compare/v1.0.0...v1.1.0

Files

gicisky/GAM-Feature-Selection-v1.1.0.zip

Files (66.8 MB)

Name Size
md5:9e2b7b6607f71a23c9907dc25ae1c8dd
66.8 MB Preview Download

Additional details

Related works