journal article·2023-11-15Open access

Long Short-Term Memory Recurrent Neural Network and Extreme Gradient Boosting Algorithms Applied in a Greenhouse’s Internal Temperature Prediction

Juan M. Esparza-Gómez, Luis F. Luque-Vega, Héctor A. Guerrero-Osuna, Rocío Carrasco-Navarro, Fabián García-Vázquez, Marcela E. Mata-Romero, Carlos Alberto Olvera-Olvera, Miriam A. Carlos-Mancilla, Luis Octavio Solís-Sánchez

Applied Sciences· Volume 13· Issue 22

Abstract

One of the main challenges agricultural greenhouses face is accurately predicting environmental conditions to ensure optimal crop growth. However, the current prediction methods have limitations in handling large volumes of dynamic and nonlinear temporal data, which makes it difficult to make accurate early predictions. This paper aims to forecast a greenhouse’s internal temperature up to one hour in advance using supervised learning tools like Extreme Gradient Boosting (XGBoost) and Recurrent Neural Networks combined with Long-Short Term Memory (LSTM-RNN). The study uses the many-to-one configuration, with a sequence of three input elements and one output element. Significant improvements in the R2, RMSE, MAE, and MAPE metrics are observed by considering various combinations. In addition, Bayesian optimization is employed to find the best hyperparameters for each algorithm. The research uses a database of internal data such as temperature, humidity, and dew point and external data such as temperature, humidity, and solar radiation, splitting the data into the year’s four seasons and performing eight experiments according to the two algorithms and each season. The LSTM-RNN model produces the best results for the metrics in summer, achieving an R2 = 0.9994, RMSE = 0.2698, MAE = 0.1449, and MAPE = 0.0041, meeting the acceptability criterion of ±2 °C hysteresis.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Greenhouse Technology and Climate Control · Plant Water Relations and Carbon Dynamics · Remote Sensing in Agriculture

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Posgrado en Ingeniería y Tecnología Aplicada, Unidad Académica de Ingeniería Eléctrica, Universidad Autónoma de Zacatecas, Zacatecas 98000, Zacatecas, Mexico

Department of Technological and Industrial Processes ITESO AC, Tlaquepaque 45604, Jalisco, Mexico

Research Laboratory on Optimal Design, Devices and Advanced Materials—OPTIMA, Department of Mathematics and Physics, ITESO, Tlaquepaque 45604, Jalisco, Mexico

Subdirección de Investigación, Centro de Enseñanza Técnica Industrial, C. Nueva Escocia 1885, Guadalajara 44638, Jalisco, Mexico

Centro de Investigación, Innovación y Desarrollo Tecnológico CIIDETEC-UVM, Universidad del Valle de México, Tlaquepaque 45601, Jalisco, Mexico

Centro Universitario de los Valles, Universidad de Guadalajara, Ameca 46600, Jalisco, Mexico

References (57)

Show source-provided references
1. United Nations, Department of Economic and Social Affairs, Population Division (2019). World Population Prospects 2019: Highlights, United Nations.
2. Internet-of-Things (IoT)-based smart agriculture: Toward making the fields talk10.1109/ACCESS.2019.2932609 ↗
3. Climate-smart agriculture on small-scale farms: A systematic literature review10.3390/agronomy11061096 ↗
4. (Re)assessing Climate-Smart Agriculture practices for sustainable food systems outcomes in sub-Saharan Africa: The case of Bono East Region, Ghana
5. Climate-Smart Agriculture and Food Security in Southern Africa: A Review of the Vulnerability of Smallholder Agriculture and Food Security to Climate Change10.3390/su15042882 ↗
6. In the starting blocks for smart agriculture: The internet as a source of knowledge in transitional agriculture
7. A detailed study on GPS and GIS enabled agricultural equipment field position monitoring system for smart farming
8. A systematic survey on the role of cloud, fog, and edge computing combination in smart agriculture10.3390/s21175922 ↗
9. Digitalization of agri-cooperatives in the smart agriculture context. proposal of a digital diagnosis tool10.3390/su12041325 ↗
10. Optimal operation scheduling for a smart greenhouse integrated microgrid10.1016/j.esd.2020.08.001 ↗
11. Technological progresses in modern sustainable greenhouses cultivation as the path towards precision agriculture10.1016/j.rser.2021.111251 ↗
12. Artificial intelligence and machine learning for the green development of agriculture in the emerging manufacturing industry in the IoT platform
13. At the Confluence of Artificial Intelligence and Edge Computing in IoT-Based Applications: A Review and New Perspectives10.3390/s23031639 ↗
14. Smart logistic system for enhancing the farmer-customer corridor in smart agriculture sector using artificial intelligence
15. Murlidharan, S., Shukla, V.K., and Chaubey, A. (2021, January 28–30). Application of Machine Learning in Precision Agriculture using IoT. Proceedings of the 2021 2nd International Conference on Intelligent Engineering and Management (ICIEM), London, UK.10.1109/ICIEM51511.2021.9445312 ↗
16. Smart farming using artificial intelligence: A review10.1016/j.engappai.2023.105899 ↗
17. Automation in agriculture by machine and deep learning techniques: A review of recent developments10.1007/s11119-021-09806-x ↗
18. Machine learning models for predicting the residual value of heavy construction equipment: An evaluation of modified decision tree, LightGBM, and XGBoost regression10.1016/j.autcon.2021.103827 ↗
19. A Review of Deep Learning Models for Price Prediction in Agricultural Commodities
20. Incorporating artificial intelligence technology in smart greenhouses: Current State of the Art10.3390/app13010014 ↗
21. Energy efficient operation and modeling for greenhouses: A literature review10.1016/j.rser.2019.109480 ↗
22. Prediction of Internal Temperature in Greenhouses Using the Supervised Learning Techniques: Linear and Support Vector Regressions10.3390/app13148531 ↗
23. A Review on Deep Sequential Models for Forecasting Time Series Data
24. A New Method of Time-Series Event Prediction Based on Sequence Labeling10.3390/app13095329 ↗
25. Prediction of greenhouse micro-climate using artificial neural network10.15666/aeer/1501_767778 ↗
26. Recurrent neural network model for prediction of microclimate in solar greenhouse10.1016/j.ifacol.2018.08.099 ↗
27. A PSO-XGBoost Model for Estimating Daily Reference Evapotranspiration in the Solar Greenhouse10.32604/iasc.2020.010130 ↗
28. Codeluppi, G., Cilfone, A., Davoli, L., and Ferrari, G. (November, January 4–6). Ai at the edge: A smart gateway for greenhouse air temperature forecasting. Proceedings of the 2020 IEEE International Workshop on Metrology for Agriculture and Forestry (MetroAgriFor), Trento, Italy.10.1109/MetroAgriFor50201.2020.9277553 ↗
29. Deep network based on long short-term memory for time series prediction of microclimate data inside the greenhouse10.1142/S1469026820500133 ↗
30. Time-serial analysis of deep neural network models for prediction of climatic conditions inside a greenhouse10.1016/j.compag.2020.105402 ↗
31. Knowledge transfer for adapting pre-trained deep neural models to predict different greenhouse environments based on a low quantity of data10.1016/j.compag.2021.106136 ↗
32. Deep learning based prediction on greenhouse crop yield combined TCN and RNN. Sensors10.3390/s21134537 ↗
33. A short-term wind speed forecasting model based on a multi-variable long short-term memory network10.3390/atmos12050651 ↗
34. Ultra-short-term multi-step wind power forecasting based on CNN-LSTM10.1049/rpg2.12085 ↗
35. Prediction of greenhouse tomato crop evapotranspiration using XGBoost machine learning model10.3390/plants11151923 ↗
36. A method for modelling greenhouse temperature using gradient boost decision tree
37. A deep learning model to predict evapotranspiration and relative humidity for moisture control in tomato greenhouses10.3390/agronomy12092169 ↗
38. A machine learning based model for energy usage peak prediction in smart farms10.3390/electronics11020218 ↗
39. Greenhouse Temperature Prediction Based on Time-Series Features and LightGBM10.3390/app13031610 ↗
40. Greenhouse micro-climate prediction based on fixed sensor placements: A machine learning approach10.3390/math11143052 ↗
41. Artificial neural network for predicting the thermal conductivity of soils based on a systematic database10.1016/j.geothermics.2022.102416 ↗
42. Estimating the thermal conductivity of soils using six machine learning algorithms10.1016/j.icheatmasstransfer.2022.106139 ↗
43. Li, K.Q., Yin, Z.Y., and Liu, Y. (2023). A hybrid SVR-BO model for predicting the soil thermal conductivity with uncertainty. Can. Geotech. J.10.1139/cgj-2023-0105 ↗
44. A data-driven method to model stress-strain behaviour of frozen soil considering uncertainty10.1016/j.coldregions.2023.103906 ↗
45. (2023, September 21). What Is the Team Data Science Process (TDSP)?. Available online: https://learn.microsoft.com/en-us/azure/architecture/data-science-process/overview.
46. Integrating feature engineering, genetic algorithm and tree-based machine learning methods to predict the post-accident disability status of construction workers10.1016/j.autcon.2021.103896 ↗
47. Deep Learning-Based Maximum Temperature Forecasting Assisted with Meta-Learning for Hyperparameter Optimization10.3390/atmos11050487 ↗
48. What makes an online review more helpful: An interpretation framework using XGBoost and SHAP values10.3390/jtaer16030029 ↗
49. An investigation of XGBoost-based algorithm for breast cancer classification
50. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
51. Putatunda, S., and Rama, K. (2019, January 20–22). A Modified Bayesian Optimization based Hyper-Parameter Tuning Approach for Extreme Gradient Boosting. Proceedings of the 2019 Fifteenth International Conference on Information Processing (ICINPRO), Bengaluru, India.10.1109/ICInPro47689.2019.9092025 ↗
52. Sewak, M., Sahay, S.K., and Rathore, H. (2020, January 16–19). Assessment of the Relative Importance of different hyper-parameters of LSTM for an IDS. Proceedings of the 2020 IEEE Region 10 Conference (Tencon), Osaka, Japan.10.1109/TENCON50793.2020.9293731 ↗
53. Multi-sequence LSTM-RNN deep learning and metaheuristics for electric load forecasting10.3390/en13020391 ↗
54. Putatunda, S., and Rama, K. (2018, January 17–20). A comparative analysis of hyperopt as against other approaches for hyper-parameter optimization of XGBoost. Proceedings of the 2018 International Conference on Signal Processing and Machine Learning, Aalborg, Denmark.10.1145/3297067.3297080 ↗
55. Wang, Y., and Ni, X.S. (2019). A XGBoost risk model via feature selection and Bayesian hyper-parameter optimization. arXiv.10.5121/ijdms.2019.11101 ↗
56. The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation10.7717/peerj-cs.623 ↗
57. Robust machine learning algorithms for predicting coastal water quality index10.1016/j.jenvman.2022.115923 ↗