Timely and accurate predictions of winter wheat yields are key to ensuring food security. In this research, winter wheat yield prediction models for six provinces were established using a random forest (RF) model. Two methods were employed to analyze feature variables. RF partial dependence plots were generated to demonstrate the nonlinear relationships between the feature variables and yield, and bivariate Moran’s I was considered to identify the spatial associations between variables. Results showed that when environmental data from key growth periods were used for prediction model establishment, the root mean square error (RMSE) varied between 200 and 700 kg/ha, and the coefficient of determination (R2) exceeded 0.5. Feature variable analysis results indicated that the longitude, latitude, topography and normalized difference vegetation index (NDVI) were important variables. Below the threshold, the yield gradually increased with increasing NDVI. Bivariate Moran’s I results showed that there was zonal distribution of meteorological elements. Within a large spatial range, the change in environmental variables due to the latitude and longitude should be accounted for in modeling, but the influence of collinearity between the feature variables should be eliminated via variable importance analysis.
In order to achieve accurate forecasts of peanut weekly price data in China, a peanut price prediction model was established using input variables including peanut imports, peanut exports, peanut oil imports, peanut oil exports, peanut meal prices and peanut production in the previous year, and peanut rice currency weekly prices in the main producing areas was the output variables. This was achieved through the use of LSTM, BiLSTM and the optimised BiLSTM using GWO algorithm. The results demonstrated that the GWO-BiLSTM algorithm exhibited the most optimal fitting effect and was able to more accurately reflect the weekly peanut price trend (with an RMSE of 572.8, an MAE of 470.8, and a MAPE of 4.67%). This provides a valuable reference for the methodology employed in the field of agricultural product price prediction.
In the context of climate change and the development of sustainable agricultural, crop yield prediction is key to ensuring food security. In this study, long-term vegetation and meteorological indices were obtained from the MOD09A1 product and daily weather data. Three types of time series data were constructed by aggregating data from an 8-day period (DP), 9-month period (MP), and six growth periods (GP). And we developed the yield prediction model by using random forest (RF) and long short-term memory (LSTM) networks. Results showed that the average root mean squared error (RMSE) of the RF model in each province was 0.5 Mg/ha lower than that of the LSTM model. Both the RF and LSTM prediction accuracies increased with the later growth stages data. Partial dependence plots showed that the influence degree of DVI on yield was above 2 Mg/ha. When the time length of the feature variables was shortened to MP or GP, the growing degree days (GDD), average minimum temperature (AveTmin), and effective precipitation (EP) showed stronger nonlinear relationships with the statistical yields.
To address challenges in manual detection of electronic component defects in facility greenhouses, this paper presents an electronic component defect detection method using the Improved YOLOv5 recognition algorithm. By introducing the Convolutional Block Attention Module into the YOLOv5 backbone network, the model’s identification and classification of defect types are enhanced, the network’s receptive field is improved, and recognition accuracy is increased. The proposed method also utilizes the α-CIoU loss function to expedite network regression. The effectiveness of the Improved YOLOv5 model was evaluated on a self-made electronic component dataset. Experimental results revealed an average accuracy of 91.9% and a detection time of 2.1 seconds per frame. Compared to the original YOLOv5 model, the average precision value increased by 1.5%, and the single-image detection speed improved by 0.2 seconds per frame. These improvements meet the accurate and efficient requirements for electronic component defect detection within the greenhouse equipment such as roller shutters and ventilators. This study provides valuable theoretical and technical support for defect detection in electronic components, contributing to the performance optimization of electrical equipment in facility greenhouses. The proposed method shows great potential for further development and application in real-world scenarios.