IDEAS home Printed from https://ideas.repec.org/a/spr/waterr/v38y2024i2d10.1007_s11269-023-03690-y.html
   My bibliography  Save this article

Machine Learning For Groundwater Quality Classification: A Step Towards Economic and Sustainable Groundwater Quality Assessment Process

Author

Listed:
  • Aymen Zegaar

    (Research Laboratory in Subterranean and Surface Hydraulics, Mohamed Khider University)

  • Samira Ounoki

    (Research Laboratory in Subterranean and Surface Hydraulics, Mohamed Khider University)

  • Abdelmoutia Telli

    (Mohamed Khider University)

Abstract

Evaluation of water quality is essential for protecting both the environment and human wellbeing. There is a paucity of research on using machine learning for classification of groundwater used for irrigation with fewer input parameters and still getting satisfactory results, despite earlier studies exploring its application in evaluating water quality. Studies are required to determine the feasibility of using machine learning to classify groundwater used for irrigation using minimal input parameters. In this study, we developed machine learning models to simulate the Irrigation Water Quality Index (IWQI) and an economic model that used an optimal number of inputs with the highest possible accuracy. We utilized eight classification algorithms, including the LightGBM classifier, CatBoost, Extra Trees, Random Forest, Gradient Boosting classifiers, Support Vector Machines, Multi-Layer Perceptrons, and K-Nearest Neighbors Algorithm. Two scenarios were considered, the first using six inputs, including conductivity, chloride ( $$\mathrm{Cl}^{-}$$ Cl - ), bicarbonate ( $$\mathrm{HCO}_3{}^{-}$$ HCO 3 - ), sodium ( $$\mathrm{Na}^{+}$$ Na + ), calcium ( $$\mathrm{Ca}^{2+}$$ Ca 2 + ), and magnesium ( $$\mathrm{Mg}^{2+}$$ Mg 2 + ), and the second using three parameters, including total hardness (TH), chloride ( $$\mathrm{Cl}^{-}$$ Cl - ), and sulfate ( $${\mathrm{SO}_4{}^{2-}}$$ SO 4 2 - ) that were selected based on the Mutual Information (MI) result. The models achieved satisfactory performance, with the LightGBM classifier as the best model, yielding a 91.08% F1 score using six inputs, and the Extra Trees classifier as the best model, yielding an 86.30% F1 score using three parameters. Our findings provide a valuable contribution to the development of accurate and efficient machine learning models for water quality evaluation.

Suggested Citation

  • Aymen Zegaar & Samira Ounoki & Abdelmoutia Telli, 2024. "Machine Learning For Groundwater Quality Classification: A Step Towards Economic and Sustainable Groundwater Quality Assessment Process," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 38(2), pages 621-637, January.
  • Handle: RePEc:spr:waterr:v:38:y:2024:i:2:d:10.1007_s11269-023-03690-y
    DOI: 10.1007/s11269-023-03690-y
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s11269-023-03690-y
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s11269-023-03690-y?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:spr:waterr:v:38:y:2024:i:2:d:10.1007_s11269-023-03690-y. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.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.