Comparison of Coffee Bean Sales Predictions at the Ketiara Coffee Traders Cooperative (KOPEPI) Using Linear Regression and Random Forest Methods
Journal of Advanced Computer Knowledge and Algorithms · 01.04.2026 · 3 (2) · 82-89
DOI: 10.29103/jacka.v3i2.25974 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Advanced Computer Knowledge and Algorithms, online erschienen am 01.04.2026. Verfasst von Nada Syadzwina und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
Most of Indonesia's land is used for agriculture and plantations because it is an agrarian country. Harvests or agricultural products can be exported to help the country's economic recovery. Coffee, the most traded tropical crop in the world, is one of the most valuable commodities. Approximately 25 million farming households contribute up to 80% of global coffee production (FAO Organizational 2023). Indonesia's coffee industry continues to experience significant annual growth. To optimize their production and distribution, Indonesian coffee producers must understand coffee bean sales trends. This study compares two methods for predicting coffee bean sales at the KOPEPI Ketiara Aceh Tengah Cooperative using Linear Regression and Random Forest methods. The research methods used in this study are data collection and system design. The results show a comparison of the Linear Regression and Random Forest methods in predicting coffee bean sales. Linear regression provides fairly good accuracy for the price variable with low MAPE values (3.35%–4.55%) and MAE that is still within reasonable limits, but produces large prediction errors for the export variable with high MAPE (67.84%–80.65%) and large MAE (5982–7960). In contrast, Random Forest shows superior performance with very low MAPE (2.69%–3.46%) and smaller MAE (4275–6038) on price variables, as well as more stable and consistent export predictions even though the MAPE values are still quite high (54.25%–84.97%). Overall, Random Forest is a more appropriate model to use because it provides accurate price predictions and more consistent export performance compared to Linear Regression.
Zitieren
APA
Syadzwina, N., Hamdhana, D., & Razi, A. (2026). Comparison of Coffee Bean Sales Predictions at the Ketiara Coffee Traders Cooperative (KOPEPI) Using Linear Regression and Random Forest Methods. Journal of Advanced Computer Knowledge and Algorithms, 3(2), 82-89. https://doi.org/10.29103/jacka.v3i2.25974
Vancouver
Syadzwina N, Hamdhana D, Razi A. Comparison of Coffee Bean Sales Predictions at the Ketiara Coffee Traders Cooperative (KOPEPI) Using Linear Regression and Random Forest Methods. Journal of Advanced Computer Knowledge and Algorithms. 2026;3(2):82-89. doi:10.29103/jacka.v3i2.25974
BibTeX
@article{Syadzwina2026,
author = {Syadzwina, Nada and Hamdhana, Defry and Razi, Ar},
title = {Comparison of Coffee Bean Sales Predictions at the Ketiara Coffee Traders Cooperative (KOPEPI) Using Linear Regression and Random Forest Methods},
journal = {Journal of Advanced Computer Knowledge and Algorithms},
year = {2026},
volume = {3},
number = {2},
pages = {82--89},
doi = {10.29103/jacka.v3i2.25974}
}
EUVIMED