Machine learning for communicating water risk and predicting public quality categories

Authors

DOI:

https://doi.org/10.5281/zenodo.21286096

Keywords:

environmental risk communication, water quality index, machine learning, science communication

Abstract

Water-quality indices are not only technical summaries but communication devices: they translate complex multivariate monitoring data into a few public categories used to understand and act upon environmental risk. This article reinterprets the Canadian Council of Ministers of the Environment Water Quality Index (CCME-WQI) as a communication instrument and asks how faithfully its public categories can be reconstructed from raw physicochemical data, and what is lost when a continuous risk gradient is compressed into a public message. Using 400 observations from 12 stations of Peru’s National Water Authority in the Llave River Basin, supervised classifiers and a stacking ensemble were trained to recover the three public categories (Excellent, Good, Fair/Poor), while silhouette analysis and principal-component analysis probed the data structure. The categories proved only moderately recoverable: the best model reached 65% exact accuracy, a ceiling no method surpassed, yet about 91% within-one-category accuracy, almost never confusing excellent with degraded water. Nearly half the observations sit at the index ceiling and most of the rest sit just below a threshold, so distinct public messages attach to near-identical water; a near-zero category silhouette and PCA confirm a high-dimensional continuum that the labels cut across. We argue that this gap between gradient and label is the price of legibility, and discuss how category boundaries frame public risk perception and the unequal capacity of Quechua- and Aymara-speaking communities to access these messages.

Downloads

Download data is not yet available.

References

Abbas, F., Cai, Z., Shoaib, M., Iqbal, J., Ismail, M., Arifullah, Alrefaei, A. F., & Albeshr, M. F. (2024). Machine learning models for water quality prediction: A comprehensive analysis and uncertainty assessment in Mirpurkhas, Sindh, Pakistan. Water, 16(7), 941. https://doi.org/10.3390/w16070941

Autoridad Nacional del Agua. (2016). Protocolo nacional para el monitoreo de la calidad de los recursos hídricos superficiales (Resolución Jefatural N°010-2016-ANA). Autoridad Nacional del Agua.

Banda, T. D., & Kumarasamy, M. V. (2020). Development of water quality indices (WQIs): A review. Polish Journal of Environmental Studies, 29(3), 2011–2021. https://doi.org/10.15244/pjoes/110526

Beck, U. (1992). Risk society: Towards a new modernity. SAGE Publications.

Bentéjac, C., Csörgő, A., & Martínez-Muñoz, G. (2021). A comparative analysis of gradient boosting algorithms. Artificial Intelligence Review, 54(3), 1937–1967. https://doi.org/10.1007/s10462-020-09896-5

Biamont-Rojas, I. E., Cardoso-Silva, S., Figueira, R. C. L., Kim, B. S. M., Alfaro-Tapia, R., & Pompêo, M. (2023). Spatial distribution of arsenic and metals suggest a high ecotoxicological potential in Puno Bay, Lake Titicaca, Peru. Science of the Total Environment, 871, 162051. https://doi.org/10.1016/j.scitotenv.2023.162051

Biau, G., & Scornet, E. (2016). A random forest guided tour. TEST, 25(2), 197–227. https://doi.org/10.1007/s11749-016-0481-7

Bucchi, M., & Trench, B. (Eds.). (2014). Routledge handbook of public communication of science and technology (2nd ed.). Routledge. https://doi.org/10.4324/9780203483794

Cervantes, J., Garcia-Lamont, F., Rodríguez-Mazahua, L., & Lopez, A. (2020). A comprehensive survey on support vector machine classification: Applications, challenges and trends. Neurocomputing, 408, 189–215. https://doi.org/10.1016/j.neucom.2019.10.118

Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357. https://doi.org/10.1613/jair.953

Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). https://doi.org/10.1145/2939672.2939785

Chen, W., Xu, D., Pan, B., Zhao, Y., & Song, Y. (2024). Machine learning-based water quality classification assessment. Water, 16(20), 2951. https://doi.org/10.3390/w16202951

Dencik, L., Hintz, A., & Cable, J. (2016). Towards data justice? The ambiguity of anti-surveillance resistance in political activism. Big Data & Society, 3(2), 1–12. https://doi.org/10.1177/2053951716679678

Entman, R. M. (1993). Framing: Toward clarification of a fractured paradigm. Journal of Communication, 43(4), 51–58. https://doi.org/10.1111/j.1460-2466.1993.tb01304.x

Escobar-Mamani, F., Moreno-Terrazas, E., Siguayro-Mamani, H., & Argota-Pérez, G. (2023). Physicochemical characterization and presence of heavy metals in the trout farming area of Lake Titicaca, Peru. Sains Tanah – Journal of Soil Science and Agroclimatology, 20(2), 140–149. https://doi.org/10.20961/stjssa.v20i2.62357

Fischhoff, B. (1995). Risk perception and communication unplugged: Twenty years of process. Risk Analysis, 15(2), 137–145. https://doi.org/10.1111/j.1539-6924.1995.tb00308.x

Frincu, R. M. (2025). Artificial intelligence in water quality monitoring: A review of water quality assessment applications. Water Quality Research Journal, 60(1), 164–176. https://doi.org/10.2166/wqrj.2024.049

García Canclini, N. (1990). Culturas híbridas: Estrategias para entrar y salir de la modernidad. Grijalbo.

Irwin, A. (1995). Citizen science: A study of people, expertise and sustainable development. Routledge.

Kasperson, R. E., Renn, O., Slovic, P., Brown, H. S., Emel, J., Goble, R., Kasperson, J. X., & Ratick, S. (1988). The social amplification of risk: A conceptual framework. Risk Analysis, 8(2), 177–187. https://doi.org/10.1111/j.1539-6924.1988.tb01168.x

Krishnaraj, A., & Deka, P. C. (2020). Spatial and temporal variations in river water quality of the Middle Ganga Basin using unsupervised machine learning techniques. Environmental Monitoring and Assessment, 192(12), 744. https://doi.org/10.1007/s10661-020-08624-4

Martín-Barbero, J. (1987). De los medios a las mediaciones: Comunicación, cultura y hegemonía. Gustavo Gili.

Massa, A., & Comunello, F. (2024). Natural and environmental risk communication: A scoping review of campaign experiences, applications and tools. International Journal of Disaster Risk Reduction, 114, 104936. https://doi.org/10.1016/j.ijdrr.2024.104936

Ministerio del Ambiente. (2017). Estándares de calidad ambiental (ECA) para agua (D.S. N° 004-2017-MINAM). Ministerio del Ambiente. https://www.gob.pe/institucion/minam/normas-legales/3671-004-2017-minam

Mogane, L. K., Masebe, T., Msagati, T. A. M., & Ncube, E. (2023). A comprehensive review of water quality indices for lotic and lentic ecosystems. Environmental Monitoring and Assessment, 195(8), 926. https://doi.org/10.1007/s10661-023-11512-2

Nasir, N., Kansal, A., Alshaltone, O., Barneih, F., Sameer, M., Shanableh, A., & Al-Shamma'a, A. (2022). Water quality classification using machine learning algorithms. Journal of Water Process Engineering, 48, 102920. https://doi.org/10.1016/j.jwpe.2022.102920

Renn, O. (2008). Risk governance: Coping with uncertainty in a complex world. Earthscan.

Salas-Ávila, D., Chaiña-Chura, F. F., Belizario-Quispe, G., Quispe-Mamani, E., Huanqui-Pérez, R., Velarde-Coaquira, E., Bernedo-Colca, F., Salas-Mercado, D., & Hermoza-Gutiérrez, M. (2021). Evaluación de metales pesados y comportamiento social asociados con la calidad del agua en el río Suches, Puno, Perú. Tecnología y Ciencias del Agua, 12(6), 145–195. https://doi.org/10.24850/j-tyca-2021-06-04

Sandoval, S., Bui, J., & Hopfer, S. (2025). Wildfire and smoke risk communication: A systematic literature review from a health equity focus. International Journal of Environmental Research and Public Health, 22(3), 368. https://doi.org/10.3390/ijerph22030368

Scikit-learn developers. (2024). Scikit-learn: Machine learning in Python (Version 1.5). https://scikit-learn.org/stable/modules/clustering.html

Star, S. L., & Griesemer, J. R. (1989). Institutional ecology, ‘translations’ and boundary objects: Amateurs and professionals in Berkeley’s Museum of Vertebrate Zoology, 1907–1939. Social Studies of Science, 19(3), 387–420. https://doi.org/10.1177/030631289019003001

Swain, L. G. (2024). The evolution of the Canadian (CCME) Water Quality Index. Water Quality Research Journal, 59(4), 342–346. https://doi.org/10.2166/wqrj.2024.052

Taylor, L. (2017). What is data justice? The case for connecting digital rights and freedoms globally. Big Data & Society, 4(2), 1–14. https://doi.org/10.1177/2053951717736335

Wolpert, D. H. (1992). Stacked generalization. Neural Networks, 5(2), 241–259. https://doi.org/10.1016/S0893-6080(05)80023-1

Wynne, B. (1992). Misunderstood misunderstanding: Social identities and public uptake of science. Public Understanding of Science, 1(3), 281–304. https://doi.org/10.1088/0963-6625/1/3/004

Zhu, M., Wang, J., Yang, X., Zhang, Y., Zhang, L., Ren, H., Wu, B., & Ye, L. (2022). A review of the application of machine learning in water quality evaluation. Eco-Environment & Health, 1(2), 107–116. https://doi.org/10.1016/j.eehl.2022.06.001

Published

2026-07-13

How to Cite

Gallegos Pasco, P. A. E., Pineda Chaíña, H. C., Teves Ponce, L. M., Mamani Canqui, A., Mercado Ayamamani, N. O., & Aguilar Ramirez, J. D. (2026). Machine learning for communicating water risk and predicting public quality categories. InveCom Journal, 6(Especial 1), 1-11. https://doi.org/10.5281/zenodo.21286096

Most read articles by the same author(s)