Research Article

Artificial Neural Networks Modelling for Nitrate Prediction in Surface Water of Gökırmak River (Türkiye)

Volume: 6 Number: 2 June 29, 2025
EN

Artificial Neural Networks Modelling for Nitrate Prediction in Surface Water of Gökırmak River (Türkiye)

Abstract

This study aimed to develop an artificial neural network (ANN) model to estimate the nitrate content in the surface water of the Gökırmak River. Samplings were carried out during 12 months from six stations between 2020 and 2021. Nitrate content varied between 0.20 and 2.70 mg l-1 while the mean value was 1.18 mg l-1 during the study period. The developed model consists of two input layers (month and station) and one output layer (nitrate content). Feed-forward backprop was used as the network type. Levenberg-Marquardt (TRAINLM) was used as a training function, LEARNGDM was used as an adaption learning function and mean squared error (MSE) was used as a performance function. The number of neurons was 10 and TANSIG was selected as transfer function. Epoch number adjusted 1000 iterations. ANN model predicted the nitrate content between 0.24 and 2.61 with a mean value of 1.16 mg l-1. The results showed that the best validation performance is 0.61264 at epoch 30. R values are 0.96257 and 0.84231 for training and testing, respectively. R-value was found 0.85352 for all data. In conclusion, this study presents the conception of an artificial neural network (ANN) model designed to predict nitrate concentrations in river water. The developed ANN model provides reasonable results for predicting the nitrate content using only given time and location inputs. More inputs can be included in future studies to ensure higher accuracy in the development of ANN models.

Keywords

ANN , Estimate , Nitrate , Water quality

References

  1. Aguilera, P. A., Frenich, A. G., Torres, J. A., Castro, H., Vidal, J. M., & Canton, M. (2001). Application of the Kohonen neural network in coastal water management: Methodological development for the assessment and prediction of water quality. Water Research, 35(17), 4053-4062. https://doi.org/10.1016/S0043-1354(01)00151-8
  2. Arslan, G., Kale, S., & Sönmez, A. Y. (2020). Trend analysis and forecasting of the Gökırmak River streamflow (Turkey). Oceanological and Hydrobiological Studies, 49(3), 230-246. https://doi.org/10.1515/ohs-2020-0021
  3. Ayers, R., S., & Westcot, D. W. (1985). Water quality for agriculture. FAO Irrigation and Drainage Paper. https://www.fao.org/4/t0234e/T0234E00.htm#TOC
  4. Back, J. O., Rivett, M. O., Hinz, L. B., Mackay, N., Wanangwa, G. J., Phiri, O. L., Songola, C. E., Thomas, M. A. S., Kumwenda, S., Nhlema, M., Miller, A. V. M., & Kalin, R. M. (2018). Risk assessment to groundwater of pit latrine rural sanitation policy in developing country settings. Science of The Total Environment, 613-614, 592-610. https://doi.org/10.1016/j.scitotenv.2017.09.071
  5. Baduna Koçyiğit, M., Akay, H., & Yanmaz, A. M. (2017). Effect of watershed partitioning on hydrologic parameters and estimation of hydrograph of an ungauged basin: A case study in Gokirmak and Kocanaz, Turkey. Arabian Journal of Geosciences, 10, 331. https://doi.org/10.1007/s12517-017-3132-8
  6. Banda, T. D., & Kumarasamy, M. (2024). Artificial neural network (ANN)-based water quality index (WQI) for assessing spatiotemporal trends in surface water quality—A case study of South African River Basins. Water, 16(11), 1485. https://doi.org/10.3390/w16111485
  7. Behmel, S., Damour, M., Ludwig, R., & Rodriguez, M. J. (2016). Water quality monitoring strategies — a review and future perspectives. Science of The Total Environment, 571, 1312-1329. https://doi.org/10.1016/j.scitotenv.2016.06.235
  8. Benzer, S., & Benzer, R. (2018). Modelling nitrate prediction of groundwater and surface water using artificial neural networks. Politeknik Dergisi, 21(2), 321-325. https://doi.org/10.2339/politeknik.385434
  9. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5-32. https://doi.org/10.1023/A:1010933404324
  10. Breiman, L., Friedman, J., Olshen, R., & Stone, C. (1984). Classification and regression trees. Wadsworth.
APA
Kale, S., Sönmez, A. Y., Taştan, Y., Kadak, A. E., & Özdemir, R. C. (2025). Artificial Neural Networks Modelling for Nitrate Prediction in Surface Water of Gökırmak River (Türkiye). Journal of Agricultural Production, 6(2), 106-116. https://doi.org/10.56430/japro.1662391