Answers are grounded in this paper and cite their sources.
Water quality monitoring is critical for public health and environmental sustainability, particularly in developing nations where freshwater pollution escalates rapidly. The Water Quality Index (WQI) consolidates multiple physico-chemical and microbiological parameters into a single interpretable value, but computing it across national networks by laboratory methods alone is slow. This paper proposes an automated WQI classification framework based on Extreme Gradient Boosting (XGBoost), which learns to assign WQI classes calculated from measured parameters; it is not a forecasting model. From the CPCB Indian water quality dataset (1,991 records, 2003–2014), 1,578 records with complete measurements of seven parameters were retained: temperature, pH, Dissolved Oxygen (DO), Biological Oxygen Demand (BOD), Electrical Conductivity (EC), Nitrate-Nitrite and Fecal Coliform (FC). A weighted arithmetic WQI computed from six of them (temperature excluded) was classified as Good, Poor or Very Poor. On a stratified held-out test set of 316 records, XGBoost 1.7.5 achieved 93.0% accuracy, 92.7% macro precision, 93.1% macro recall, 92.9% macro F1-score and a macro-average AUC of 0.993, the highest accuracy, recall, F1-score and AUC of seven classifiers, but only marginally ahead of Random Forest. BOD was the most influential predictor (0.426 of total gain), followed by FC and DO. Because the labels are derived from the inputs, the results reflect reproduction of the WQI rule, not independent prediction.
No takes yet. Share an insight, caveat, or question.
S et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: