Litcius/Paper detail

A hybrid machine learning approach for imbalanced irrigation water quality classification

Musa Mustapha, Mhamed Zineddine, Eran Kaufman, Liron Friedman, Maha Gmira, Kaloma Usman Majikumna, A. El Alaoui

2024Desalination and Water Treatment13 citationsDOIOpen Access PDF

Abstract

Global food security is increasingly dependent on irrigation, particularly in regions experiencing freshwater scarcity. Conventional laboratory methods for assessing Irrigation Water Quality Index (IWQI) are often slow and inaccessible to small-scale farmers, especially in developing countries. This study proposes an efficient machine learning (ML) approach to enhance the classification performance of IWQI into five classes: no restriction, low restriction, moderate restriction, high restriction, and severe restriction. A dataset comprising 62,499 samples with six hydrochemical parameters (EC, Cl − , HCO 3 − , Na + , Ca 2+ , and Mg 2+ ) was collected, preprocessed, and labeled. Missing values were imputed using a Random Forest model, achieving an R 2 of 0.98. To address class imbalance, synthetic resampling, class weighting, and apportioned margins were employed to train three ML models: two stacked ensembles and an Apportioned Margin Support Vector Machine (AMSVM). Class weighting was applied to the first ensemble, adaptive synthetic sampling (ADASYN) resampling was utilized for the second, and AMSVM was adjusted for class imbalance through apportioned margins and class weighting. The class-weighted ensemble achieved 98.5% accuracy, precision, recall, and F1-score, while the ADASYN ensemble attained 97.5% accuracy and recall, with 97.4% precision and F1-score. AMSVM recorded 86.8% accuracy, 74.7% precision, 83.6% recall, and a 79% F1-score. This study improves IWQI classification, explores trade-offs between accuracy and class balance, and provides information on the effectiveness of class weighting, apportioned margins, and resampling techniques for the development of the ML model. The proposed models can facilitate the development of a low-cost IoT-based IWQI assessment system, supporting sustainable irrigation management to enhance agricultural productivity. • A novel ML approach is proposed to enhance IWQI classification performance. • Class imbalance was addressed via synthetic resampling, class weighting, and apportioned margins. • The class-weighted ensemble model achieved 98.5% accuracy, precision, recall, and F1-score. • Proposed model can enables cost-effective IoT-based IWQI assessment.

Topics & Concepts

Water qualityQuality (philosophy)Artificial intelligenceMachine learningComputer scienceIrrigationEnvironmental sciencePhysicsAgronomyBiologyEcologyQuantum mechanicsHydrological Forecasting Using AIImbalanced Data Classification TechniquesWater Systems and Optimization
A hybrid machine learning approach for imbalanced irrigation water quality classification | Litcius