5.099 2.258 1.831 4.294
Predictive
value
short 0.127 0.357 0.267 0.588
long 0.179 0.338 0.422 0.721
As can be seen from Figure, that both the ARIMA
model and the LSTM model curve fit poorly. How-
ever, compared with LSTM model, although the
MAPE of ARIMA model from January 1st to January
30th is 0.0229, which shows great accuracy, the pre-
dicted fluctuation trend changes poorly, showing a
smooth curve. Even the error of the ARIMA model is
relatively small, it does not reflect the trend of the
pork prices. On the other hand, if RMSE is used as
the model indicator, the RSME of the ARIMA model
is about 1.419%, while the RMSE of the LSTM
model in this paper is just about 0.338%. In conclu-
sion, all signs point to that either prediction accuracy
or the trend prediction, LSTM outperforms ARIMA
in all aspects. Besides, both models are better for
short-term prediction than long-term prediction,
which is the same as other papers.
3 CONCLUSION
In general, in the context of covid-19 and the devel-
opment of computer science and digital economy, this
paper focuses on finding a better model for agricul-
ture price prediction, hopping offering some guidance
to governments, farmers and buyers. In this paper, we
discussed the effect of the LSTM model in pork price
prediction and compared with the traditional ARIMA
model. It is worth mentioning that this paper has col-
lected a whole dataset of pork prices, including 16
variables and more than 28,000 data, which is not
seen in previous research, which is also the biggest
innovation of this paper. According to the empirical
analysis, the LSTM model outperforms the ARIMA
model in both model accuracy and trend prediction.
Especially in predicting peaks and trends, it is far bet-
ter than traditional time series forecasting models.
Compared with previous studies, the accuracy of the
long-term prediction of the model in this paper has
also been greatly improved.
However, there are still some aspects can be im-
proved. The first is about data collection. Price fluc-
tuates violently due to the covid-19 and the swine fe-
ver, which affects the prediction accuracy of LSTM
model. Subsequent research can focus on collecting
the data in longer time span which can better consider
the epidemic factor. Secondly, the dimensionality re-
duction method adopted is relatively simple. Further
research can make improvements in this regard. In
general, this paper has made certain innovations in the
selection of eigenvalues predicted by the LSTM
model, offering guideline for LSTM in the field of ag-
ricultural price prediction and national price manage-
ment.
REFERENCES
Akbari Asanjan, Ata, et al. "Short‐term precipitation fore-
cast based on the PERSIANN system and LSTM recur-
rent neural networks." Journal of Geophysical Re-
search: Atmospheres 123.22 (2018): 12-543.
Benvenuto, Domenico, et al. "Application of the ARIMA
model on the COVID-2019 epidemic dataset." Data in
brief 29 (2020): 105340.
Cho, Kyunghyun, et al. "Learning phrase representations
using RNN encoder-decoder for statistical machine
translation." arXiv preprint arXiv:1406.1078 (2014).
Fattah, Jamal, et al. "Forecasting of demand using ARIMA
model." International Journal of Engineering Business
Management 10 (2018): 1847979018808673.
Gray, Richard S. "Agriculture, transportation, and the
COVID‐19 crisis." Canadian Journal of Agricultural
Economics/Revue canadienne d'agroeconomie 68.2
(2020): 239-243.
Jha, Girish K., and Kanchan Sinha. "Agricultural price fore-
casting using neural network model: An innovative in-
formation delivery system." Agricultural Economics
Research Review 26.347-2016-17087 (2013): 229-239.
Kaur, Manpreet, Heena Gulati, and Harish Kundra. "Data
mining in Agriculture on crop price prediction: Tech-
niques an Applications. "International Journal of Com-
puter Applications99.12 (2014): 1-3.
Li, Gan-qiong, Shi-wei Xu, and Zhe-min Li. "Short-term
price forecasting for agro-products using artificial neu-
ral networks." Agriculture and Agricultural Science
Procedia 1 (2010): 278-287.
Mouloudj, Kamel, Ahmed Chemseddine Bouarar, and Ha-
mid Fechit. "The impact of COVID-19 pandemic on
food security." Les cahiers du CREAD 36.3 (2020):
159-184.