IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v18y2026i4p1746-d1860436.html

Predicting Seasonal Variations in River Water Quality: An Artificial Intelligence (AI) Approach Integrating Physicochemical Parameters

Author

Listed:
  • Hasibul Hasan Shawon

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Md Safwan Kabir Bhuiya

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Tris Kee

    (Department of Building and Real Estate, The Hong Kong Polytechnic University, Kowloon, Hong Kong 999077, China)

  • Md Sabbir Hossan

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Md Jubayer Hasan

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Wasiq Hasan Nafi

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Al-Noman Hossain

    (Department of Civil Engineering, College of Engineering and Technology, International University of Business Agriculture and Technology (IUBAT), Dhaka 1230, Bangladesh)

  • Mohammad Nyme Uddin

    (Department of Architectural Engineering, College of Engineering, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 11432, Saudi Arabia)

Abstract

The characterization and prediction of seasonal variations in river water quality are essential for maintaining control of aquatic ecosystems and resource management. This study aims to develop predictive models using Artificial Intelligence (AI) techniques, particularly Machine Learning (ML) algorithms, to classify seasonal patterns in three major rivers in Bangladesh: Buriganga, Shitalakhya, and Turag. This study considered 15 of the most significant water quality parameters, including pH, alkalinity, biochemical oxygen demand (BOD), chemical oxygen demand (COD), total dissolved solids (TDSs), and electrical conductivity (EC). A total of 476 samples were gathered on a monthly basis at 17 monitoring points in the three rivers, covering all months between January and December from 2021 to 2023. With K-fold cross-validation and hyperparameter optimization, three ML models, like Extreme Gradient Boosting (XGBoost), Random Forest (RF), and Decision Tree (DT), were employed for predicting seasonal variation in river water quality. The models were assessed based on accuracy, precision, recall, F1, and ROC–AUC scores. Partial Dependence Plot (PDP) analysis was applied to explore the marginal effects of key water quality features on seasonal prediction while keeping other variables constant. RF achieved the highest accuracy of 79%, and XGBoost was about 77% among the models. The achieved prediction accuracies indicate a robust capability to capture key seasonal and spatial changes in river water quality. At this performance level, the models are effective in identifying conditions associated with deteriorated water quality and potential exceedances of guideline-based thresholds established by the World Health Organization (WHO) and Bangladesh water quality standards, supporting timely assessment and management interventions. The SHAP analysis demonstrated TDS, alkalinity, and EC as the top feature drivers of seasonal differences, providing insight into the interplay between chemical composition and climate. The results of the study have the potential to accurately depict the seasonal patterns in river water quality using AI approaches.

Suggested Citation

  • Hasibul Hasan Shawon & Md Safwan Kabir Bhuiya & Tris Kee & Md Sabbir Hossan & Md Jubayer Hasan & Wasiq Hasan Nafi & Al-Noman Hossain & Mohammad Nyme Uddin, 2026. "Predicting Seasonal Variations in River Water Quality: An Artificial Intelligence (AI) Approach Integrating Physicochemical Parameters," Sustainability, MDPI, vol. 18(4), pages 1-26, February.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:4:p:1746-:d:1860436
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/18/4/1746/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/18/4/1746/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:18:y:2026:i:4:p:1746-:d:1860436. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.