z-logo
open-access-imgOpen Access
A Method for Greenhouse Temperature Prediction Based on XGBoost Algorithm and Linear Residual Model
Author(s) -
Huijin Han
Publication year - 2021
Publication title -
converter
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.104
H-Index - 1
ISSN - 0010-8189
DOI - 10.17762/converter.271
Subject(s) - residual , support vector machine , greenhouse , mean squared error , algorithm , computer science , transformation (genetics) , logarithm , linear regression , data mining , mathematics , artificial intelligence , statistics , machine learning , mathematical analysis , biochemistry , chemistry , gene , horticulture , biology
Temperature prediction is significant for precise control of the greenhouse environment. Traditional machine learning methods usually rely on a large amount of data. Therefore, it is difficult to make a stable and accurate prediction based on a small amount of data. This paper proposes a temperature prediction method for greenhouses. With the prediction target transformed to the logarithmic difference of temperature inside and outside the greenhouse,the method first uses XGBoost algorithm to make a preliminary prediction. Second, a linear model is used to predict the residuals of the predicted target. The predicted temperature is obtained combining the preliminary prediction and the residuals. Based on the 20-day greenhouse data, the results show that the target transformation applied in our method is better than the others presented in the paper. The MSE (Mean Squared Error) of our method is 0.0844, which is respectively 20.7%, 76.0%, 10.2%, and 95.3% of the MSE of LR (Logistic Regression), SGD (Stochastic Gradient Descent), SVM (Support Vector Machines), and XGBoost algorithm. The results indicate that our method significantly improves the accuracy of the prediction based on the small-scale data.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here