Stable Within, Divergent Across: How Far Can Feature Importance Rankings Be Trusted on the Kaggle Water Potability Benchmark?
Can feature importance rankings obtained from the widely used Kaggle water potability benchmark be trusted? The benchmark, of unverified origin and possibly synthetic, comprised 3276 samples, nine physicochemical features and a binary potability label whose assignment was undocumented. Four classifiers, ten feature importance methods and four missing data imputation approaches were evaluated using ten-fold cross-validation and a held-out test dataset. Random Forest achieved the highest full-feature cross-validation accuracy (68.44%; ROC-AUC 0.6973), modestly exceeding the majority-class baseline (60.99%). None of the 100 label permutations reached the observed accuracy (Monte Carlo p = 0.0099), providing evidence of predictive signal within the benchmark. Agreement across importance methods was weak (mean Spearman correlation 0.218), with only 14 of 45 method pairs reaching 0.70. Excluding two Logistic Regression importance methods increased agreement to 0.417, which remained below the predefined threshold. In contrast, six of ten methods met the within-method stability threshold, with embedded Random Forest importance achieving the highest mean correlation (0.937). Rankings across the four imputation approaches were strongly correlated (0.9-1), although individual feature positions varied. Sulfate, pH, hardness, chloramines and solids ranked highest in aggregate. Restricting Random Forest to five features increased cross-validation accuracy from 68.44% to 68.70% and test accuracy from 67.07% to 68.29%. These findings demonstrate that stable feature importance rankings do not necessarily indicate agreement across methodologies or establish which properties determine drinking water safety. A feature ranked first by one method cannot be assumed important; researchers should evaluate multiple importance methods before acting on a ranking.
Authors
- Vhulenda Phiriga
Institutions
- Cape Peninsula University of Technology (ZA)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24779460
- Primary Topic
- Data Mining and Machine Learning Applications
- Type
- preprint