Prediction of nitrate and phosphorus concentrations using machine learning algorithms in watersheds with different landuse

Aayush Bhattarai, Sandeep Dhakal, Yogesh Gautam, Rabin Bhattarai

Research output: Contribution to journalArticlepeer-review


Rapid industrialization and population growth have elevated the concerns over water quality. Excessive nitrates and phosphates in the water system have an adverse effect on the aquatic ecosystem. In recent years, machine learning (ML) algorithms have been extensively employed to estimate water quality over traditional methods. In this study, the performance of nine different ML algorithms is evaluated to predict nitrate and phosphorus concentration for five different watersheds with different land-use practices. The land-use distribution affects the model performance for all methods. In urban watersheds, the regular and predictable nature of nitrate concentration from wastewater treatment plants results in more accurate estimates. For the nitrate prediction, ANN outperforms other ML models for the urban and agricultural watersheds, while RT-BO performs well for the forested Grand watershed. For the total phosphorus prediction, ensemble-BO and M-SVM outperform other ML models for the agricultural and forested watershed, while the ANN performs better than other ML models for the urban Cuyahoga watershed. In predicting phosphorus concentration, the model predictability is better for agricultural and forested watersheds. Regarding consistency, Bayesian optimized RT, ensemble, and GPR consistently yielded good performance for all watersheds. The methodology and results outlined in this study will assist policymakers in accurately predicting nitrate and phosphorus concentration which will be instrumental in drafting a proper plan to deal with the problem of water pollution.

Original languageEnglish (US)
Article number3096
Issue number21
StatePublished - Nov 3 2021


  • Bayesian optimiza-tion
  • Machine learning
  • Nitrate concentration
  • Phosphorus concentration
  • Water pollution

ASJC Scopus subject areas

  • Geography, Planning and Development
  • Biochemistry
  • Aquatic Science
  • Water Science and Technology


Dive into the research topics of 'Prediction of nitrate and phosphorus concentrations using machine learning algorithms in watersheds with different landuse'. Together they form a unique fingerprint.

Cite this