Analysis of the Comparison Between Linear Regression, Random Forest, and Logistic Regression Methods in Predicting Crude Palm Oil (CPO) Price
DOI:
10.47709/brilliance.v3i2.3334Keywords:
random forest, linear regression, locgistic regressionDimension Badge Record
Abstract
This study compared the predictive capabilities of linear regression, random forest, and logistic regression models for forecasting crude palm oil prices. Utilizing historical data from 02/11/2020 to 13/11/2023, the dataset underwent training and testing with three scenarios: 90:10, 80:20, and 70:30. Evaluation metrics, including RMSE, MSE, and MAPE, assessed model performance. Each method had unique strengths and weaknesses, and the choice depended on application needs. The goal was to improve decision accuracy in predicting crude palm oil price trends. In the 90:10 scenario, random forest outperformed linear and logistic regression, yielding smaller MSE (43948.56), MAE (80.37), and RMSE (209.64). Similarly, in the 80:20 scenario, random forest had smaller MSE (137787.61), MAE (106.38), and RMSE (371.20). In the 70:30 scenario, random forest showed smaller MSE (107582.32), MAE (104.13), and RMSE (328). Overall, random forest consistently demonstrated better performance than linear and logistic regression.
Abstract viewed = 250 times
References
Anggrawan, A., Azmi, N., Bumigora, U., & Anthonyangrawan, I. (2022). Prediksi Penjualan Produk Unilever Menggunakan Metode Regresi Linear Sales Prediction of Unilever Products using the Linear Regression Method. Jurnal Bumigora Information Technology (BITe), 4(2), 123–132. https://doi.org/10.30812/bite.v4i2.2416
Des Suryani, Mutia Fadhilla, & Ause Labellapansa. (2022). Indonesian Crude Oil Price (ICP) Prediction Using Multiple Linear Regression Algorithm. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 6(6), 1057–1063. https://doi.org/10.29207/resti.v6i6.4590
Emioma, C. C., & Edeki, S. O. (2021). Stock price prediction using machine learning on least-squares linear regression basis. Journal of Physics: Conference Series, 1734(1). https://doi.org/10.1088/1742-6596/1734/1/012058
Fitri, E. (2023). Analisis Perbandingan Metode Regresi Linier, Random Forest Regression dan Gradient Boosted Trees Regression Method untuk Prediksi Harga Rumah. JOURNAL OF APPLIED COMPUTER SCIENCE AND TECHNOLOGY (JACOST), 4(1), 2723–1453. https://doi.org/10.52158/jacost.491
Harianti Hasibuan, L., Musthofa, S., Studi Matematika, P., & Imam Bonjol Padang, U. (2022). Journal of Science and Technology Penerapan Metode Regresi Linear Sederhana Untuk Prediksi Harga Beras di Kota Padang. In Journal of Science and Technology (Vol. 2, Issue 1).
Januardi Ababil, O., Adi Wibowo, S., & Zulfia Zahro, H. (2022). PENERAPAN METODE REGRESI LINIER DALAM PREDIKSI PENJUALAN LIQUID VAPE DI TOKO VAPOR PANDAAN BERBASIS WEBSITE. In Jurnal Mahasiswa Teknik Informatika) (Vol. 6, Issue 1).
Kriswantara, B., Kurniawati, K., & Pardede, H. F. (2021). Prediksi Harga Mobil Bekas dengan Machine Learning. Syntax Literate?; Jurnal Ilmiah Indonesia, 6(5), 2100. https://doi.org/10.36418/syntax-literate.v6i5.2716
Kumar, S. A. (2022). STOCK MARKET PREDICTION USING LINEAR REGRESSION ALGORITHM BY COMPARING WITH ARTIFICIAL NEURAL NETWORK ALGORITHM TO IMPROVE ACCURACY. 12, 4741–4747.
M Zaim Shahrel, Sofianita Mutalib, S. A.-R. (2021). PriceCop – Price Monitor and Prediction Using Linear Regression and LSVM-ABC Methods for E-commerce Platform. International Journal of Information Engineering and Electronic Business, 13(1), 1–14. https://doi.org/10.5815/ijieeb.2021.01.01
Mahendra Sanusi, R., Siswo, A., Ansori, R., Wijaya, R., & Si, S. (2020). PREDIKSI HARGA RUMAH DI KOTA BANDUNG BAGIAN TIMUR DENGAN MENGGUNAKAN METODE REGRESI PREDICTION OF HOUSE PRICES IN THE EAST BANDUNG CITY USING THE REGRESSION METHOD.
Mai, P., Tarigan, S., Tata Hardinata, J., Qurniawan, H., Safii, M., Winanjaya, R., Studi, P., Informasi, S., Tunas, S., & Pematangsiantar, B. (2022). IMPLEMENTASI DATA MINING MENGGUNAKAN ALGORITMA APRIORI DALAM MENENTUKAN PERSEDIAAN BARANG (STUDI KASUS?: TOKO SINAR HARAHAP) (Vol. 12, Issue 2). https://jurnal.umj.ac.id/index.php/just-it/index
Miftahuljannah, Aswan Supriyadi Sunge, & Ahmad Turmudi Zy. (2023). Analisis Prediksi Penjualan Dengan Metode Regresi Linear Di Pt. Eagle Industry Indonesia. Jurnal Informatika Teknologi Dan Sains (Jinteks), 5(3), 398–403. https://doi.org/10.51401/jinteks.v5i3.3325
Paliling, Y., Fathurahman, M., & Wahyuningsih, S. (2023). Multinomial Logistic Regression To Model The Combination Of Phdi Status And Hdi Status Of Districts/Cities In Kalimantan Island. Jurnal Matematika, Statistika Dan Komputasi, 19(3), 460–472. https://doi.org/10.20956/j.v19i3.22299
Poornima, S. P., Priyanka, C. N., Reshma, P., Jaiswal, S. K., & Surendra Babu, K. N. (2019). Stock price prediction using KNN and linear regression. International Journal of Engineering and Advanced Technology, 8(5 SpecialIssue), 142–145. https://doi.org/10.35940/ijeat.e1030.0585s19
Putra, P. H., Azanuddin, A., Purba, B., & Dalimunthe, Y. A. (2023). Random forest and decision tree algorithms for car price prediction. Jurnal Matematika Dan Ilmu Pengetahuan Alam LLDikti Wilayah 1 (JUMPA), 3(2), 81–89. https://doi.org/10.54076/jumpa.v3i2.305
Rahmawati, E. (2022). IMPLEMENTASI POWER BI UNTUK DASHBOARD ANALISIS HASIL RATING DAN REVIEW PRODUK ELEKTRONIK DI LAZADA.COM (Vol. 14, Issue 1).
Rizkya, D., Roosaputri, H., & Dewi, C. (2023). Perbandingan Algoritma ARIMA, Prophet, dan LSTM dalam Prediksi Penjualan Tiket Wisata Taman Hiburan (Studi Kasus: Saloka Theme Park). 4(3), 507–517.
Saadah, S., & Salsabila, H. (2021). Jurnal Politeknik Caltex Riau Prediksi Harga Bitcoin Menggunakan Metode Random Forest (Studi Kasus: Data Acak Pada Awal Masa Pandemic Covid-19). In Jurnal Komputer Terapan (Vol. 7, Issue 1). https://jurnal.pcr.ac.id/index.php/jkt/
Valiant, K., Lukito, Y., & Santosa, R. G. (2019). Sistem Prediksi Harga Saham LQ45 Dengan Random Forest Classifier. 2. https://doi.org/10.21460/jutei.2019.32.187
Yusuf Supriyanto, M. Ilhamsyah, U. E. (2022). Prediksi Harga Minyak Kelapa Sawit Menggunakan Linear Regression Dan Random Forest. Vol. 8, No.
Downloads
ARTICLE Published HISTORY
How to Cite
Issue
Section
License
Copyright (c) 2023 Surya Wijaya, Fauziah
![Creative Commons License](http://i.creativecommons.org/l/by-nc/4.0/88x31.png)
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.