Submitted:
26 August 2026
Posted:
27 August 2026
You are already at the latest version
Abstract
High-altitude lakes are increasingly exposed to nutrient enrichment, organic loading and wastewater-derived contamination, while predictive performance can be overstated when temporally ordered observations are randomly partitioned or target-defining measurements are reused as predictors. We analyzed 177 consecutive monthly water-quality records from the Inner Bay of Lake Titicaca, Peru (January 2011–September 2025), integrating Carlson’s composite trophic state index (CTSI), Hamed–Rao modified Mann–Kendall tests, block-bootstrap Sen slopes, Pettitt change-point detection with 12-month block permutation, nutrient stoichiometry, correlation, principal component analysis, leakage-aware contemporaneous classification and one-month-ahead forecasting. Total phosphorus was treated as elemental P and phosphate as PO4. The bay remained chronically hypereutrophic (mean CTSI 74.08 ± 4.07; 83.1% of months). BOD5 increased by 0.548 mg L−1 yr−1, chlorophyll a by 3.254 mg m−3 yr−1, total suspended solids by 0.752 mg L−1 yr−1 and conductivity by 13.13 µS cm−1 yr−1, whereas total phosphorus declined by 0.085 mg P L−1 yr−1. Block-supported shifts occurred in chlorophyll-a in November 2016 (21.81 to 54.18 mg m−3) and BOD5 in June 2018 (6.54 to 11.77 mg L−1). After removing target-defining variables and preserving temporal order, the best trophic-state classifier had balanced accuracy 0.575 and MCC 0.257. Organic-pollution classification had balanced accuracy 0.624 but sensitivity only 0.271, whereas the fecal-indicator model was unstable (MCC 0.130; ROC-AUC 0.460). Persistence was the best BOD5 forecast (RMSE 4.193 mg L−1; R² 0.390). The best CTSI model explained only 4.8% of future variance, and all thermotolerant-coliform forecasts had negative out-of-time R². Persistent ecological degradation was therefore evident, but monthly observations alone were insufficient for deployment-ready early warning. Higher-frequency sensing, hydrometeorological and wastewater-load covariates, spatial replication, direct microbiological measurements and prospective validation are required.
Keywords:
1. Introduction
2. Materials and Methods
2.1. Study Area and Monitoring Record
2.2. Quality Control, Chemical Basis and Derived Indicators
2.3. Descriptive Statistics, Robust Trends and Change Points
2.4. Association and Multivariate Structure
2.5. Leakage-Aware Contemporaneous Classification
2.6. One-Month-Ahead Forecasting
2.7. Software, Transparency and Reproducibility

3. Results
3.1. Water-Quality Characteristics and Trophic State
3.2. Long-Term Trends and Serial Dependence
3.3 Abrupt Statistical Shifts
3.4. Correlation and Multivariate Structure
3.5. Leakage-Aware Contemporaneous Classification
3.6. One-Month-Ahead Forecasting
4. Discussion
4.1. Persistent Hypereutrophy and Divergent Indicators
4.2. Declining Phosphorus, Stoichiometry and Change Points
4.3. What Leakage-Aware Validation Changes
4.4. Monitoring and Management Implications
4.5. Strengths and Limitations
5. Conclusions
5.1. Patents
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A
Appendix A.1
| Fold | Training period | n train | Test period | n test | Hyp. | BOD5>10 | TTC≥200 |
| F1 | 2011-01 to 2017-12 | 84 | 2018-01 to 2019-12 | 24 | 23 | 8 | 2 |
| F2 | 2011-01 to 2019-12 | 108 | 2020-01 to 2021-12 | 24 | 19 | 8 | 4 |
| F3 | 2011-01 to 2021-12 | 132 | 2022-01 to 2023-12 | 24 | 21 | 12 | 0 |
| F4 | 2011-01 to 2023-12 | 156 | 2024-01 to 2025-09 | 21 | 13 | 20 | 2 |
Appendix A.2
| Variable | PC1 | PC2 | PC3 |
| Temperature | 0.519 | -0.140 | 0.061 |
| Conductivity | 0.520 | 0.340 | -0.312 |
| TSS | 0.562 | 0.112 | 0.101 |
| Secchi | -0.562 | 0.043 | 0.319 |
| DO | 0.618 | -0.198 | -0.169 |
| pH | 0.570 | -0.442 | 0.041 |
| Chla | 0.686 | 0.015 | 0.045 |
| COD | -0.247 | -0.022 | 0.309 |
| BOD5 | 0.357 | 0.472 | 0.068 |
| NO2 | 0.469 | 0.343 | 0.586 |
| NO3 | 0.275 | 0.303 | 0.536 |
| PO4 | -0.131 | -0.093 | 0.559 |
| TN | 0.117 | -0.112 | 0.490 |
| TP | -0.465 | -0.337 | 0.154 |
| NH3 | -0.498 | -0.030 | 0.075 |
| TC | -0.284 | 0.754 | -0.195 |
| TTC | -0.237 | 0.647 | -0.011 |
Appendix A.3

Appendix A.4
| Task | Model | Prev. | Acc. | Bal. acc. | MCC | PR-AUC | ROC-AUC | TN/FP/FN/TP |
|---|---|---|---|---|---|---|---|---|
| Fecal-indicator event | Logistic regression | 0.086 | 0.774 | 0.593 | 0.130 | 0.224 | 0.460 | 69/16/5/3 |
| Fecal-indicator event | Random forest | 0.086 | 0.914 | 0.500 | 0.000 | 0.264 | 0.671 | 85/0/8/0 |
| Fecal-indicator event | SVM-RBF | 0.086 | 0.903 | 0.494 | -0.032 | 0.165 | 0.557 | 84/1/8/0 |
| Organic pollution | Logistic regression | 0.516 | 0.548 | 0.551 | 0.104 | 0.583 | 0.559 | 29/16/26/22 |
| Organic pollution | Random forest | 0.516 | 0.613 | 0.624 | 0.347 | 0.752 | 0.693 | 44/1/35/13 |
| Organic pollution | SVM-RBF | 0.516 | 0.602 | 0.609 | 0.240 | 0.698 | 0.643 | 37/8/29/19 |
| Trophic state | Logistic regression | 0.817 | 0.731 | 0.562 | 0.120 | 0.926 | 0.715 | 5/12/13/63 |
| Trophic state | Random forest | 0.817 | 0.828 | 0.575 | 0.257 | 0.906 | 0.741 | 3/14/2/74 |
| Trophic state | SVM-RBF | 0.817 | 0.806 | 0.539 | 0.134 | 0.889 | 0.667 | 2/15/3/73 |
Appendix A.5
| Target | Model | n | RMSE | MAE | Temporal R² |
|---|---|---|---|---|---|
| BOD5 | Persistence | 93 | 4.193 | 3.213 | 0.390 |
| BOD5 | Elastic Net | 93 | 4.816 | 3.416 | 0.196 |
| BOD5 | Ridge | 93 | 4.824 | 3.424 | 0.193 |
| BOD5 | XGBoost | 93 | 5.639 | 3.744 | -0.102 |
| BOD5 | Random Forest | 93 | 5.836 | 3.856 | -0.181 |
| BOD5 | Gradient Boosting | 93 | 5.840 | 3.860 | -0.183 |
| BOD5 | SVR-RBF | 93 | 5.915 | 4.003 | -0.213 |
| BOD5 | Extra Trees | 93 | 6.070 | 3.994 | -0.277 |
| CTSI | Extra Trees | 93 | 3.733 | 3.002 | 0.048 |
| CTSI | Random Forest | 93 | 3.782 | 3.043 | 0.023 |
| CTSI | SVR-RBF | 93 | 3.912 | 3.138 | -0.045 |
| CTSI | XGBoost | 93 | 3.957 | 3.190 | -0.070 |
| CTSI | Gradient Boosting | 93 | 4.047 | 3.256 | -0.119 |
| CTSI | Persistence | 93 | 4.689 | 3.648 | -0.502 |
| CTSI | Elastic Net | 93 | 5.344 | 4.343 | -0.951 |
| CTSI | Ridge | 93 | 5.377 | 4.346 | -0.975 |
| TTC (log1p) | Random Forest | 93 | 1.526 | 1.296 | -0.018 |
| TTC (log1p) | Extra Trees | 93 | 1.541 | 1.325 | -0.038 |
| TTC (log1p) | SVR-RBF | 93 | 1.629 | 1.374 | -0.160 |
| TTC (log1p) | Gradient Boosting | 93 | 1.631 | 1.354 | -0.163 |
| TTC (log1p) | XGBoost | 93 | 1.651 | 1.376 | -0.191 |
| TTC (log1p) | Persistence | 93 | 1.715 | 1.360 | -0.285 |
| TTC (log1p) | Elastic Net | 93 | 1.961 | 1.627 | -0.681 |
| TTC (log1p) | Ridge | 93 | 1.993 | 1.643 | -0.736 |
Appendix A.6

Appendix A.7
| Model | Fixed specification |
|---|---|
| Classification—logistic regression | C=1.0; class_weight=balanced; liblinear; max_iter=3000 |
| Classification—random forest | 200 trees; max_depth=4; min_samples_leaf=4; max_features=sqrt; balanced_subsample |
| Classification—SVM-RBF | C=1.0; gamma=scale; class_weight=balanced |
| Ridge | alpha=1.0; standardized predictors |
| Elastic net | alpha=0.01; l1_ratio=0.5; max_iter=5000; standardized predictors |
| Random forest regression | 200 trees; max_depth=5; min_samples_leaf=3; max_features=sqrt |
| Extra Trees regression | 200 trees; max_depth=5; min_samples_leaf=3; max_features=sqrt |
| Gradient boosting | 200 estimators; learning_rate=0.03; max_depth=2; min_samples_leaf=3; Huber loss |
| SVR-RBF | C=10; epsilon=0.1; gamma=scale; standardized predictors |
| XGBoost | 200 estimators; max_depth=3; learning_rate=0.03; subsample=0.8; colsample_bytree=0.8; lambda=1 |
References
- Albert, J.S.; Destouni, G.; Duke-Sylvester, S.M., et al. Scientists’ warning to humanity on the freshwater biodiversity crisis. Ambio 2021, 50, 85-94. [CrossRef]
- Reid, A.J.; Carlson, A.K.; Creed, I.F., et al. Emerging threats and persistent conservation challenges for freshwater biodiversity. Biol. Rev. 2019, 94, 849-873. [CrossRef]
- Tickner, D.; Opperman, J.J.; Abell, R., et al. Bending the curve of global freshwater biodiversity loss: An emergency recovery plan. BioScience 2020, 70, 330-342. [CrossRef]
- Carpenter, S.R.; Caraco, N.F.; Correll, D.L.; Howarth, R.W.; Sharpley, A.N.; Smith, V.H. Nonpoint pollution of surface waters with phosphorus and nitrogen. Ecol. Appl. 1998, 8, 559-568. [CrossRef]
- Paerl, H.W.; Otten, T.G. Harmful cyanobacterial blooms: Causes, consequences, and controls. Microb. Ecol. 2013, 65, 995-1010. [CrossRef]
- Smith, V.H.; Schindler, D.W. Eutrophication science: Where do we go from here? Trends Ecol. Evol. 2009, 24, 201-207. [CrossRef]
- Song, L.; Jia, Y.; Qin, B.; Li, R.; Carmichael, W.W.; Gan, N.; Xu, H.; Shan, K.; Sukenik, A. Harmful cyanobacterial blooms: Biological traits, mechanisms, risks, and control strategies. Annu. Rev. Environ. Resour. 2023, 48, 123–147. [CrossRef]
- Suresh, K.; Tang, T.; Van Vliet, M.T.H.; Bierkens, M.F.P.; Strokal, M.; Sorger-Domenigg, F.; Wada, Y. Recent advancement in water quality indicators for eutrophication in global freshwater lakes. Environ. Res. Lett. 2023, 18, 063004. [CrossRef]
- Conley, D.J.; Paerl, H.W.; Howarth, R.W., et al. Controlling eutrophication: Nitrogen and phosphorus. Science 2009, 323, 1014-1015. [CrossRef]
- Kowalczewska-Madura, K.; Dondajewska-Pielka, R.; Gołdyn, R. The assessment of external and internal nutrient loading as a basis for lake management. Water 2022, 14, 2844. [CrossRef]
- Schindler, D.W. Recent advances in the understanding and management of eutrophication. Limnol. Oceanogr. 2006, 51, 356-363. [CrossRef]
- Adrian, R.; O’Reilly, C.M.; Zagarese, H., et al. Lakes as sentinels of climate change. Limnol. Oceanogr. 2009, 54, 2283-2297. [CrossRef]
- Moser, K.A.; Baron, J.S.; Brahney, J., et al. Mountain lakes: Eyes on global environmental change. Glob. Planet. Change 2019, 178, 77-95. [CrossRef]
- Woolway, R.I.; Kraemer, B.M.; Lenters, J.D., et al. Global lake responses to climate change. Nat. Rev. Earth Environ. 2020, 1, 388-403. [CrossRef]
- Lanza, W.G.; Cruz Hernández, V.; Achá, D.; Lazzaro, X. Responses of phytoplankton and periphyton community structure to an anthropic eutrophication gradient in tropical high-altitude Lake Titicaca. J. Great Lakes Res. 2024, 50, 102294. [CrossRef]
- Jansen, J.; Simpson, G.L.; Weyhenmeyer, G.A., Härkönen, L.H.; Paterson, A.M., del Giorgio, P.A.; Prairie, Y.T. Climate-driven deoxygenation of northern lakes. Nat. Clim. Chang. 2024, 14, 832– 838. [CrossRef]
- Liu, Q.; Rowe, M.D.; Stumpf, R.P.; Errera, R.; Godwin, C.M.; Chaffin, J.D.; Anderson, E.J.; Pu, T. Ten-year hindcast assessment of an improved probabilistic forecast system for cyanotoxin (microcystins) risk level in Lake Erie. Water Resour. Res. 2025, 61, e2024WR038952. [CrossRef]
- Dejoux, C.; Iltis, A. (Eds.). Lake Titicaca: A synthesis of limnological knowledge. Kluwer Academic Publishers. [CrossRef]
- Northcote, T.G.; Morales, P.S.; Levy, D.A.; Greaven, M.S. (Eds.). Contaminación en el lago Titicaca, Perú: Capacitación, investigación y manejo. Westwater Research Centre, University of British Columbia.
- Heredia, C.; Guédron, S.; Point, D.; Perrot, V.; Campillo, S.; Verin, C.; Espinoza, M.E.; Fernandez, P.; Duwig, C.; Achá, D. Anthropogenic eutrophication of Lake Titicaca (Bolivia) revealed by carbon and nitrogen stable isotopes fingerprinting. Sci. Total Environ. 2022, 845, 157286. [CrossRef]
- Siguayro, H.; Pasapera, J.; Villanueva, C.; Coila, Y.; Gamarra, C. Evaluación de fuentes contaminantes en el anillo circunlacustre del lago Titicaca (sector peruano), 2017. Bol. Inst. Mar Peru 2022, 37, 361–386. [CrossRef]
- Flores-Gómez, S.; Da Costa, A.B.; Lobo, E.A. Assessment of water quality in high-pressure Peruvian anthropic sectors of Lake Titicaca using a calibrated index. J. Geosci. Environ. Prot. 2024, 12, 97-114. [CrossRef]
- Hirsch, R.M.; Slack, J.R.; Smith, R.A. Techniques of trend analysis for monthly water quality data. Water Resour. Res. 1982, 18, 107-121. [CrossRef]
- Hamed, K.H.; Rao, A.R. A modified Mann–Kendall trend test for autocorrelated data. J. Hydrol. 1998, 204, 182–196. [CrossRef]
- Künsch, H.R. The jackknife and the bootstrap for general stationary observations. The Annals of Statistics 1989, 17, 1217–1241. [CrossRef]
- Yue, S.; Pilon, P.; Phinney, B.; Cavadias, G. The influence of autocorrelation on the ability to detect trend in hydrological series. Hydrol. Process. 2002, 16, 1807–1829. [CrossRef]
- Olden, J.D.; Lawler, J.J.; Poff, N.L. Machine learning methods without tears: A primer for ecologists. The Quarterly Review of Biology 2008, 83, 171-193. [CrossRef]
- Reichstein, M.; Camps-Valls, G.; Stevens, B.; Jung, M.; Denzler, J.; Carvalhais, N.; Prabhat. Deep learning and process understanding for data-driven Earth system science. Nature 2019, 566, 195-204. [CrossRef]
- del Castillo, A.F.; Garibay, M.V.; Díaz-Vázquez, D.; Yebra-Montes, C.; Brown, L.E.; Johnson, A.; Garcia-Gonzalez, A.; Gradilla-Hernández, M.S. Improving river water quality prediction with hybrid machine learning and temporal analysis. Ecol. Inform. 2024, 82, 102655. [CrossRef]
- Grbčić, L., Družeta, S., Mauša, G., et al. Coastal water quality prediction based on machine learning with feature interpretation and spatio-temporal analysis. Environ. Model. Softw. 2022, 155, 105458. [CrossRef]
- Pandit, A., et al. Deep learning prediction and interpretation of riverine nitrate export across the Mississippi River Basin. Water Resour. Res. 2025, 61, e2024WR039207. [CrossRef]
- Zhu, M.; Wang, J.; Yang, X.; Zhang, Y.; Zhang, L.; Ren, H.; Wu, B.; Ye, L. A review of the application of machine learning in water quality evaluation. Eco-Environ. Health 2022, 1, 107–116. [CrossRef]
- Kapoor, S.; Narayanan, A. Leakage and the reproducibility crisis in machine-learning-based science. Patterns 2023, 4, 100804. [CrossRef]
- Kaufman, S.; Rosset, S.; Perlich, C.; Stitelman, O. Leakage in data mining: Formulation, detection, and avoidance. ACM Transactions on Knowledge Discovery from Data 2012, 6, Article 15. [CrossRef]
- Roberts, D.R.; Bahn, V.; Ciuti, S., et al. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 2017, 40, 913-929. [CrossRef]
- Panigrahi, B.; Razavi, S.; Doig, L.E.; Cordell, B.; Gupta, H.V.; Liber, K. On robustness of the explanatory power of machine learning models: Insights from a new explainable AI approach using sensitivity analysis. Water Resour. Res. 2025, 61, e2024WR037398. [CrossRef]
- Chicco, D.; Jurman, G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genomics 2020, 21, 6. [CrossRef]
- Saito, T.; Rehmsmeier, M. The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE 2015, 10, e0118432. [CrossRef]
- Carlson, R.E. A trophic state index for lakes. Limnol. Oceanogr. 1977, 22, 361-369. [CrossRef]
- Ministerio del Ambiente del Perú. Decreto Supremo N° 004-2017-MINAM: Estándares de Calidad Ambiental para Agua y disposiciones complementarias. Diario Oficial El Peruano.
- Guildford, S.J.; Hecky, R.E. Total nitrogen, total phosphorus, and nutrient limitation in lakes and oceans: Is there a common relationship? Limnol. Oceanogr. 2000, 45, 1213-1223. [CrossRef]
- Pettitt, A.N. A non-parametric approach to the change-point problem. Appl. Stat. 1979, 28, 126-135. [CrossRef]
- Friedman, J.H. Greedy function approximation: A gradient boosting machine. Annals of Statistics 2001, 29, 1189-1232. [CrossRef]
- Zou, H.; Hastie, T. Regularization and variable selection via the elastic net. J. R. Stat. Soc. B 2005, 67, 301-320. [CrossRef]
- Geurts, P.; Ernst, D.; Wehenkel, L. Extremely randomized trees. Mach. Learn. 2006, 63, 3-42. [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785-794. [CrossRef]
- Beltrán Farfán, D.F.; Palomino Calli, R.P.; Moreno Terrazas, E.G.; Peralta, C.G.; Montesinos-Tubée, D.B. Calidad de agua de la bahía interior de Puno, lago Titicaca durante el verano del 2011. Rev. Peru. Biol. 2015, 22, 335-340. [CrossRef]
- Tammeorg, O.; Chorus, I.; Spears, B., et al. Sustainable Lake restoration: From challenges to solutions. WIREs Water 2024, 11, e1689. [CrossRef]
- Eyring, S.; Reyes, M.; Merz, E., et al. Five years of high-frequency data of phytoplankton, zooplankton and limnology from a temperate eutrophic lake. Sci. Data 2025, 12, 653. [CrossRef]
- Kong, X.; Determann, M.; Andersen, T.K.; Barbosa, C.C.; Dadi, T.; Janssen, A.B.G.; Paule-Mercado, M.C.; Pujoni, D.G.F.; Schultze, M.; Rinke, K. Synergistic effects of warming and internal nutrient loading interfere with the long-term stability of lake restoration and induce sudden re-eutrophication. Environ. Sci. Technol. 2023, 57, 4003–4013. [CrossRef]
- Kirol, A.P.; Morales-Williams, A.M.; Braun, D.C.; Marti, C.L.; Pierson, O.E.; Wagner, K.J.; Schroth, A.W. Linking sediment and water column phosphorus dynamics to oxygen, temperature, and aeration in shallow eutrophic lakes. Water Resour. Res. 2024, 60, e2023WR034813. [CrossRef]
- Redfield, A.C. The biological control of chemical factors in the environment. American Scientist 1958, 46, 205-221.




| Variable | Mean | SD | Median | Minimum | Maximum |
| Temperature (°C) | 16.60 | 2.54 | 17.40 | 11.10 | 20.90 |
| Conductivity (µS cm−1) | 1706.59 | 140.51 | 1704.97 | 1300.68 | 2001.60 |
| TSS (mg L−1) | 17.53 | 11.94 | 13.56 | 2.00 | 54.25 |
| Secchi depth (m) | 1.31 | 0.49 | 1.15 | 0.45 | 2.80 |
| Dissolved oxygen (mg L−1) | 9.67 | 2.21 | 9.51 | 4.34 | 16.34 |
| pH | 9.30 | 0.57 | 9.36 | 7.56 | 10.47 |
| Chlorophyll-a (mg m−3) | 41.20 | 28.89 | 32.55 | 2.05 | 128.31 |
| COD (mg L−1) | 29.31 | 8.17 | 28.80 | 7.00 | 45.90 |
| BOD5 (mg L−1) | 9.11 | 4.81 | 8.06 | 2.70 | 32.29 |
| Nitrite (mg L−1) | 0.20 | 0.20 | 0.15 | 0.01 | 1.13 |
| Nitrate (mg L−1) | 0.39 | 0.44 | 0.26 | 0.01 | 3.10 |
| Phosphate, PO4 (mg L−1) | 1.38 | 0.50 | 1.26 | 0.17 | 2.86 |
| Total nitrogen, N (mg L−1) | 2.67 | 1.44 | 2.42 | 0.56 | 9.00 |
| Total phosphorus, P (mg L−1) | 1.03 | 0.78 | 0.73 | 0.11 | 3.50 |
| Ammonium/ammonia (mg L−1) | 0.61 | 0.41 | 0.59 | 0.14 | 2.36 |
| Total coliforms (MPN 100 mL−1) | 556.55 | 531.71 | 355.00 | 1.80 | 1700.00 |
| Thermotolerant coliforms (MPN 100 mL−1) | 63.51 | 88.33 | 33.00 | 0.90 | 445.00 |
| Variable | τ | Sen slope | 95% block CI | p (HR) | p (TFPW) | ACF1 |
| Conductivity | 0.252 | 13.130 µS cm−1 yr−1 | 3.368 to 23.158 | <0.001 | <0.001 | 0.87 |
| TSS | 0.259 | 0.752 mg L−1 yr−1 | 0.311 to 1.220 | <0.001 | <0.001 | 0.44 |
| Dissolved oxygen | 0.279 | 0.218 mg L−1 yr−1 | 0.106 to 0.332 | <0.001 | <0.001 | 0.49 |
| Chlorophyll-a | 0.388 | 3.254 mg m−3 yr−1 | 2.136 to 4.363 | <0.001 | <0.001 | 0.43 |
| BOD5 | 0.487 | 0.547 mg L−1 yr−1 | 0.353 to 0.744 | <0.001 | <0.001 | 0.73 |
| Nitrite | 0.364 | 0.012 mg L−1 yr−1 | 0.007 to 0.016 | <0.001 | <0.001 | 0.40 |
| Total phosphorus (P) | -0.415 | -0.085 mg P L−1 yr−1 | -0.133 to -0.040 | 0.006 | <0.001 | 0.82 |
| CTSI | -0.073 | -0.110 units yr−1 | -0.316 to 0.078 | 0.227 | 0.127 | 0.45 |
| COD | -0.072 | -0.046 mg L−1 yr−1 | -0.119 to 0.029 | 0.353 | 0.123 | 0.21 |
| Thermotolerant coliforms | 0.025 | 0.000 MPN 100 mL−1 yr−1 | -1.201 to 1.063 | 0.715 | 0.919 | 0.19 |
| Variable | Change point | Mean before | Mean after | Conventional p | Block p |
| Secchi depth | 2013-07 | 1.66 | 1.23 | 0.013 | 0.321 |
| Total phosphorus (P) | 2014-12 | 2.03 | 0.66 | <0.001 | 0.005 |
| Dissolved oxygen | 2015-07 | 8.29 | 10.29 | <0.001 | 0.025 |
| Phosphate (PO4) | 2015-11 | 1.20 | 1.48 | 0.006 | 0.146 |
| TSS | 2016-08 | 10.99 | 21.60 | <0.001 | 0.002 |
| pH | 2016-10 | 9.06 | 9.46 | <0.001 | 0.244 |
| Chlorophyll-a | 2016-11 | 21.81 | 54.18 | <0.001 | 0.002 |
| Nitrite | 2017-06 | 0.11 | 0.27 | <0.001 | 0.002 |
| BOD5 | 2018-06 | 6.54 | 11.77 | <0.001 | 0.002 |
| Total coliforms | 2019-01 | 439.98 | 697.89 | 0.001 | 0.143 |
| Conductivity | 2021-08 | 1671.60 | 1798.00 | <0.001 | 0.248 |
| Task | Model | Prev. | Bal. acc. (95% CI) | MCC (95% CI) | Sens. | Spec. | PPV | PR-AUC | ROC-AUC |
| Trophic state | Random Forest | 0.817 | 0.575 (0.500–0.641) | 0.257 (-0.001–0.453) | 0.974 | 0.176 | 0.841 | 0.906 | 0.741 |
| Organic pollution | Random Forest | 0.516 | 0.624 (0.529–0.710) | 0.347 (0.174–0.490) | 0.271 | 0.978 | 0.929 | 0.752 | 0.693 |
| Fecal-indicator event | Logistic Regression | 0.086 | 0.593 (0.392–0.782) | 0.130 (-0.129–0.429) | 0.375 | 0.812 | 0.158 | 0.224 | 0.460 |
| Target | Model | RMSE (95% CI) | MAE | Temporal R² (95% CI) | ΔRMSE (95% CI) |
| BOD5 | Persistence | 4.193 (3.370–5.043) | 3.213 | 0.390 (-0.356–0.560) | 0.000 (0.000–0.000) |
| BOD5 | Elastic Net | 4.816 (3.436–5.918) | 3.416 | 0.196 (-0.490–0.395) | 0.622 (-0.265–1.358) |
| CTSI | Persistence | 4.689 (4.024–5.427) | 3.648 | -0.502 (-0.814–-0.276) | 0.000 (0.000–0.000) |
| CTSI | Extra Trees | 3.733 (3.170–4.281) | 3.002 | 0.048 (-0.044–0.126) | -0.957 (-1.300–-0.630) |
| TTC (log1p) | Persistence | 1.715 (1.467–1.908) | 1.360 | -0.285 (-0.695–0.032) | 0.000 (0.000–0.000) |
| TTC (log1p) | Random Forest | 1.526 (1.377–1.675) | 1.296 | -0.018 (-0.162–0.069) | -0.188 (-0.396–0.027) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).