A Hybrid RF–XGBoost Model for Soil Temperature Prediction in Solar Greenhouses
Solar greenhouses are indispensable infrastructure for winter vegetable production in high-latitude regions, maintaining favorable growing conditions without auxiliary heating through superior thermal insulation and solar radiation capture. However, extreme meteorological events disrupt this equilibrium, and soil temperature prediction remains challenging due to thermal hysteresis—time-lagged responses to environmental drivers that threaten crop viability during pre-dawn periods. Existing studies focus on air temperature or short-term horizons (3–6 h), leaving the critical 12 h prediction window inadequately addressed. This study develops a hybrid machine learning framework for 12 h soil temperature prediction in a solar greenhouse. High-resolution data were collected using soil temperature sensors at 200 mm depth (tomato root zone) during the winter growing season. Five algorithms were evaluated: RF and XGBoost (Bagging/Boosting for trend/residual capture), LSTM and GRU (temporal memory), and a novel RF-XGBoost hybrid with two-stage residual correction. The hybrid model achieved R2 = 0.9927, improving standalone RF (R2 = 0.9883) by 0.45% with MSE, RMSE, MAE reductions of 18.1%, 9.6%, 13.9%. Maximum 12 h error was 2.52 °C versus 3.12–4.60 °C for standalone models. The 12 h horizon enables preemptive heating activation, mitigating frost risk while avoiding unnecessary energy expenditure.
Authors
- X. Liu
- Wenlu Shi (ORCID: https://orcid.org/0000-0001-6103-5694)
- Zhanyang Xu (ORCID: https://orcid.org/0000-0001-6426-7415)
- Xuhui Wu
- Tieliang Wang
- Ruiting Zhang
- Cong Wang
- Feng Zhang
Institutions
- Shenyang Agricultural University (CN)
- Wenzhou Vocational College of Science and Technology (CN)
Publication Details
- Journal
- Agriculture
- Published
- 2026-03-31
- DOI
- https://doi.org/10.3390/agriculture16070774
- Primary Topic
- Greenhouse Technology and Climate Control
- Type
- article
- Field-Weighted Citation Impact
- 0.00