The prediction of extreme greenhouse temperatures to which crops are susceptible is essential in the field of greenhouse planting. It can help avoid heat or freezing damage and economic losses. Therefore, it's important to develop models that can predict them accurately. Due to the lack of extreme temperature data in datasets, it is challenging for models to accurately predict it. In this paper, we propose an improved loss function, which is suitable for a variety of machine learning models. By increasing the weight of extreme temperature samples and reducing the possibility of misjudging extreme temperature as normal, the proposed loss function can enhance the prediction results in extreme situations. To verify the effectiveness of the proposed method, we implement the improved loss function in LightGBM, long short-term memory, and artificial neural network and conduct experiments on a real-world greenhouse dataset. The results show that the performance of models with the improved loss function is enhanced compared to the original models in extreme cases. The improved models can be used to guarantee the timely judgment of extreme temperatures in agricultural greenhouses, thereby preventing unnecessary losses caused by incorrect predictions.
翻译:预测农作物易受极端温室温度影响的极端温室温度对于温室气体种植至关重要,有助于避免热或冻结损害和经济损失。 因此,开发能够准确预测这些温度的模型非常重要。 由于数据集缺乏极端温度数据,模型很难准确预测。 在本文中,我们建议改进损失功能,适合各种机器学习模型。通过提高极端温度样本的重量和减少误判极端温度的可能性,拟议的损失功能可以提高极端情况下的预测结果。为了核实拟议方法的有效性,我们在灯光光仪中执行改进的损失功能、长期记忆和人工神经网络,并在现实世界温室气体数据集上进行实验。结果显示,与极端情况下的原始模型相比,改进损失功能模型的性能得到加强。改进模型可以用来保证及时判断农业温室的极端温度,从而防止不正确的预测造成不必要的损失。