Investigates soil water stress detection using machine learning and wireless sensor data, suggesting improved irrigation management.
Smart agriculture is increasingly recognized as a key solution for improving agricultural productivity while reducing environmental impact and water consumption. The integration of Internet of Things (IoT) technologies and Wireless Sensor Networks (WSNs) enables continuous monitoring of environmental conditions in agricultural fields. These sensing infrastructures generate large volumes of environmental data that can be exploited using Machine Learning techniques in order to support intelligent decision-making. This study investigates the application of supervised Machine Learning algorithms for the detection of soil water stress using real environmental data. The objective is to identify the most suitable algorithm for integration into intelligent irrigation systems deployed in smart agriculture environments. A real dataset collected at the Yanco Agricultural Research Institute in Australia was used in this study. The dataset contains 6,623 time-stamped observations recorded between June and August 2018. The measurements include soil moisture and soil temperature values captured at a depth of 0–5 cm by sensors deployed in a Wireless Sensor Network. Three Machine Learning algorithms were evaluated and compared: K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Logistic Regression (LR). These models were selected because they represent lightweight and computationally efficient methods suitable for integration in IoT-based agricultural systems. Data preprocessing included cleaning erroneous measurements, converting decimal values, and defining a stress threshold derived from the 25th percentile of soil moisture values combined with temperature conditions. The dataset was divided chronologically into training and testing sets using a 70%−30% split. A Time-Series-Split validation strategy was adopted in order to preserve the temporal characteristics of the data. The performance of the models was evaluated using several classification metrics including accuracy, precision, recall, F1-score, Area Under the ROC Curve (AUC), and confusion matrices. Experimental results show that the KNN model significantly outperforms the other methods, achieving an accuracy of 99.6%, precision of 99.0%, recall of 98.4%, and an AUC value of 0.998. The SVM model obtained a perfect recall score but produced a very high number of false positive predictions, which may lead to unnecessary irrigation events. Logistic Regression demonstrated moderate accuracy but failed to detect most water stress events due to its very low recall. The results demonstrate that KNN provides the best balance between detection reliability and false alarm reduction. This makes it particularly suitable for integration in IoT-based irrigation management systems where both precision and energy efficiency are critical. The findings of this research contribute to the development of data-driven decision support systems for sustainable agriculture. Future work will focus on integrating additional environmental variables, expanding the dataset, and deploying the model on edge computing platforms for real-time irrigation control.
No takes yet. Share an insight, caveat, or question.
Yazidi et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: