Prediksi Indeks Harga Konsumen Menggunakan Metode Long Short Term Memory (LSTM) Berbasis Cloud Computing

  • Soffa Zahara Universitas Islam Majapahit
  • Sugianto Universitas Islam Majapahit
  • M. Bahril Ilmiddafiq Universitas Islam Majapahit
Keywords: LSTM, Indeks Harga Konsumen, Inflasi, Cloud Computing


Long Short Term Memory (LSTM) is known as optimized Recurrent Neural Network (RNN) architectures that overcome RNN’s lact about maintaining long period of memories. As part of machine learning networks, LSTM also notable as the right choice for time-series prediction. Currently, machine learning is a burning issue in economic world, abundant studies such predicting macroeconomic and microeconomics indicators are emerge. Inflation rate has been used for decision making for central banks also private sector. In Indonesia, CPI (Consumer Price Index) is one of best practice inflation indicators besides Wholesale Price Index and The Gross Domestic Product (GDP). Since CPI data could be used as a direction for next inflation move, we conducted CPI prediction model using LSTM method. The network model input consists of 28 variables of staple price in Surabaya and the output is CPI value, also the entire development of prediction model are done in Amazon Web Service (AWS) Cloud. In the interest of accuracy improvement, we used several optimization algorithm i.e. Stochastic Gradient Descent (sgd), Root Mean Square Propagation (RMSProp), Adaptive Gradient(AdaGrad), Adaptive moment (Adam), Adadelta, Nesterov Adam (Nadam) and Adamax. The results indicate that Nadam has 4,008 RMSE’s value, less than other algorithm which indicate the most accurate optimization algorithm to predict CPI value.


Download data is not yet available.


D. Statistik, 2016, Metadata Indeks Harga Konsumen, [Online] (Updated Maret 2016) Tersedia di : Harga Konsumen (IHK-IND)2016.pdf. [Accesses 10 Juni 2019]

ILO/IMF/OECD/UNECE/Eurostat/The World Bank. 2004. Consumer price index manual: Theory and Practice.1st ed. Geneva : Publications Bureau

L. Deng, O. M. Way, D. Yu, and O. M. Way. 2014. Deep Learning : Methods and Applications. Foundations and Trends in Signal Processing. vol. 7. no. 2013. pp. 197–387.

Hochreiter and J. Schmidhuber.1997. Long short-term memory. Neural Computation. vol. 9. no. 8. pp. 1735–1780.

T. Gao, Y. Chai, and Y. Liu. 2018. Applying Long Short Term Momory Neural Networks for Predicting Stock Closing Price. 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS). pp. 3–6. Beijing, China 24-26 Nov. 2017

C. Jeenanunta, R. Chaysiri, and L. Thong. Stock Price Prediction With Long Short - Term Memory Recurrent Neural Network. 2018 Int. Conf. Embed. Syst. Intell. Technol. Int. Conf. Inf. Commun. Technol. Embed. Syst., pp. 1–7. Khon Kaen, Thailand 7-9 May 2018

K. Dewi, P. P. Adikara, and S. Adinugroho. Prediksi Indeks Harga Konsumen ( IHK ) Kelompok Perumahan , Air , Listrik , Gas Dan Bahan Bakar Menggunakan Metode Support Vector Regression. Jurnal Pengembangan Teknlogi Informasi dan Ilmu Komputer vol. 2, no. 10, pp. 3856–3862, 2018.

I. A. Budiastuti, S. M. S. Nugroho, and M. Hariadi. Predicting daily consumer price index using support vector regression method. QiR 2017 - 2017 15th Int. Conf. Qual. Res. Int. Symp. Electr. Comput. Eng. Nusa Dua, Indonesia 24-27 July 2017

A. W. Services. Amazon Elastic Compute Cloud User Guide for Linux Instances. [Online] (Updated 2019) Tersedia di : [Accesses 20 Juni 2019

R. Fu, Z. Zhang, and L. Li. Using LSTM and GRU Neural Network Methods for Traffic Flow Prediction. 2016 31st Youth Academic Annual Conference of Chinese Association of Automation (YAC). Wuhan, China 11-13 Nov. 2016

S. Ruder. An overview of gradient descent optimization. [Online](Updated 19 Jan 2016) Tersedia di : [Accesses 19 Juni 2019]

Artikel Teknologi Informasi