Agronomy (Sep 2024)
A Study on Hyperspectral Soil Moisture Content Prediction by Incorporating a Hybrid Neural Network into Stacking Ensemble Learning
Abstract
The accurate prediction of soil moisture content helps to evaluate the quality of farmland. Taking the black soil in the Nanguan District of Changchun City as the research object, this paper proposes a stacking ensemble learning model integrating hybrid neural networks to address the issue that it is difficult to improve the accuracy of inversion soil moisture content by a single model. First, raw hyperspectral data are processed by removing edge noise and standardization. Then, the gray wolf optimization (GWO) algorithm is adopted to optimize a convolutional neural network (CNN), and a gated recurrent unit (GRU) and an attention mechanism are added to construct a hybrid neural network model (GWO–CNN–GRU–Attention). To estimate soil water content, the hybrid neural network model is integrated into the stacking model along with Bagging and Boosting algorithms and the feedforward neural network. Experimental results demonstrate that the GWO–CNN–GRU–Attention model proposed in this paper can better predict soil water content; the stacking method of integrating hybrid neural networks overcomes the limitations of a single model’s instability and inferior accuracy. The relative prediction deviation (RPD), root mean square error (RMSE), and coefficient of determination (R2) on the test set are 4.577, 0.227, and 0.952, respectively. The average R2 and RPD increased by 0.056 and 1.418 in comparison to the base learner algorithm. The study results lay a foundation for the fast detection of soil moisture content in black soil areas and provide a data source for intelligent irrigation in agriculture.
Keywords