Comparative analysis of machine learning models to restore gaps in multivariate time series leaf wetness sensor data

• Leaf wetness missing data imputation through machine learning models. • Feature selection, R 2 , MSE, and KGE were evaluated for ML models’ accuracy in LW prediction. • Standalone ML models’ performance in training and validation suggests hybrid model integration. • The hybrid stacked model outperformed in predicting LW with the highest R 2 , lowest MSE, and best KGE. IoT (Internet of Things) has been utilized in agriculture in many ways. When collecting data from IoT-based sensors, errors can occur due to various factors. Exploring the ways to predict missing data is needed to ensure the reliability, accuracy, and completeness of datasets for effective decision-making and analysis. This study focused on predicting missing leaf wetness (LW) sensor data using Machine Learning (ML) models, including Multiple Linear Regression (MLR), Support Vector Regression (SVR), K-Nearest Neighbors (KNN), Gradient Boosting (GB), Long Short-Term Memory (LSTM), Random Forest (RF), Deep Neural Network (DNN) and a hybrid stacked model. Cross-validation and correlation were performed for feature selection to select significant variables and interactions. Several environmental parameters, including temperature (T; ˚C), humidity (H; %), soil moisture (SM; %), rainfall (R; mm), rain event (RE) and their interactions (R x T, R x H, R x SM) were used to predict the LW through ML models. To overcome the limitations of traditional methods in handling the spatial and temporal complexity of environmental data, a hybrid stacked machine learning model, which integrates the strengths of RF (for robust imputation on interaction terms) and DNN (for capturing complex patterns) with dropout for L1 and L2 regularization techniques, was tested. The RF model performed better in training with a low Mean Squared Error (MSE) of 0.032, a high R 2 of 0.967 and a Kling-Gupta Efficiency (KGE) of 0.919 but failed to capture LW peaks. DNN and Fused Regularized DNN (FDNN) showed moderate MSE (AM: 0.46, 0.45; PM: 0.33,0.49) and satisfactory R 2 (AM: 0.53, 0.54; PM: 0.66,0.50), KGE (AM: 0.54, 0.61; PM: 0.7, 0.56), but slightly underestimated LW in training dataset. FDNN performed well compared to RF and DNN in testing data sets, while the hybrid model outperformed other ML models. Through evaluation, it was observed that the hybrid ML model significantly outperformed individual models in both training and validation phases, achieving lower MSE (training = 0.002, validation = 0.113), higher R 2 (training = 0.963, validation = 0.887), and improved KGE (training = 0.968, validation = 0.848). This ensemble modeling approach improves the accuracy of gap-filling in LW data and contributes to precise agricultural decision-making and management practices.

Authors

Institutions

Publication Details

Journal
Computers and Electronics in Agriculture
Published
2025-11-11
DOI
https://doi.org/10.1016/j.compag.2025.111187
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative analysis of machine learning models to restore gaps in multivariate time series leaf wetness sensor data

Nawab Yousuf Ali, Martin I. Chilvers, Benjamin P. Werling, Younsuk Dong et al.
Computers and Electronics in Agriculture
Smart Agriculture and AI
article

Comparative analysis of machine learning models to restore gaps in multivariate time series leaf wetness sensor data

Nawab Yousuf Ali, Martin I. Chilvers, Benjamin P. Werling, Younsuk Dong, Jill C. Check, Jaime F. Willbur, Zhichao Cao, Yimeng Liu, Shivani Rana
article en

Abstract

• Leaf wetness missing data imputation through machine learning models. • Feature selection, R 2 , MSE, and KGE were evaluated for ML models’ accuracy in LW prediction. • Standalone ML models’ performance in training and validation suggests hybrid model integration. • The hybrid stacked model outperformed in predicting LW with the highest R 2 , lowest MSE, and best KGE. IoT (Internet of Things) has been utilized in agriculture in many ways. When collecting data from IoT-based sensors, errors can occur due to various factors. Exploring the ways to predict missing data is needed to ensure the reliability, accuracy, and completeness of datasets for effective decision-making and analysis. This study focused on predicting missing leaf wetness (LW) sensor data using Machine Learning (ML) models, including Multiple Linear Regression (MLR), Support Vector Regression (SVR), K-Nearest Neighbors (KNN), Gradient Boosting (GB), Long Short-Term Memory (LSTM), Random Forest (RF), Deep Neural Network (DNN) and a hybrid stacked model. Cross-validation and correlation were performed for feature selection to select significant variables and interactions. Several environmental parameters, including temperature (T; ˚C), humidity (H; %), soil moisture (SM; %), rainfall (R; mm), rain event (RE) and their interactions (R x T, R x H, R x SM) were used to predict the LW through ML models. To overcome the limitations of traditional methods in handling the spatial and temporal complexity of environmental data, a hybrid stacked machine learning model, which integrates the strengths of RF (for robust imputation on interaction terms) and DNN (for capturing complex patterns) with dropout for L1 and L2 regularization techniques, was tested. The RF model performed better in training with a low Mean Squared Error (MSE) of 0.032, a high R 2 of 0.967 and a Kling-Gupta Efficiency (KGE) of 0.919 but failed to capture LW peaks. DNN and Fused Regularized DNN (FDNN) showed moderate MSE (AM: 0.46, 0.45; PM: 0.33,0.49) and satisfactory R 2 (AM: 0.53, 0.54; PM: 0.66,0.50), KGE (AM: 0.54, 0.61; PM: 0.7, 0.56), but slightly underestimated LW in training dataset. FDNN performed well compared to RF and DNN in testing data sets, while the hybrid model outperformed other ML models. Through evaluation, it was observed that the hybrid ML model significantly outperformed individual models in both training and validation phases, achieving lower MSE (training = 0.002, validation = 0.113), higher R 2 (training = 0.963, validation = 0.887), and improved KGE (training = 0.968, validation = 0.848). This ensemble modeling approach improves the accuracy of gap-filling in LW data and contributes to precise agricultural decision-making and management practices.

Computers and Electronics in AgricultureVol. 240
Ocean County College (US), Michigan State University (US)
Openalex Percentile: Top 75%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.