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

Water Quality Prediction Using Explainable Machine Learning Models

Author

Listed:
  • Majed Alwateer

    (Department of Computer Science, College of Computer Science and Engineering, Taibah University, Yanbu 46421, Saudi Arabia)

Abstract

Water pollution is a common global challenge, with significant impacts for ecosystem preservation, human health, and sustainable development. Addressing this issue requires a comprehensive understanding of the complex relationships between environmental factors and water quality outcomes. This study investigates the application of machine learning models to enhance water quality prediction and environmental management. The study utilizes robust machine learning models, including Adaboost, Random Forest, and Decision Tree classifiers, to uncover patterns within multidimensional water quality datasets. The Extra Trees classifier combined with the SMOTE-ENN resampling strategy achieved an accuracy of 87.25%, a recall of 95.26%, and an ROC of 94.52%. The Explainable AI (XAI) method is used to determine the impact of each parameter to the predictions of the model. This study identified parameters such as turbidity, solids, sulfate, hardness, and pH as some of the most influential factors in determining water potability. The identified factors provide valuable insights that can inform policy decisions and targeted interventions to reduce water pollution. The use of machine learning techniques provides a strong foundation for enhancing water quality evaluation and prediction, therefore facilitating sustainable water resource management.

Suggested Citation

  • Majed Alwateer, 2026. "Water Quality Prediction Using Explainable Machine Learning Models," Sustainability, MDPI, vol. 18(4), pages 1-18, February.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:4:p:1721-:d:1859648
    as

    Download full text from publisher

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

    File URL: https://www.mdpi.com/2071-1050/18/4/1721/
    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:1721-:d:1859648. 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 The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (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.