Temperature control mode prediction in a greenhouse based on SMOTETomek-ISSA-CatBoost model
Abstract
Temperature is a critical factor influencing crop growth in controlled environment agriculture. Accurate regulation of air temperature within a greenhouse is essential for promoting optimal crop development and enhancing production efficiency. In this study, a Categorical Boosting model based on SMOTETomek mixed sampling method and improved Sparrow Search Algorithm (SMOTETomek-ISSA-CatBoost) was proposed to predict the categories of greenhouse temperature control modes. This study utilized historical temperature control mode data, which had been accumulated by cultivation experts through practical production and demonstrated effective in temperature management. To enhance the model’s performance and achieve real-time, precise temperature regulation in greenhouses, firstly, the SMOTETomek mixed sampling method was utilized to expand the original training set, effectively addressing the issue of data imbalance. Secondly, the Latin Hypercube Sampling (LHS) method, the Cauchy mutation perturbation operator, and a greedy rule were employed to refine the Sparrow Search Algorithm to enhance the global search capability. Ultimately, the improved Sparrow Search Algorithm was employed to optimize the hyper-parameters of CatBoost model to improve its predictive accuracy. Compared with SMOTETomek-CatBoost models optimized by Whale Optimization Algorithm (WOA), Fruit Fly Optimization Algorithm (FOA), Particle Swarm Optimization (PSO), and standard Sparrow Search Algorithm (SSA), the SMOTETomek-ISSA-CatBoost model demonstrated better prediction efficacy, with F1-score and AUC values reaching 0.8147 and 0.9629, respectively. The SMOTETomek-ISSA-CatBoost model exhibited the capability to predict the category of temperature control modes in a greenhouse accurately, thereby providing a decision-making foundation for intelligent management of greenhouse environments.
Keywords: greenhouse; temperature control mode; CatBoost; SMOTETomek; ISSA
DOI: 10.25165/j.ijabe.20261903.9630
Citation: Mao X J, Lu H Y, Yi Z Y, Ren N, Jin J. Temperature control mode prediction in a greenhouse based on SMOTETomek-ISSA-CatBoost model. Int J Agric & Biol Eng, 2026; 19(3): 123–132.
References
[1] Moore C E, Meacham-Hensold K, Lemonnier P, Slattery R A, Benjamin C, Bernacchi C J, et al. The effect of increasing temperature on crop photosynthesis: From enzymes to ecosystems. Journal of Experimental Botany, 2021; 72(8): 2822–2844.
[2] Omid M, Shafaei A. Temperature and relative humidity changes inside greenhouse. International Agrophysics, 2005; 19(2): 153–158.
[3] Pinho P, Hytonen T, Rantanen M, Elomaa P, Halonen L. Dynamic control of supplemental lighting intensity in a greenhouse environment. Lighting Research & Technology, 2013; 45(3): 295–304.
[4] Pasgianos G D, Arvanitis K G, Polycarpou P, Sigrimis N. A nonlinear feedback technique for greenhouse environmental control. Computers and Electronics in Agriculture, 2003; 40: 153–177.
[5] Espinoza K, Valera D L, Torres J A, Lopez A, Molina-Aiz F D. An auto-tuning PI control system for an open-circuit low-speed wind tunnel designed for greenhouse technology. Sensors, 2015; 15(8): 19723–19749.
[6] Blasco X, Martínez M, Herrero J M, Ramos C, Sanchís J. Model-based predictive control of greenhouse climate for reducing energy and water consumption. Computers and Electronics in Agriculture, 2007; 55(1): 49–70.
[7] Liang M H, Chen L J, He Y F, Du S F. Greenhouse temperature predictive control for energy saving using switch actuators. IFAC PapersOnLine, 2018; 51(17): 747–751.
[8] Moreno J C, Berenguel M, Rodríguez F, Baños A. Robust control of greenhouse climate exploiting measurable disturbances. IFAC Proceedings Volumes, 2002; 35(1): 271–276.
[9] Ariffin M A M, Ramli M I, Amin M N M, Ismail M, Zainol Z, Ahmad N D, et al. Automatic climate control for mushroom cultivation using IoT approach. 10th International Conference on System Engineering and Technology (ICSET), Shah Alam, Malaysia: IEEE, 2020; pp.123–128.
[10] Montoya-Ríos A P, García-Mañas F, Guzmán J L, Rodríguez F. Simple tuning rules for feedforward compensators applied to greenhouse daytime temperature control using natural ventilation. Agronomy, 2020; 10(9): 1327.
[11] Azaza M, Tanougast C, Fabrizio R, Mami A. Smart greenhouse fuzzy logic based control system enhanced with wireless data monitoring. ISA Transactions, 2016; 61: 297–307.
[12] Lachouri C E, Mansouri K, Lafifi M M, Belmeguenai A. Adaptive neuro-fuzzy inference systems for modeling greenhouse climate. Int J of Advanced Computer Science and Applications, 2016; 7(1): 96–100.
[13] Pezeshki Z, Mazinani S M. Comparison of artificial neural networks, fuzzy logic and neuro fuzzy for predicting optimization of building thermal consumption: a survey. Artificial Intelligence Review, 2018; 52(1): 495–525.
[14] Wang L, Zhang H H. An adaptive fuzzy hierarchical control for maintaining solar greenhouse temperature. Computers and Electronics in Agriculture, 2018; 155: 251–256.
[15] Lin D, Zhang L J, Xia X H. Hierarchical model predictive control of Venlo-type greenhouse climate for improving energy efficiency and reducing operating cost. Journal of Cleaner Production, 2020; 264: 121513.
[16] Chen W H, You F Q. Semiclosed greenhouse climate control under uncertainty via machine learning and data-driven robust model predictive control. IEEE Transactions on Control Systems Technology, 2021; 30(3): 1186–1197.
[17] Chen L J, Du S F, He Y F, Liang M H, Xu D. Robust model predictive control for greenhouse temperature based on particle swarm optimization. Information Processing in Agriculture, 2018; 5(3): 329–338.
[18] Mahmood F, Govindan R, Bermak A, Yang D, Khadra C, Al-Ansari T. Energy utilization assessment of a semi-closed greenhouse using data-driven model predictive control. Journal of Cleaner Production, 2021; 324: 129172.
[19] Jung D H, Kim H J, Kim J Y, Lee T S, Park S H. Model predictive control via output feedback neural network for improved multi-window greenhouse ventilation control. Sensors, 2020; 20(6): 1756.
[20] Mahmood F, Govindan R, Bermak A, Yang D, Al-Ansari T. Data-driven robust model predictive control for greenhouse temperature control and energy utilisation assessment. Applied Energy, 2023; 343: 121190.
[21] Prokhorenkova L, Gusev G, Vorobev A, Dorogush A V, Gulin A. Catboost: unbiased boosting with categorical features. In: NIPS’18: Proceedings of the 32nd International Conference on Neural Information Processing Systems, Red Hook, NY, USA: Curran Associates Inc., 2018; pp.6639–6649.
[22] Chang W F, Wang X, Yang J, Qin T. An improved CatBoost-based classification model for ecological suitability of blueberries. Sensors, 2023; 23: 1811.
[23] Ge Z W, Feng S, Ma C C, Wei K, Hu K, Zhang W J, et al. Quantifying and comparing the effects of key chemical descriptors on metal-organic frameworks water stability with CatBoost and SHAP. Microchemical Journal, 2024; 196: 109625.
[24] Li L B, Qiao J D, Yu G, Wang L Z, Li H Y, Liao C, et al. Interpretable tree-based ensemble model for predicting beach water quality. Water Research, 2022; 211: 118078.
[25] Nasir N, Kansal A, Alshaltone O, Barneih F, Sameer M, Shanableh A, et al. Water quality classification using machine learning algorithms. Journal of Water Process Engineering, 2022; 48: 102920.
[26] Jia Y, Su Y J, Zhang R, Zhang Z N, Lu Y K, Shi D X, et al. Optimization of an extreme learning machine model with the sparrow search algorithm to estimate spring maize evapotranspiration with film mulching in the semiarid regions of China. Computers and Electronics in Agriculture, 2022; 201: 107298.
[27] Xue J K, Shen B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Systems Science & Control Engineering, 2020; 8(1): 22–34.
[28] Heltona J C, Davis F J. Latin hypercube sampling and the propagation of uncertainty in analyses of complex systems. Reliability Engineering and System Safety, 2003; 81(1): 23–69.
[29] Bulut C, Arslan E. Comparison of the impact of dimensionality reduction and data splitting on classification performance in credit risk assessment. Artificial Intelligence Review, 2024; 57: 252.
[30] Long L H, Shi Q L, Zhang Q J, Hu J D, Zhang H M. Dual-warning model for coal spontaneous combustion temperature prediction and risk classification based on BO-LightGBM. Process Safety and Environmental Protection, 2025; 201: 107624.
[31] Wei X, Rao C J, Xiao X P, Chen L, Goh M. Risk assessment of cardiovascular disease based on SOLSSA-CatBoost model. Expert Systems With Applications, 2023; 219: 119648.
[32] Coser A, Maer-matei M M, Albu C. Predictive models for loan default risk assessment. Economic Computation and Economic Cybernetics Studies and Research, 2019; 53(2): 149–165.
[33] Kotb M H, Ming R. Comparing SMOTE family techniques in predicting insurance premium defaulting using machine learning models. International Journal of Advanced Computer Science and Applications, 2021; 12(9): 621–629.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 International Journal of Agricultural and Biological Engineering

This work is licensed under a Creative Commons Attribution 4.0 International License.
IJABE is an international peer reviewed, open access journal, adopting Creative Commons Copyright Notices as follows.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).