Prediction Method of Canopy Temperature for Potted Winter Jujube in Controlled Environments Based on a Fusion Model of LSTM–RF
Abstract
1. Introduction
- (1)
- We explore the integration of RF with LSTM for greenhouse crop canopy temperature prediction, a combination that has not been widely applied in this context;
- (2)
- A comprehensive comparison and analysis of multiple deep learning algorithms, demonstrating the superior predictive performance of the proposed model;
- (3)
- The identification and evaluation of key features influencing canopy temperature dynamics in protected winter jujube cultivation, providing a novel approach for managing water stress and optimizing irrigation strategies.
2. Materials and Methods
2.1. Experimental Data
2.2. Data Preprocessing
2.2.1. Data Cleaning
2.2.2. Data Normalization
2.2.3. Correlation Analysis
2.3. Model Architecture and Construction
- Original features from the raw dataset;
- Lagged features were constructed using the sliding window method;
- LSTM-extracted deep features revealing long-term dependencies.
2.3.1. Lagged Feature Construction
2.3.2. LSTM-Based Temporal Feature Extractor
2.3.3. Multi-Source Feature Fusion Strategy
2.3.4. Random Forest Predictor
2.4. Model Evaluation and Interpretation
- (1)
- Model predictive performance evaluation
- (2)
- Model Interpretation
2.5. Ablation Experiment
3. Results
3.1. Model Training Results and Analysis
3.2. Model Interpretability Analysis
3.2.1. SHAP Heatmap
3.2.2. SHAP Bar Chart and Scatter Plot
3.3. Ablation Experiment Results
3.3.1. Feature Ablation
3.3.2. Model Ablation
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Liu, J.; Jiang, K.; Cao, X.; Zhang, X.; Liu, M.; Han, S. Gibberellin and shikimic acid modulate cell wall metabolism to attenuate postharvest softening in jujube fruit. LWT 2025, 233, 118487. [Google Scholar] [CrossRef]
- Kong, X.; Chen, Q.; Xu, M.; Liu, Y.; Li, X.; Han, L.; Zhang, Q.; Wan, H.; Liu, L.; Zhao, X.; et al. Geographical origin identification of winter jujube (Ziziphus jujuba ‘Dongzao’) by using multi-element fingerprinting with chemometrics. J. Integr. Agric. 2024, 23, 1749–1762. [Google Scholar] [CrossRef]
- Singh, J.; Ge, Y.; Heeren, D.M.; Walter-Shea, E.; Neale, C.M.U.; Irmak, S.; Woldt, W.E.; Bai, G.; Bhatti, S.; Maguire, M.S. Inter-relationships between water depletion and temperature differential in row crop canopies in a sub-humid climate. Agric. Water Manag. 2021, 256, 107061. [Google Scholar] [CrossRef]
- Hill, D.; Koryzis, A.; Nelson, D.; Hammond, J.; Bell, L. Investigating the utility of potato (Solanum tuberosum L.) canopy temperature and leaf greenness responses to water-restriction for the improvement of irrigation management. Agric. Water Manag. 2024, 303, 109063. [Google Scholar] [CrossRef]
- Jian, H.; Gao, Z.; Guo, Y.; Xu, X.; Li, X.; Yu, M.; Liu, G.; Bian, D.; Cui, Y.; Du, X. Supplemental irrigation mitigates yield loss of maize through reducing canopy temperature under heat stress. Agric. Water Manag. 2024, 299, 108888. [Google Scholar] [CrossRef]
- Siegfried, J.; Rajan, N.; Adams, C.B.; Neely, H.; Hague, S.; Hardin, R.; Schnell, R.; Han, X.; Thomasson, A. High-accuracy infrared thermography of cotton canopy temperature by unmanned aerial systems (UAS): Evaluating in-season prediction of yield. Smart Agric. Technol. 2024, 7, 100393. [Google Scholar] [CrossRef]
- Smigaj, M.; Gaulton, R.; Suárez, J.C.; Barr, S.L. Canopy temperature from an Unmanned Aerial Vehicle as an indicator of tree stress associated with red band needle blight severity. For. Ecol. Manag. 2019, 433, 699–708. [Google Scholar] [CrossRef]
- Ballester, C.; Castel, J.; Jiménez Bello, M.A.; Castel Sánchez, J.R.; Intrigliolo Molina, D.S. Thermographic measurement of canopy temperature is a useful tool for predicting water deficit effects on fruit weight in citrus trees. Agric. Water Manag. 2013, 122, 1–6. [Google Scholar] [CrossRef]
- He, F.; Ma, C. Modeling greenhouse air humidity by means of artificial neural network and principal component analysis. Comput. Electron. Agric. 2010, 71, S19–S23. [Google Scholar] [CrossRef]
- Liu, J.; Meng, X.; Ma, Y.; Liu, X. Introduce canopy temperature to evaluate actual evapotranspiration of green peppers using optimized ENN models. J. Hydrol. 2020, 590, 125437. [Google Scholar] [CrossRef]
- Kondo, R.; Tanaka, Y.; Shiraiwa, T. Predicting rice (Oryza sativa L.) canopy temperature difference and estimating its environmental response in two rice cultivars, ‘Koshihikari’ and ‘Takanari’, based on a neural network. Plant Prod. Sci. 2022, 25, 394–406. [Google Scholar] [CrossRef]
- Liu, Q.; Ta, N.; Jiao, W.; Kang, H.; Zhao, Z. Spatial Temporal Distribution and Prediction Model of Canopy Temperature and Humidity in Greenhouse. North. Hortic. 2019, 17, 56–65. [Google Scholar]
- Banerjee, S.; Singal, G.; Saha, S.; Mittal, H.; Srivastava, M.; Mukherjee, A.; Mahato, S.; Saikia, B.; Thakur, S.; Samanta, S.; et al. Machine Learning approach to Predict net radiation over crop surfaces from global solar radiation and canopy temperature data. Int. J. Biometeorol. 2022, 66, 2405–2415. [Google Scholar] [CrossRef]
- Guo, J.; Dong, J.; Zhou, B.; Zhao, X.; Liu, S.; Han, Q.; Wu, H.; Xu, L.; Hassan, S.G. A hybrid model for the prediction of dissolved oxygen in seabass farming. Comput. Electron. Agric. 2022, 198, 106971. [Google Scholar] [CrossRef]
- Haider, S.A.; Naqvi, S.R.; Akram, T.; Umar, G.A.; Shahzad, A.; Sial, M.R.; Khaliq, S.; Kamran, M. LSTM Neural Network Based Forecasting Model for Wheat Production in Pakistan. Agronomy 2019, 9, 72. [Google Scholar] [CrossRef]
- Huang, L.; Liu, Y.; Qu, K.; Zhu, Y. Canopy area temperature prediction with fusion of LSTM and Informer. Trans. Chin. Soc. Agric. Eng. 2025, 41, 222–232. [Google Scholar] [CrossRef]
- Kumar, K.V.; Ramesh, K.V.; Rakesh, V. Optimizing LSTM and Bi-LSTM models for crop yield prediction and comparison of their performance with traditional machine learning techniques. Appl. Intell. 2023, 53, 28291–28309. [Google Scholar] [CrossRef]
- Yu, S.; Fan, J.; Lu, X.; Wen, W.; Shao, S.; Liang, D.; Yang, X.; Guo, X.; Zhao, C. Deep learning models based on hyperspectral data and time-series phenotypes for predicting quality attributes in lettuces under water stress. Comput. Electron. Agric. 2023, 211, 108034. [Google Scholar] [CrossRef]
- Wu, M.; Li, R.; Lv, C.; Dong, A.; Mu, F.; Niu, W. Hourly photosynthetically active radiation prediction in solar greenhouses using Bayesian optimized machine learning and deep learning based on limited local weather data. Comput. Electron. Agric. 2025, 237, 110680. [Google Scholar] [CrossRef]
- Hu, J.; Lei, W.; Lu, Y.; Wei, Z.; Liu, X.; Gao, M. Solar Greenhouse Temperature Prediction Model Based on 1D CNN-GRU. Trans. Chin. Soc. Agric. Mach. 2023, 54, 339–346. [Google Scholar] [CrossRef]
- Guo, J.; Zhang, B.; Lin, L.; Xu, Y.; Zhou, P.; Luo, S.; Zhuo, Y.; Ji, J.; Luo, Z.; Gul Hassan, S. Multi-model fusion method for predicting CO2 concentration in greenhouse tomatoes. Comput. Electron. Agric. 2024, 227, 109623. [Google Scholar] [CrossRef]
- Gutiérrez, S.; Diago, M.P.; Fernández-Novales, J.; Tardaguila, J. Vineyard water status assessment using on-the-go thermal imaging and machine learning. PLoS ONE 2018, 13, e0192037. [Google Scholar] [CrossRef]
- Zhou, Z.; Majeed, Y.; Diverres Naranjo, G.; Gambacorta, E.M.T. Assessment for crop water stress with infrared thermal imagery in precision agriculture: A review and future prospects for deep learning applications. Comput. Electron. Agric. 2021, 182, 106019. [Google Scholar] [CrossRef]
- Grant, O.M.; Tronina, L.; Jones, H.G.; Chaves, M.M. Exploring thermal imaging variables for the detection of stress responses in grapevine under different irrigation regimes. J. Exp. Bot. 2007, 58, 815–825. [Google Scholar] [CrossRef] [PubMed]
- Bian, J.; Zhang, Z.; Chen, J.; Chen, H.; Cui, C.; Li, X.; Chen, S.; Fu, Q. Simplified Evaluation of Cotton Water Stress Using High Resolution Unmanned Aerial Vehicle Thermal Imagery. Remote Sens. 2019, 11, 267. [Google Scholar] [CrossRef]
- Pou, A.; Diago, M.P.; Medrano, H.; Baluja, J.; Tardaguila, J. Validation of thermal indices for water status identification in grapevine. Agric. Water Manag. 2014, 134, 60–72. [Google Scholar] [CrossRef]
- Maes, W.H.; Steppe, K. Estimating evapotranspiration and drought stress with ground-based thermal remote sensing in agriculture: A review. J. Exp. Bot. 2012, 63, 4671–4712. [Google Scholar] [CrossRef]
- Candès, J.; Li, X.; Ma, Y.; Wright, J. Robust principal component analysis? J. ACM 2011, 58, 11:1–11:37. [Google Scholar] [CrossRef]
- Zhou, L.; Min, C.; Yi, M. The augmented Lagrange multiplier method for exact recovery of a corrupted low-rank matrices. arXiv 2013, arXiv:1009.5055. [Google Scholar] [CrossRef]
- Liu, Y.; Ding, X.; Wang, H.; Li, K.; Zhang, G.; Yin, Y.; Pan, S. Prediction model for winter and summer lettuce root zone temperature based on dung beetle algorithm to optimize BP. Trans. Chin. Soc. Agric. Eng. 2024, 40, 231–238. [Google Scholar] [CrossRef]
- Zong, C.; Wang, J.; Song, W.; Gen, R.; Liu, P.; Xu, D. Construction and validation of hourly air temperature prediction model in solar greenhouse at night. Trans. Chin. Soc. Agric. Eng. 2022, 38, 218–225. [Google Scholar] [CrossRef]
- Yan, G.; Jia, H.; Lin, H.; Li, H.; Shi, Z.; Wang, Z. XGBoost⁃based Heat Stress Prediction of Dairy Cows and SHAP⁃based Model Interpretation. Trans. Chin. Soc. Agric. Mach. 2025, 56, 408–414. [Google Scholar] [CrossRef]
- Wu, H.; Hu, T.; Liu, Y.; Zhou, H.; Wang, J.; Long, M. TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis. arXiv 2023, arXiv:2210.02186. [Google Scholar] [CrossRef]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.; Kaiser, L.; Polosukhin, I. Attention Is All You Need. arXiv 2023, arXiv:1706.03762. [Google Scholar] [CrossRef]
- Probst, P.; Wright, M.; Boulesteix, A.L. Hyperparameters and Tuning Strategies for Random Forest. WIREs Data Min. Knowl. Discov. 2019, 9, e1301. [Google Scholar] [CrossRef]
- Van Houdt, G.; Mosquera, C.; Nápoles, G. A review on the long short-term memory model. Artif. Intell. Rev. 2020, 53, 5929–5955. [Google Scholar] [CrossRef]
- Wu, B.; Song, Y.; Wang, W.; Xu, W.; Li, J.; Sun, F.; Zhang, C.; Yang, S.; Ning, J.; Xi, Y. Hysteresis in flag leaf temperature based on meteorological factors during the reproductive growth stage of wheat and the design of a predictive model. Comput. Electron. Agric. 2025, 232, 110113. [Google Scholar] [CrossRef]

















| Parameter | Collection Scope | Collection Accuracy |
|---|---|---|
| Temperature (°C) | −40~120 | ±0.1 |
| Humidity (%) | 0~100% RH | ±1% RH |
| Soil Temperature (°C) | −40~80 | ±0.5 °C |
| Soil Humidity (%) | 0~100% RH | ±2% RH |
| Wind Speed/(m·s−1) | 0~30 | ±0.1 |
| Solar Radiation (W·m−2) | 0~1800 | ±3 |
| Absolute Value of Correlation Coefficient | Degree of Correlation |
|---|---|
| (0.8, 1] | Highly strong relevance |
| (0.6, 0.8] | Strong relevance |
| (0.4, 0.6] | Moderate relevance |
| (0.2, 0.4] | Weak relevance |
| [0, 0.2] | Extremely weak relevance |
| Parameter | Parameter Implications | Range of Values |
|---|---|---|
| n_estimators | Number of decision trees in a Random Forest | [100, 300] |
| max_depth | Maximum depth of the decision tree | [15, None] |
| min_samples_split | Minimum number of samples required to split internal nodes | [2] |
| min_samples_leaf | Minimum number of samples required for leaf nodes | [1] |
| max_features | Number of features to consider when finding the optimal segmentation | [‘sqrt’] |
| bootstrap | Whether to use self-sampling when constructing decision trees | [True] |
| Model | R2 | MAE/°C | RMSE/°C |
|---|---|---|---|
| Transformer | 0.916 | 1.396 | 1.806 |
| TimesNet | 0.849 | 1.573 | 2.135 |
| RF | 0.956 | 0.956 | 1.505 |
| LSTM | 0.941 | 0.985 | 1.747 |
| LSTM–RF | 0.974 | 0.844 | 1.155 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Ma, S.; Zhang, Y.; Kou, L.; Huang, S.; Fu, Y.; Zhang, F.; Sun, X. Prediction Method of Canopy Temperature for Potted Winter Jujube in Controlled Environments Based on a Fusion Model of LSTM–RF. Horticulturae 2026, 12, 84. https://doi.org/10.3390/horticulturae12010084
Ma S, Zhang Y, Kou L, Huang S, Fu Y, Zhang F, Sun X. Prediction Method of Canopy Temperature for Potted Winter Jujube in Controlled Environments Based on a Fusion Model of LSTM–RF. Horticulturae. 2026; 12(1):84. https://doi.org/10.3390/horticulturae12010084
Chicago/Turabian StyleMa, Shufan, Yingtao Zhang, Longlong Kou, Sheng Huang, Ying Fu, Fengmin Zhang, and Xianpeng Sun. 2026. "Prediction Method of Canopy Temperature for Potted Winter Jujube in Controlled Environments Based on a Fusion Model of LSTM–RF" Horticulturae 12, no. 1: 84. https://doi.org/10.3390/horticulturae12010084
APA StyleMa, S., Zhang, Y., Kou, L., Huang, S., Fu, Y., Zhang, F., & Sun, X. (2026). Prediction Method of Canopy Temperature for Potted Winter Jujube in Controlled Environments Based on a Fusion Model of LSTM–RF. Horticulturae, 12(1), 84. https://doi.org/10.3390/horticulturae12010084
