Perancangan Model Peramalan Jangka Pendek Harga Komoditas Pertanian di Indonesia Menggunakan Machine Learning


Authors

  • Muhammad Ammar Erdianto Institut Teknologi Bandung, Bandung, Indonesia

DOI:

https://doi.org/10.30865/klik.v3i4.640

Keywords:

Food Commodities; Google Trends; gradient boosting; Linear Regression; Machine Learning Banjir Desa Pahlawan; Random Forest; Regression Tree

Abstract

Agricultural commodity prices fluctuations often cause losses, especially for middle to lower-class people. Predicting future prices is essential for formulating policies for each entity related to agricultural commodities. This study aims to develop a short-term forecasting model for the prices of ten commodities using a machine learning-based method. The predictor variable used was the keyword search index from Google Trends, which represents the public interest in the related commodity. The determination of keywords was done using the web scraping method on various news channels in Indonesia. Before entering the modeling stage, all variables undergone pre-processing and optimal lag selection. The alternative models used were linear regression, random forest, gradient boosting, and regression trees, which were several models based on machine learning. Model implementation measured using the MAPE score has accurate performance with seven out of ten commodities having a value below 10%. Compared with previous studies, the proposed model performs better with lower MAPE values. The proposed model is expected to be a new input for policy-making by the government, business players, and consumers related to agricultural commodities to help reduce price fluctuations.

Downloads

Download data is not yet available.

References

H. Huka, H. Huka, C. Ruoja, dan A. Mchopa, “Price Fluctuation of Agricultural Products and its Impact on Small Scale Farmers Development: Case Analysis from Kilimanjaro Tanzania,” European Journal of Business and Management, vol. 6, no. 36, hlm. 155–160, Nov 2014.

Y. Zhang dan S. Na, “A Novel Agricultural Commodity Price Forecasting Model Based on Fuzzy Information Granulation and MEA-SVM Model,” 2018, doi: 10.1155/2018/2540681.

Z. Wang, O. Kwon, dan F. Liu, “Applying Keyword Analysis to Predicting Agriculture Product Price Index: The Case of the Chinese Farming Market,” Asia Pacific Journal of Business Review, vol. 1, no. 1, hlm. 1–22, Agu 2016, doi: 10.20522/apjbr.2016.1.1.1.

J. Kim, M. Cha, dan J. G. Lee, “Nowcasting commodity prices using social media,” PeerJ Comput Sci, vol. 2017, no. 7, 2017, doi: 10.7717/peerj-cs.126.

K. Sukiyono dan M. Janah, “Forecasting Model Selection of Curly Red Chili Price at Retail Level,” Indonesian Journal of Agricultural Research, vol. 2, no. 1, hlm. 1–12, Mar 2019, doi: 10.32734/injar.v2i1.859.

S. Nahmias dan T. Olsen, “Production and operations analysis?: strategy, quality, analytics, application,” hlm. 820, 2015.

G. Q. Li, S. W. Xu, dan Z. M. Li, “Short-term price forecasting for agro-products using artificial neural networks,” dalam Agriculture and Agricultural Science Procedia, 2010, vol. 1, hlm. 278–287. doi: 10.1016/j.aaspro.2010.09.035.

C. Elleby, I. P. Domínguez, M. Adenauer, dan G. Genovese, “Impacts of the COVID-19 Pandemic on the Global Agricultural Markets,” Environ Resour Econ (Dordr), vol. 76, no. 4, hlm. 1067–1079, Agu 2020, doi: 10.1007/s10640-020-00473-6.

Benkachcha. S, Benhra. J, dan E. Hassani. H, “Causal Method and Time Series Forecasting model based on Artificial Neural Network,” Int J Comput Appl, vol. 75, no. 7, hlm. 37–42, Agu 2013, doi: 10.5120/13126-0482.

V. Gosasang, W. Chandraprakaikul, dan S. Kiattisin, “A comparison of traditional and neural networks forecasting techniques for container throughput at bangkok port,” Asian Journal of Shipping and Logistics, vol. 27, no. 3, hlm. 463–482, 2011, doi: 10.1016/S2092-5212(11)80022-2.

B. Wang dkk., “Research on Hybrid Model of Garlic Short-term Price Forecasting based on Big Data,” Computers, Materials & Continua, vol. 57, no. 2, hlm. 283–296, Jan 1970, doi: 10.32604/CMC.2018.03791.

M. Ba?bura, D. Giannone, M. Modugno, dan L. Reichlin, “Now-Casting and the Real-Time Data Flow,” Handbook of Economic Forecasting, vol. 2, hlm. 195–237, Jan 2013, doi: 10.1016/B978-0-444-53683-9.00004-9.

J. Kim, M. Cha, dan J. G. Lee, “Nowcasting commodity prices using social media,” PeerJ Comput Sci, vol. 2017, no. 7, 2017, doi: 10.7717/peerj-cs.126.

J. M. Barros dkk., “The validity of google trends search volumes for behavioral forecasting of national suicide rates in Ireland,” Int J Environ Res Public Health, vol. 16, no. 17, Sep 2019, doi: 10.3390/ijerph16173201.

Y. Carrière-Swallow dan F. Labbé, “Nowcasting with Google Trends in an Emerging Market,” J Forecast, vol. 32, no. 4, hlm. 289–298, Jul 2013, doi: 10.1002/FOR.1252.

A. Ross, “Nowcasting with Google Trends: a keyword selection method,” Fraser of Allander Economic Commentary, 2013.

H. Jiang, “Machine learning fundamentals?: A concise introduction,” Cambridge University Press, hlm. 423, 2021.

N. D. Muchisha, N. Tamara, A. Andriansyah, dan A. M. Soleh, “Nowcasting Indonesia’s GDP Growth Using Machine Learning Algorithms,” Indonesian Journal of Statistics and Its Applications, vol. 5, no. 2, hlm. 355–368, Jun 2021, doi: 10.29244/ijsa.v5i2p355-368.

E. Vargiu dan M. Urru, “Exploiting web scraping in a collaborative filtering- based approach to web advertising,” Artif Intell Res, vol. 2, no. 1, hlm. 44, Des 2012, doi: 10.5430/air.v2n1p44.

V. Krotov, L. Johnson, dan L. Silva, “Tutorial: Legality and Ethics of Web Scraping,” Communications of the Association for Information Systems, vol. 47, no. 1, hlm. 22, Des 2020, doi: 10.17705/1CAIS.04724.

S. Rose, D. Engel, N. Cramer, dan W. Cowley, “Automatic Keyword Extraction from Individual Documents,” Text Mining: Applications and Theory, hlm. 1–20, Mar 2010, doi: 10.1002/9780470689646.CH1.

G. Q. Li, S. W. Xu, dan Z. M. Li, “Short-term price forecasting for agro-products using artificial neural networks,” dalam Agriculture and Agricultural Science Procedia, 2010, vol. 1, hlm. 278–287. doi: 10.1016/j.aaspro.2010.09.035.

B. F. Darst, K. C. Malecki, dan C. D. Engelman, “Using recursive feature elimination in random forest to account for correlated variables in high dimensional data,” BMC Genet, vol. 19, Sep 2018, doi: 10.1186/s12863-018-0633-8.

B. Neal dkk., “A Modern Take on the Bias-Variance Tradeoff in Neural Networks,” Okt 2018, doi: 10.48550/arxiv.1810.08591.

C. D. (Colin D. Lewis, “Industrial and business forecasting methods?: a practical guide to exponential smoothing and curve fitting,” hlm. 143, 1982.

G. James, D. Witten, T. Hastie, dan R. Tibshirani, “An Introduction to Statistical Learning with Applications in R Second Edition,” 2021.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Perancangan Model Peramalan Jangka Pendek Harga Komoditas Pertanian di Indonesia Menggunakan Machine Learning

Dimensions Badge

ARTICLE HISTORY


Published: 2023-02-28
Abstract View: 1658 times
PDF Download: 2026 times

How to Cite

Erdianto, M. A. (2023). Perancangan Model Peramalan Jangka Pendek Harga Komoditas Pertanian di Indonesia Menggunakan Machine Learning. KLIK: Kajian Ilmiah Informatika Dan Komputer, 3(4), 338-346. https://doi.org/10.30865/klik.v3i4.640