School of Mathematics and Statistics, Beijing Technology and Business University, Beijing, China.
Beijing Digital Agriculture Rural Promotion Center, Beijing Municipal Bureau of Agriculture and Rural Affairs, Beijing, China.
PLoS One. 2024 Jul 11;19(7):e0304881. doi: 10.1371/journal.pone.0304881. eCollection 2024.
The vegetable sector is a vital pillar of society and an indispensable part of the national economic structure. As a significant segment of the agricultural market, accurately forecasting vegetable prices holds significant importance. Vegetable market pricing is subject to a myriad of complex influences, resulting in nonlinear patterns that conventional time series methodologies often struggle to decode. In this paper, we exploit the average daily price data of six distinct types of vegetables sourced from seven key wholesale markets in Beijing, spanning from 2009 to 2023. Upon training an LSTM model, we discovered that it exhibited exceptional performance on the test dataset. Demonstrating robust predictive performance across various vegetable categories, the LSTM model shows commendable generalization abilities. Moreover, LSTM model has a higher accuracy compared to several machine learning methods, including CNN-based time series forecasting approaches. With R2 score of 0.958 and MAE of 0.143, our LSTM model registers an enhancement of over 5% in forecast accuracy relative to conventional machine learning counterparts. Therefore, by predicting vegetable prices for the upcoming week, we envision this LSTM model application in real-world settings to aid growers, consumers, and policymakers in facilitating informed decision-making. The insights derived from this forecasting research could augment market transparency and optimize supply chain management. Furthermore, it contributes to the market stability and the balance of supply and demand, offering a valuable reference for the sustainable development of the vegetable industry.
蔬菜产业是社会的重要支柱,也是国民经济结构中不可或缺的一部分。作为农业市场的重要组成部分,准确预测蔬菜价格具有重要意义。蔬菜市场价格受到众多复杂因素的影响,呈现出非线性模式,这使得传统的时间序列方法往往难以解析。在本文中,我们利用了 2009 年至 2023 年来自北京七个主要批发市场的六种不同类型蔬菜的平均日价格数据。在训练 LSTM 模型后,我们发现它在测试数据集上表现出色。该 LSTM 模型在各种蔬菜类别上均表现出稳健的预测性能,具有出色的泛化能力。此外,与包括基于 CNN 的时间序列预测方法在内的几种机器学习方法相比,LSTM 模型具有更高的准确性。我们的 LSTM 模型的 R2 得分为 0.958,MAE 为 0.143,与传统机器学习方法相比,预测准确性提高了 5%以上。因此,通过预测未来一周的蔬菜价格,我们设想在实际应用中使用此 LSTM 模型,以帮助种植者、消费者和政策制定者做出明智的决策。该预测研究的见解可以提高市场透明度和优化供应链管理。此外,它有助于市场稳定和供需平衡,为蔬菜产业的可持续发展提供了有价值的参考。