Comparison of Linear Regression and Random Forest Algorithms for Premium Rice Price Prediction (Case Study: West Java)

  • Muchtar I
  • Afiyati A
N/ACitations
Citations of this article
84Readers
Mendeley users who have this article in their library.

Abstract

The staple food commodity that is crucial to the Indonesian society is rice. Rice often experiences fluctuations in prices. These fluctuations can be predicted using machine learning methods. The aim of this research is to evaluate the accuracy of machine learning algorithms in predicting the premium rice prices in the West Java Province, Indonesia. Two methods used in this study are Linear Regression and Random Forest. The dataset used consists of 6096 records from the Indonesian Food Commodity Management Agency. The evaluation results show that the Random Forest algorithm has an accuracy rate of 98.69%, while the Linear Regression algorithm has an accuracy rate of 95.08%. Based on these results, it is concluded that the Random Forest algorithm is more effective in predicting premium rice prices in the West Java Province compared to the Linear Regression algorithm.

Cite

CITATION STYLE

APA

Muchtar, I. R., & Afiyati, A. (2024). Comparison of Linear Regression and Random Forest Algorithms for Premium Rice Price Prediction (Case Study: West Java). Jurnal Indonesia Sosial Teknologi, 5(7), 3122–3132. https://doi.org/10.59141/jist.v5i7.1184

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free