Soil temperature prediction based on ensemble tree bagger machine learning algorithm for agricultural decision making

Authors

DOI:

https://doi.org/10.14719/pst.7291

Keywords:

artificial intelligence, explainable ai, ensemble tree bagger, machine learning, regression learner, SHAP, Shapley, soil temperature

Abstract

This study focuses on predicting surface soil temperature (ST) at a 5 cm depth, which significantly influences agricultural decisions such as sowing time, irrigation management and soil-plant-atmosphere dynamics. Machine learning (ML) algorithms were used to predict ST using above-ground weather variables viz., air temperature (T), relative humidity (RH), wind velocity (WV) and sunshine duration (SS) measured at 15-min intervals. Six regression-based ML models (Ensemble, Gaussian Process Regression, Support Vector Machine, Tree, Neural Network and Kernel) were trained and tested for predictive accuracy. The Ensemble Bagging Tree model showed the highest precision, with RMSE values of 2.04 and 1.9 for validation and testing, respectively. Various combinations of the weather variables were tested and the model performed best when using above mentioned variables. Among the predictors, T had the greatest impact on ST prediction, as indicated by mean absolute Shapley values. The Shapley values of the variables revealed that T had a critical role in the model output, with time, SS, RH and WV following in importance. Additionally, as a model explainable artificial intelligence (xAI) metrics, SHapley Additive exPlanations (SHAP) were analysed and found that SHAP dependency had a defined relationship between the predictors and ST at a 5 cm depth. This study highlights the effectiveness of machine learning in predicting soil temperature and emphasizes the role of weather variables in agricultural decision-making. decision-making.

Downloads

Download data is not yet available.

References

Katterer T, Andren O. Predicting daily soil temperature profiles in arable soils in cold temperate regions from air temperature and leaf area index. Acta Agric Scand Sec. B Soil Plant Sci. 2009;59:77–86

Pregitzer KS, King JS. Effects of soil temperature on nutrient uptake. In: BassiriRadH.Ed.). Nutrient Acquisition by Plants: An Ecological Perspective. 2005;Springer, pp.277–310. https://doi.org/10.1007/3-540-27675-0_10

Singh RB. Environmental consequences of agricultural development: a case study from the Green Revolution state of Haryana, India. Agriculture, Ecosystems & Environment. 2000;82(1–3):97–103. https://doi.org/10.1016/S0167-8809(00)00219-X

Sun B, Zhang L, Yang L, Zhang F, Norse D, Zhu Z. Agricultural non-point source pollution in China: Causes and mitigation measures. Ambio. 2012;41(4):370–79.

Hu G, Zhao L, Wu X et al. An analytical model for estimating soil temperature profiles on the Qinghai-Tibet Plateau of China. J Arid Land. 2016;8:232–40. https://doi.org/10.1007/s40333-015-0058-4

Breiman L. Bagging Predictors. Machine Learning 26, 1996, pp. 123–140.

Breiman L. Random Forests. Machine Learning 45, 2001, pp. 5–32.

Breiman L. https://www.stat.berkeley.edu/~breiman/RandomForests/

Lundberg S, Lee SI. A unified approach to interpreting model predictions, arXiv - cs - AI 2017. https://doi.org/10.48550/arXiv.1705.07874

Lundberg SM, SI Lee. A unified approach to interpreting model predictions. Adv Neural Inf Process Syst. 2017;30.

Shapley L. A Value for n-Person Games. In: Kuhn H and Tucker A, Eds., Contributions to the Theory of Games II, Princeton University Press, Princeton, 1953:307-17. https://doi.org/10.1515/9781400881970-018

Winter E, Chapter 53 the shapley value, in: Handbook of Game Theory with Economic Applications, 3, Elsevier, 2002, pp. 2025–54.

Kisi O, Sanikhani H, Cobaner M. Soil temperature modeling at di?erent depths using neuro-fuzzy, neuralnetwork, and genetic programming techniques. Theor Appl Climatol. 2016;1–16. http://doi.org/10.1007/s00704-016-1810-1

Nahvi B, Habibi J, Mohammadi K, Shamshirband S, Al Razgan OS. Using self-adaptive evolutionary algorithm to improve the performance of an extreme learning machine for estimating soil temperature. Computers and Electronics in Agriculture. 2016;124:150–60. https://doi.org/10.1016/j.compag.2016.03.025

Feng Y, Cui N, Hao W, Gao L, Gong D. Estimation of soil temperature from meteorological data using different machine learning models. Geoderma. 2019;338:67–77. https://doi.org/10.1016/j.geoderma.2018.11.044

Mehdizadeh S, Ahmadi F, Kozekalani Sales A. Modelling daily soil temperature at different depths via the classical and hybrid models. Meteorological Applications. 2020; 27:(4). https://doi.org/10.1002/met.1941

Alizamir M, Kisi O, Ahmed AN, Mert C, Fai CM, Kim S et al. Advanced machine learning model for better prediction accuracy of soil temperature at different depths. PLoS ONE. 2020;15(4). https://doi.org/10.1371/journal.pone.0231055

Kovacevic T, Mrcela L, Mercep A, Kostanjcar Z. Impact of look-back period on soil temperature estimation using machine learning models. I2MTC 2020 - International Instrumentation and Measurement Technology Conference, Proceedings. 2020; https://doi.org/10.1109/I2MTC43012.2020.9128504

Bayatvarkeshi M, Bhagat SK, Mohammadi K, Kisi O, Farahani M, Hasani A, et al. Modeling soil temperature using air temperature features in diverse climatic conditions with complementary machine learning models. Computers and Electronics in Agriculture. 2021;185. https://doi.org/10.1016/j.compag.2021.106158

Li Q, Hao H, Zhao Y, Geng Q, Liu G, Zhang Y, et al. GANs-LSTM Model for soil temperature estimation from meteorological: A new approach. IEEE Access. 2020; 8:59427–43. https://doi.org/10.1109/ACCESS.2020.2982996

Hao H, Yu F, Li Q. Soil temperature prediction using convolutional neural network based on ensemble empirical mode decomposition. IEEE Access. 2021;9:4084–96. https://doi.org/10.1109/ACCESS.2020.3048028

Kazemi SMR, Bidgoli BM, Shamshirband S, Karimi SM, Ghorbani MA, Chau KW, et al. Novel genetic-based negative correlation learning for estimating soil temperature. Engineering Applications of Computational Fluid Mechanics. 2018;12(1):506–16. https://doi.org/10.1080/19942060.2018.1463871

Sihag P, Esmaeilbeiki F, Singh B, Pandhiani SM. Model-based soil temperature estimation using climatic parameters: the case of Azerbaijan Province, Iran. Geology, Ecology, and Landscapes. 2020;4(3):203–15. https://doi.org/10.1080/24749508.2019.1610841

Han M, Zhang H, DeJonge KC, Comas LH, Trout TJ. Estimating maize water stress by standard deviation of canopy temperature in thermal imagery. Agricultural Water Management. 2016;177:400–09. https://doi.org/10.1016/j.agwat.2016.08.031

Aliva Nanda, Sumit Sen, Awshesh AS, Sudheer KP. Soil temperature dynamics at Hillslope Scale—field observation and machine learning-based approach. Water. 2020; 12(3):713. https://doi.org/10.3390/w12030713

Veronika E, Sandrine B, Gerald AM, CA Senior, Björn S, Ronald JS, et al. Overview of the Coupled Model Intercomparison Project Phase 6 (CMIP6) experimental design and organization. Geoscientific model development. 2016;9:1937-58. https://doi.org/10.5194/gmd-9-1937-2016

Bobak S, Kevin S, Ziyu W, Ryan PA, Nando de F. Taking the human out of the loop: a review of Bayesian optimization. Proceedings of the IEEE. 2015;104:148-75. https://doi.org/10.1109/jproc.2015.2494218

Sary DH, Abd EL-Rahman ZM, Awad FA. Effects of sugar beet residual and vinasse on soil properties and wheat productivity under calcareous soil conditions. Journal of Soil Sciences and Agricultural Engineering. 2024;15(10):271-8. https://doi.org/10.21608/jssae.2024.314327.1245

Sravani P, Chovatia PK, Muchhadiya RM, Sakarvadia HL, Kachhadiya SP, Solanki RM, et al. Evaluating herbicides bio-efficacy on yield, quality parameters of sweet sorghum and their residual effects on soil microbial diversity. Journal of Experimental Agriculture International. 2024;46(10):9-24. https://doi.org/10.9734/jeai/2024/v46i102920

Geng Q, Wang L, Li Q. Soil temperature prediction based on explainable artificial intelligence and LSTM. Frontiers in Environmental Science. 2024;12:1426942. https://doi.org/10.3389/fenvs.2024.1426942

Published

14-03-2025 — Updated on 01-04-2025

Versions

How to Cite

1.
Alagesan A, Thukkaiyannan P, Satheeshkumar N, Thiruvarassan S, Ganesan K, Ayyadurai P. Soil temperature prediction based on ensemble tree bagger machine learning algorithm for agricultural decision making. Plant Sci. Today [Internet]. 2025 Apr. 1 [cited 2025 Apr. 2];12(2). Available from: https://horizonepublishing.com/journals/index.php/PST/article/view/7291

Issue

Section

Research Articles

Most read articles by the same author(s)