Dergiler / Bitlis Eren Üniversitesi Fen Bilimleri Dergisi / 2026 / Volume: 15 Issue: 3

Interpretable Machine Learning for Daily Streamflow Using Gam And Xgboost With Shap-Based Analysis

Mehmet Şamil Güneş(Yildiz Technical University)0000-0001-5842-5181
Sayfa
—
Yayın Tarihi
2026-09-30
🏛️Bu makalenin bibliyografik verileri ve tam metin bağlantısı DergiPark üzerinden sağlanmıştır.
DergiPark Kaydı ↗
✨

Yapay Zeka Hızlı Bakış & Çıkarımlar

AI Insight
⚡ TL;DR(1 Cümlede Hızlı Çıkarım)

The methodology presented serves as a transferable framework for analyzing streamflow responses to changing climate conditions across diverse river basins, contributing to more informed and resilient water resource management strategies

📌 3 Maddede Bu Makale

🎯
Amaç & Hipotez:Predicting and interpreting streamflow changes is critical for the long-term sustainability of water resources under climate variability.
📊
Temel Bulgular & Veri:Daily discharge data from five gauge stations were combined to represent basin-scale behavior, and corresponding meteorological variables were obtained from the NASA POWER dataset for 2021.
💡
Sonuç & Katkı:The methodology presented serves as a transferable framework for analyzing streamflow responses to changing climate conditions across diverse river basins, contributing to more informed and resilient water resource management strategies
🔬Tür:Modelleme & Sayısal Simülasyon
📍Kapsam:2021 Verileri
⚙️Değişkenler:Streamflow Modelling · XGBoost · Hydro-Climatic Drivers

Abstract

Predicting and interpreting streamflow changes is critical for the long-term sustainability of water resources under climate variability. This study investigates daily streamflow dynamics in Turkey's Sakarya River Basin using Generalized Additive Models (GAM), Extreme Gradient Boosting (XGBoost), and Explainable AI techniques. Daily discharge data from five gauge stations were combined to represent basin-scale behavior, and corresponding meteorological variables were obtained from the NASA POWER dataset for 2021. Two modeling approaches were compared: GAM, which captures non-linear relationships among variables, and XGBoost, which accounts for complex variable interactions. Model performance was evaluated using R², RMSE, MAE, and train-test overfitting diagnostics. XGBoost significantly outperformed GAM (R² = 0.769 vs. 0.502) while demonstrating consistent generalization capacity (ΔR² ≤ 0.05). To bridge the gap between predictive accuracy and interpretability, SHAP-based feature attribution was applied. Results reveal that temperature, dew point temperature, and atmospheric humidity exert a greater individual influence on daily discharge variability than precipitation alone, highlighting the dominant role of thermal and atmospheric moisture dynamics in basin-scale hydrological responses at the daily timescale. The XGBoost–SHAP framework effectively combines high predictive accuracy with process-consistent interpretability, supporting the advancement of hybrid predictive-interpretive approaches in hydrologic modeling. These findings confirm that machine learning models, when paired with explainability tools, provide meaningful insights into underlying physical processes driving streamflow. The methodology presented serves as a transferable framework for analyzing streamflow responses to changing climate conditions across diverse river basins, contributing to more informed and resilient water resource management strategies

🔖

Bu Makaleye Atıf Yap

Güneş, M. Ş. (2026). Interpretable Machine Learning for Daily Streamflow Using Gam And Xgboost With Shap-Based Analysis. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, Volume: 15 Issue: 3. https://doi.org/10.17798/bitlisfen.1892953

📄 Tam Metin PDF Okuyucu

📄

PDF görüntüleyici hazırlanıyor...

Kaynakça (32)

  1. W. J. Knoben, R. A. Woods, and J. E. Freer, “A quantitative hydrological climate classification evaluated with independent streamflow data,” *Water Resources Research*, vol. 54, no. 7, pp. 5088–5109, 2018.
  2. W. Berghuijs, R. Woods, and M. Hrachowitz, “A precipitation shift from snow towards rain leads to a decrease in streamflow,” *Nature Climate Change*, vol. 4, no. 7, pp. 583–586, 2014.
  3. G. Blöschl *et al*., “Changing climate both increases and decreases European river floods,” *Nature*, vol. 573, no. 7772, pp. 108–111, 2019.
  4. C. A. Day, “Modelling impacts of climate change on snowmelt runoff generation and streamflow across western US mountain basins: A review of techniques and applications for water resource management,” *Progress in Physical Geography*, vol. 33, no. 5, pp. 614–633, 2009.
  5. N. Addor, A. J. Newman, N. Mizukami, and M. P. Clark, “The CAMELS data set: Catchment attributes and meteorology for large-sample studies,” *Hydrology and Earth System Sciences*, vol. 21, no. 10, pp. 5293–5313, 2017.
  6. G. S. Nearing *et al*., “What role does hydrological science play in the age of machine learning?,” *Water Resources Research*, vol. 57, no. 3, Art. no. e2020WR028091, 2021.
  7. C. Shen *et al*., “Differentiable modelling to unify machine learning and physical models for geosciences,” *Nature Reviews Earth & Environment*, vol. 4, no. 8, pp. 552–567, 2023.
  8. R. P. Allan, C. Liu, M. Zahn, D. A. Lavers, E. Koukouvagias, and A. Bodas-Salcedo, “Physically consistent responses of the global atmospheric hydrological cycle in models and observations,” *Surveys in Geophysics*, vol. 35, no. 3, pp. 533–552, 2014.
  9. F. Fenicia, D. Kavetski, and H. H. Savenije, “Elements of a flexible approach for conceptual hydrological modeling: 1. Motivation and theoretical development,” *Water Resources Research*, vol. 47, no. 11, 2011.
  10. M. P. Clark *et al*., “The evolution of process-based hydrologic models: Historical challenges and the collective quest for physical realism,” *Hydrology and Earth System Sciences*, vol. 21, no. 7, pp. 3427–3440, 2017.
  11. D. Feng, H. Beck, K. Lawson, and C. Shen, “The suitability of differentiable, physics-informed machine learning hydrologic models for ungauged regions and climate change impact assessment,” *Hydrology and Earth System Sciences*, vol. 27, no. 12, pp. 2357–2373, 2023.
  12. H. Tyralis, G. Papacharalampous, and A. Langousis, “A brief review of random forests for water scientists and practitioners and their recent history in water resources,” *Water*, vol. 11, no. 5, Art. no. 910, 2019.
  13. K. Yokoo *et al*., “Capabilities of deep learning models on learning physical relationships: Case of rainfall-runoff modeling with LSTM,” *Science of the Total Environment*, vol. 802, Art. no. 149876, 2022.
  14. M. Ester, H. Kriegel, and X. Xu, “XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,” *Geographical Analysis*, 2022.
  15. C. Rudin, “Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead,” *Nature Machine Intelligence*, vol. 1, no. 5, pp. 206–215, 2019.
  16. Y. Yang and T. F. M. Chui, “Modeling and interpreting hydrological responses of sustainable urban drainage systems with explainable machine learning methods,” *Hydrology and Earth System Sciences*, vol. 25, no. 11, pp. 5839–5858, 2021.
  17. W. Wan, Y. Zhou, and Y. Chen, “Interpretable and explainable hybrid model for daily streamflow prediction based on multi-factor drivers,” *Environmental Science and Pollution Research*, vol. 31, no. 23, pp. 34588–34606, 2024.
  18. C. Molnar, *Interpretable Machine Learning*. Lulu.com, 2020.
  19. T. D. S. İ. G. Müdürlüğü, “General Directorate of State Hydraulic Works: DSİ,” n.d.
  20. K. Ravindra, P. Rattan, S. Mor, and A. N. Aggarwal, “Generalized additive models: Building evidence of air pollution, climate change and human health,” *Environment International*, vol. 132, Art. no. 104987, 2019.
  21. T. Chen *et al*., “XGBoost: Extreme gradient boosting,” *R Package Version 0.4-2*, vol. 1, no. 4, pp. 1–4, 2015.
  22. E. Mosca, F. Szigeti, S. Tragianni, D. Gallagher, and G. Groh, “SHAP-based explanation methods: A review for NLP interpretability,” in *Proceedings of the 29th International Conference on Computational Linguistics*, 2022, pp. 4593–4603.
  23. G. Van den Broeck, A. Lykov, M. Schleich, and D. Suciu, “On the tractability of SHAP explanations,” *Journal of Artificial Intelligence Research*, vol. 74, pp. 851–886, 2022.
  24. H. Jun and A. Nichol, “Shap-E: Generating conditional 3D implicit functions,” *arXiv preprint arXiv:2305.02463*, 2023.
  25. A. M. Salih *et al*., “A perspective on explainable artificial intelligence methods: SHAP and LIME,” *Advanced Intelligent Systems*, vol. 7, no. 1, Art. no. 2400304, 2025.
  26. P. Dodangeh, R. Shah-Hosseini, and S. Homayouni, “Wetland monitoring using a comprehensive drought indicator based on meteorological, agricultural, hydrological, and anthropogenic parameters,” *Earth Systems and Environment*, pp. 1–28, 2025.
  27. T. Hastie and R. Tibshirani, “Generalized additive models,” *Statistical Science*, vol. 1, no. 3, pp. 297–310, 1986.
  28. S. N. Wood, *Generalized Additive Models: An Introduction with R*. Chapman and Hall/CRC, 2017.
  29. T. Chen, “XGBoost: A scalable tree boosting system,” Cornell University, 2016.
  30. P. Prasad, V. J. Loveson, B. Das, and M. Kotha, “Novel ensemble machine learning models in flood susceptibility mapping,” *Geocarto International*, vol. 37, no. 16, pp. 4571–4593, 2022.
  31. J. Seibert, M. J. Vis, I. Kohn, M. Weiler, and K. Stahl, “Representing glacier geometry changes in a semi-distributed hydrological model,” *Hydrology and Earth System Sciences*, vol. 22, no. 4, pp. 2211–2224, 2018.
  32. S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” *Advances in Neural Information Processing Systems*, vol. 30, 2017.