Explainable and Uncertainty-Aware Machine Learning for Groundwater Hardness Screening in Dadra and Nagar Haveli and Daman and Diu, India: A Station-Grouped Evaluation Against a Conductivity Baseline
Machine learning is widely used to screen groundwater quality, but models are rarely compared with a simple conductivity baseline or validated spatially. We analysed 262 pre-monsoon records (2000–2021) from 33 Central Ground Water Board stations in Dadra and Nagar Haveli (DNH), Daman and Diu, India (239 with total hardness), to classify exceedance of the BIS acceptable limit (200 mg/L). Logistic regression, random forest and XGBoost were compared with an electrical-conductivity (EC) baseline under repeated station-grouped cross-validation with station-level bootstrap intervals; calcium and magnesium were excluded. With the full 11-input laboratory suite, ROC-AUC in DNH was 0.92 for EC and 0.94–0.98 for the models (territory 0.87 against 0.89–0.91), partly reflecting ionic balance. With low-cost inputs no model reliably exceeded EC. After Holm adjustment no advantage was significant, which with 22 to 33 stations is inconclusive and not evidence of equivalence. Spatially blocked validation lowered the tree models' territory AUC by 0.02 to 0.05, to the EC level. Best EC cut-offs differed between districts (432 and 701 µS/cm) with overlapping intervals. Random-forest probabilities were approximately calibrated in slope. Conformal sets (nominal 90%) gave 92.9% coverage with 38.9% of records uncertain, and flagged hard records no better than a matched probability band. A rule-based scheme, driven mainly by each station's latest observed hardness, assigned 13 stations to confirmatory re-testing, 7 to enhanced monitoring, 9 to routine monitoring and 4 to re-baseline sampling. Nitrate and fluoride were unavailable.
Authors
- Paras Palawat (ORCID: https://orcid.org/0009-0001-1761-889X)
Institutions
- National Institution for Transforming India Aayog (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24492408
- Primary Topic
- Water Quality and Pollution Assessment
- Type
- preprint