Challagundla, Jayarama Krishna and Reddy, Alla Nithin and Elango, Arul and Vipparla, Surya and Dasari, Manoj and Reddy, Rodda Maheswara (2025) Explainable AI-Based Water Quality Prediction System. In: Proceedings of the 4th International Conference on Information Technology, Civil Innovation, Science, and Management, ICITSM 2025, 28-29 April 2025, Tiruchengode, Tamil Nadu, India, Part I.
79429.pdf
Download (367kB)
Abstract
Access to safe and clean drinking water is a global issue, especially in developing countries. Traditional water testing methods are always slow, costly and not available in remote areas. To overcome this limitation, we proposed Explainable AI based Water Quality Prediction System which uses machine learning and explainable models to classify whether the water is drinkable or not. We used a dataset which contains 3000 water samples, each sample contained six core parameters: pH, Turbidity (NTU), Chlorides (mg/L), Dissolved Solids (mg/L), Alkalinity (as CaCO3), and Fluorides (mg/L). While preprocessing we converted the categorical values into numerical values and applied normalization using StandardScaler. Several classification algorithms were developed and evaluated, including Random Forest, Logistic Regression, K-Nearest Neighbors (KNN), Decision Tree, Gaussian Naïve Bayes, and Support Vector Machine (SVM). Furthermore, dimensionality reduction was performed using Linear Discriminant Analysis (LDA), with performance comparisons made before and after reduction. For model interpretability and trust, explainable AI techniques such as LIME and SHAP were utilized to highlight feature importance as well as provide insight into the decision process. The proposed system is highly accurate and interpretable and is therefore suitable for implementation in real-world, resource-constrained environments where accurate and interpretable water quality prediction is key to public health.
| Item Type: | Conference or Workshop Item (UNSPECIFIED) |
|---|---|
| Uncontrolled Keywords: | water quality, explainable ai (xai), machine learning, shap, lime, potability prediction, dimensionality reduction, linear discriminant analysis (lda), classification algorithms |
| Date Deposited: | 04 Mar 2026 20:17 |
| Last Modified: | 03 Dec 2026 13:58 |
| URI: | https://eprints.eai.eu/id/eprint/60075 |
