Articles

Prediction of Indian petroleum product prices by using Kalman Filter based Neural Networks

Kiran Zaidi, Ahsan Z Rizvi, Prof. Gaurav Khanna,
Article Date Published : 27 February 2018 | Page No.: 23639-23641 | Google Scholar

Downloads

Download data is not yet available.

Abstract

The experiments are performed over the petroleum product prices data which are downloaded from Indian oil corporation Limited (IOCL) official website. These data are updated on daily basis according to the guidelines from Indian government and the price of international market. Predictions of PP prices are sound interesting as the fluctuations in the PP prices are influencing the stock market prices. We have compared Kalman filter based neural networks (KFNN) with two other well-known neural networks (NNs) training method for the petrol price predictions. Results show that the KFNN training method is converging faster and shows better performance with less error. Therefore KFNN showed effectiveness for PP price predictions. 

Introduction

Petroleum product prices predictions are showing the importance for the economy, and politics [1]. The prices of PP can be directly or indirectly influence the stock market of different countries. Different studies are performed for forecasting PP prices [2,3,4,5,6,7]. Chen et al [2] has compared international oil exchange rate for forecasting PP prices. A genetic algorithm [3] based model is reported for the pattern matching of PP prices. This model predicts the prices based on the price-sheets of the previous years. A soft computing based method [4] is reported for the prediction of PP prices in the western Texas. A wavelet based neural network (NN) [5] is used for daily PP prices changes and performed fitting. A semi supervised learning method is reported to predict monthly PP prices changes. NN and combined compressed sensing based de-noising (CSD) [6] is used to forecast PP prices. Similarly, NN with regression analysis [7] is also reported for PP prices predictions.

PP is the deregulated commodities [1] in many countries including India. Government in India is not responsible for any losses due to Petrol price degradations. But diesel, LPG and kerosene prices are subsidized or directly influenced by the government policies. Kerosene is widely used in rural India for domestic fuel while diesel is used as a fuel for industries and automobiles. Therefore the prices change of diesel and kerosene is strongly monitored by Indian government which is directly affecting the rural and industrial sector. Indian state-run fuel retailers IOCL, Hindustan petroleum (HP), and Bharat petroleum (BP) are revising PP prices twice a month before 16 June 2017. But after this date, a dynamic PP prices scheme is brought by Indian government that the price of petrol and diesel are revising daily at 6 am IST. Smallest change of the international oil price can be passing to retailer to consumer directly by this scheme. Consumer will be more aligned to the market and follow the practice of more advanced markets.

We have introduced Kalman filter based NN (KFNN) [8] for the prediction of Indian petrol prices. We have also compared the results of KFNN with the output of Elman recurrent NN (ERNN) [9] and Recurrent Fuzzy NN (RFNN) [10]. It is observed that KFNN converged fast with less error. Therefore, using KFNN for the weight optimizing of NNs makes fast and accurate PP prices predictions.

Method

Input is petrol price data with window size as

=[123N] (1)

And the output is

= QUOTE _x0001_ (2)

Where, is the node number and QUOTE _x0001_ is the weight connecting input to . An activation function is required at the node for the designed feed forward NN as

()= QUOTE _x0001_ (3)

Bias value is added to the output node and the error is calculated from the substation of target value from the output value .

In this paper, NN weights are optimized by using Kalman filtering (KF) [8]. KF is a prediction correction model and this model is faster and accurate than the typical gradient decent weight corrections models. KF used measurements over the time with noise and can estimates the unknown variables. It is a linear algorithm and the system states are calculated recursively over the stream of the noisy input data. Extended kalman filter (EKF) [8] is used here as a variant of KF and it has differentiable functions of the state transitions and the observation. This model used smaller dimensions of the matrix that decreased the weight training time [8]. Given neurons present in NN and kj are the weights connecting with them at the time . Weights at +1 time is k+1j = kj + Ωkj and the output is kkkk . Where Ωkj and k are the Gaussian process and noises which are defined as

(k) = (Ωkj) = 0 (4)

( (Ωkj) (Ωkj)T) = (kj)𝛿kl (5)

k lTk𝛿kl (6)

is the expectation value and 𝛿kl is the delta function. Kalman gain matrix is defined as

kj = kkj[∑i(ki)Tkiki +k](7)

k+1j =kj + kj + k (8)

k+1j= (I - kj (kj)T)kj+k j(9)

Where is an identity matrix, and kj is the approximate error covariance matrix, kj is a Hamiltonian matrix, k is the error vector, and kj and k are Gaussian process and noises. Weights are corrected at the equation 8 and the quality is estimated at the equation 9.

Results

Data of PP prices are downloaded from IOCL website (https://www.iocl.com/TotalProductList.aspx) and saved in the text format. These data contain prices for petrol, diesel, kerosene and LPG for the city of Delhi, Kolkata, Mumbai and Chennai dated 04-June-2002 to 29-January-2018. It is observed that the price change per month is higher than the daily basis. Data on the daily basis are used to train KFNN which are developed on Python scripts. The performance of KFNN is compared with ERNNs, and RFNNs. About 380 petrol price data are set for training purpose and 20 petrol price data points for the predictions. Table 1 is showing the average training time and epochs for the three types of NNs. In this table KFNN training method takes less epochs and time than the other NNs. Figure 1 is showing the combined plots for the training of the petrol price data with different NNs. Figure 2 is showing the predictions of PP prices where KFNN is showing better accuracy. Table 2 is showing the mean square error (MSE) [8] for NNs reported in this paper. This parameter is used to check the performance of the reported NNs for PP prices predictions. Kalman filter based NNs has shown the best performance in compare to others.

Average training times and epochs for the different types of NNs.

Average MSE for the different types of NNs.

ERNN 0.0189388888889
RFNN 0.00268888888889
KFNN 0.00050138888888

Figure 1.Distribution in groups of patients by the stroke type.

Figure 1.Distribution in groups of patients by the stroke type.

References

References

  1. Ghaffari Ali, Zare Samaneh. A novel algorithm for prediction of crude oil price variation based on soft computing 2009-jul;:531-536. | Google Scholar
  2. Jinliang Zhang, Mingming Tang, Mingxin Tao. Based on Wavelet-Boltzman Neural Network and Kernel Density Estimation Model Predict International Crude Oil Prices 2009. | Google Scholar
  3. Yu Lean, Zhao Yang, Tang Ling. A compressed sensing based AI learning paradigm for crude oil price forecasting 2014-nov;:236-245. | Google Scholar
  4. Godarzi AliAbbasi, Amiri RohollahMadadi, Talaei Alireza, Jamasb Tooraj. Predicting oil price movements: A dynamic Artificial Neural Network approach 2014-may;:371-382. | Google Scholar
  5. Fangmin Xiong, Yusen Cen, Biqing Zeng. Study on the Self-learning Unscented Kalman Filter Algorithm Based on the BP Neural Network 2013-mar;:334-341. | Google Scholar
  6. Achanta Sivanand, Gangashetty SuryakanthV. Deep Elman recurrent neural networks for statistical parametric speech synthesis 2017-oct;:31-42. | Google Scholar
  7. Zhou ShangMing, Xu LiDa. A new type of recurrent fuzzy neural network for modeling dynamic systems 2001-aug;:243-251. | Google Scholar

Author's Affiliation

Copyrights & License

Article Details


Issue: Vol 7 No 02 (2018)
Page No.: 23639-23641
Section: Articles
DOI:

How to Cite

Zaidi, K., Z Rizvi, A., & Khanna, P. G. (2018). Prediction of Indian petroleum product prices by using Kalman Filter based Neural Networks. International Journal of Engineering and Computer Science, 7(02), 23639-23641. Retrieved from http://ijecs.in/index.php/ijecs/article/view/3969

Download Citation

  • HTML Viewed - 505 Times
  • PDF Downloaded - 266 Times
  • XML Downloaded - 0 Times