CogITo Smart Journal
Vol. 11 No. 2 (2025): Cogito Smart Journal

Forecasting Medium Rice’s Retail Price with Machine Learning in Gorontalo Province

Giu, Jamal Darusalam (Unknown)
Gaib, Amalan Fadil (Unknown)
Rasyid, Abdul (Unknown)



Article Info

Publish Date
30 Dec 2025

Abstract

The stability of rice prices is essential for food security in Indonesia, particularly in Gorontalo Province where volatility has increased in recent years. This study develops a machine learning-based forecasting framework using Decision Tree, Random Forest, and K-Nearest Neighbors (KNN) to estimate next-day retail prices. A harvest-season indicator was incorporated to capture agricultural seasonal patterns. Data preprocessing included feature engineering, data cleaning, exploratory analysis, and chronological splitting to maintain temporal order. Model performance was assessed using RMSE and MAPE. The optimized KNN model achieved the highest accuracy, with an RMSE of 96.76 and a MAPE of 0.4%, demonstrating its strength in capturing short-term price fluctuations. The integration of seasonal indicators further improved predictive performance compared to univariate approaches, offering practical value for supporting timely policy interventions. This study is limited by its narrow feature set and the absence of external drivers such as weather conditions, production shocks, and distribution disruptions. Future research may incorporate additional exogenous variables or explore deep learning and hybrid ensemble methods to enhance robustness and generalizability.

Copyrights © 2025






Journal Info

Abbrev

cogito

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Education Electrical & Electronics Engineering

Description

CogITo Smart Journal adalah jurnal ilmiah di bidang Ilmu Komputer yang diterbitkan oleh Fakultas Ilmu Komputer Universitas Klabat anggota CORIS (Cooperation Research Inter University) dan IndoCEISS (Indonesian Computer Electronics and Instrumentation Support Society). CogITo Smart Journal dua kali ...