A Scalable Machine Learning Framework for Hydrological Water Quality Monitoring Using Physicochemical and Microbial Parameters
Open Access
Abstract
Monitoring river water quality is essential for environmental sustainability and public health. This study proposes a machine learning (ML)-based framework to model, predict, and classify the Water Quality Index (WQI) using river water samples collected across India. The dataset includes eight physicochemical and microbial parameters: Temperature, pH, Dissolved Oxygen, Biological Oxygen Demand (BOD), Conductivity, Nitrate/Nitrite, Fecal Coliform, and Total Coliform. The WQI was calculated using weighted aggregation and categorized into Excellent, Good, Medium, and Poor classes. Regression and classification models—such as Linear Regression, Random Forest, Gradient Boosting, and Logistic Regression—were evaluated using MAE, RMSE, R2, Accuracy, Precision, Recall, and F1-score. Spatial mapping and exploratory data analysis were conducted to identify regional patterns. Feature importance (Gini and permutation-based) and error analysis enhanced interpretability. The framework achieved over 95% agreement with manual WQI classification, highlighting its effectiveness for real-time, scalable water quality monitoring and policy support.Keywords
This publication has 29 references indexed in Scilit:
- Advances in machine learning and IoT for water quality monitoring: A comprehensive reviewHeliyon, 2024
- Changes in China’s river water quality since 1980: management implications from sustainable developmentnpj Clean Water, 2023
- Identifying plastics with photoluminescence spectroscopy and machine learningScientific Reports, 2022
- A review of the application of machine learning in water quality evaluationEco-Environment & Health, 2022
- Water pollution in India – Current scenarioWater Security, 2022
- Environmental flow in the context of dams and development with special reference to the Damodar Valley Project, India: a reviewSustainable Water Resources Management, 2022
- A review of water quality index models and their use for assessing surface water qualityEcological Indicators, 2021
- Machine learning based soft sensor model for BOD estimation using intelligence at edgeComplex & Intelligent Systems, 2021
- Assessment of socioeconomic inequality based on virus-contaminated water usage in developing countries: A reviewEnvironmental Research, 2021
- Analysing progress of sustainable development goal 6 in India: Past, present, and futureJournal of Environmental Management, 2019