LSTM-Based Gasoline Price Prediction - An Example of Gasoline 95# in Beijing
DOI:
https://doi.org/10.54097/gg6zvt07Keywords:
LSTM; Gasoline Price; Prediction Accuracy; Time Series Analysis.Abstract
Gasoline, as one of the indispensable energy sources in the global economy, the stability of its price has an important impact on national energy security and economic development. This study aims to improve the accuracy of gasoline price prediction through the use of Long Short-Term Memory Network (LSTM). By collecting and analyzing the historical price data of No. 95 gasoline in Beijing, the author constructed a prediction model based on LSTM, which is particularly suitable for dealing with long-term dependence in time series data. By comparing their performance to the traditional Recurrent Neural Networks (RNN) and Convolutional Neural Networks (CNN), LSTM demonstrates its advantages in processing complicated time series data. The validity of the model is verified by several evaluation metrics, including mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE). The results of the study indicate that the LSTM model shows high accuracy and reliability in predicting gasoline prices. In addition, future work will explore the introduction of multivariate analysis and hybrid network models to further the accuracy of the predictions and its generalization ability.
Downloads
References
Wang M, Chen Y, Tian L, et al. Fluctuation behavior analysis of international crude oil and gasoline price based on complex network perspective. Applied Energy, 2016, 175: 109-127. DOI: https://doi.org/10.1016/j.apenergy.2016.05.013
Rahman Z U, Khattak S I, Ahmad M, et al. A disaggregated-level analysis of the relationship among energy production, energy consumption and economic growth: Evidence from China. Energy, 2020, 194: 116836. DOI: https://doi.org/10.1016/j.energy.2019.116836
Hochreiter S, Schmidhuber J. Long short-term memory. Neural computation, 1997, 9(8): 1735-1780. DOI: https://doi.org/10.1162/neco.1997.9.8.1735
Yu Y, Si X, Hu C, et al. A review of recurrent neural networks: LSTM cells and network architectures. Neural computation, 2019, 31(7): 1235-1270. DOI: https://doi.org/10.1162/neco_a_01199
Burgueño L, Cabot J, Gérard S. An LSTM-based neural network architecture for model transformations. 2019 ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems (MODELS). IEEE, 2019: 294-299. DOI: https://doi.org/10.1109/MODELS.2019.00013
Dai Z, Heckel R. Channel normalization in convolutional neural network avoids vanishing gradients. arxiv preprint arxiv:1907.09539, 2019.
Nar K, Sastry S. Step size matters in deep learning. Advances in Neural Information Processing Systems, 2018, 31.
Wang W, Lu Y. Analysis of the mean absolute error (MAE) and the root mean square error (RMSE) in assessing rounding model. IOP conference series: materials science and engineering. IOP Publishing, 2018, 324: 012049. DOI: https://doi.org/10.1088/1757-899X/324/1/012049
Mehtab S, Sen J. Stock price prediction using CNN and LSTM-based deep learning models. 2020 International Conference on Decision Aid Sciences and Application (DASA). IEEE, 2020: 447-453. DOI: https://doi.org/10.1109/DASA51403.2020.9317207
Sherstinsky A. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. Physica D: Nonlinear Phenomena, 2020, 404: 132306. DOI: https://doi.org/10.1016/j.physd.2019.132306
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Highlights in Science, Engineering and Technology

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







