Analysis and Implementation of Linear Regression and Decision Tree Methods to Predict Sales at Rayyan Bakery, Simpang Marbau

Natari Dia Alika Hidayah, Ibnu Rasyid Munthe, Angga Putra Juledi, Marnis Nasution

Abstract


The development of information technology and data analytics has encouraged business actors to leverage historical data as a basis for decision-making. In the small and medium enterprise (SME) sector, particularly in the culinary field, the ability to predict sales is a crucial aspect of production planning and stock management to ensure operational efficiency. Rayyan Bakery Simpang Marbau, as a bakery SME, faces challenges due to fluctuating sales that have traditionally been managed based on experience rather than systematic data analysis. The main problem addressed in this study is the absence of a data-driven sales prediction method that can assist the business owner in estimating sales accurately. Therefore, a predictive approach that utilizes historical sales data is required to support managerial decision-making. This study employs linear regression and decision tree methods. The analyzed data consist of historical sales records of Rayyan Bakery Simpang Marbau over a specific period. Linear regression is used to model the linear relationship between sales variables, while the decision tree captures non-linear patterns and produces easily interpretable decision rules. The performance of both methods is analyzed and compared based on the accuracy of the predictions they generate. The results indicate that both linear regression and decision tree methods can be effectively used to predict sales; however, the decision tree provides greater flexibility in capturing fluctuating sales patterns. These findings are expected to assist Rayyan Bakery in production planning and stock management, as well as serve as a reference for applying sales prediction methods in similar SMEs.

Keywords


analysis; bakery; decision tree; linear regression; prediction; sales

Full Text:

PDF

References


A. Mei Sarah, B. Kurniadi, and E. Warsini, “Implementasi Metode Regresi Linier dalam memprediksi Penyakit Anemia Secara Dini,” J. Tek. (Teknologi Komput. dan Sist. Informasi), Vol. 3, No. 1, pp. 14–23, 2023.

P. K. Illahi, A. R. Viana, N. F. Mita Peramata, and M. Yudha Pratama, “Application of Decision Tree Algorithm and Linear Regression for Breast Cancer Classification,” in MALCOM: Indonesian Journal of Machine Learning and Computer Science, 2023, pp. 86–92.

K. oktavia Usnaat, P.K Kellen, Yoseph, J. Tey Seran, “Implementasi Metode Decision Tree dalam memprediksi Penjualan Produk Terlaris (Studi Kasus: Kreatif Mart Atambua),” Zo. J. Sist. Inf., Vol. 7, No. 1, pp. 317–330, 2025.

R. A. Saputra and A. Pratama, “Implementasi Decision Tree untuk Prediksi Harga Rumah di Daerah Tebet,” J. Inf. Syst. Manag., Vol. 6, No. 2, pp. 4–10, 2025.

S. Hanifah, F. Akbar, and R. Pratama Santi, “Implementasi Business Intelligence dan Prediksi menggunakan Regresi Linear pada Data Penjualan dan Breakage di PT XYZ,” J. Nas. Teknol. dan Sist. Inf., Vol. 08, No. 03, pp. 144–152, 2022.

D. Nabila and E. Victor Haryanto, “Penerapan Metode Regresi Linear Berganda dalam Data Mining Prediksi Penjualan Produk pada PT Cipta Mebelindo berbasis Web,” JID (Jurnal Info Digit., Vol. 2, No. 3, pp. 1940–1953, 2024.

A. Putra, “Penerapan Data Mining untuk Prediksi Harga Kayu Manis menggunakan Algoritma Regresi Linear Sederhana,” J. Sains Inform. Terap. ( JSIT ), Vol. 04, No. 03, pp. 574–580, 2025.

N. Aprilia and I. Fenriana, “Analisis dan Prediksi Total Penjualan Produk di Supermarket menggunakan Linear Regression,” in POTERS: Proceedings of Technology, Engineering and Computers, 2026, pp. 79–86.

A. P. Kohan et al., “Komparasi Akurasi Regresi Linear Berganda dan Decision Tree Prediksi Harga Motor Bekas berbasis Website,” INFOTECH J., Vol. 11, No. 2, pp. 386–393, 2025.

A. Hurifiani, A. I. Purnamasari, and I. Ali, “Penerapan Algoritma Regresi Linear untuk Prediksi Penjualan Alat Tulis Kantor (ATK) di BUMDES,” JATI (Jurnal Mhs. Tek. Inform., Vol. 8, No. 1, pp. 266–273, 2024.

O. J. Ababil, S. A. Wibowo, and H. Z. Zahro, “Penerapan Metode Regresi Linier dalam Prediksi Penjualan Liquid Vape di Toko Vapor Pandaan berbasis Website,” JATI (Jurnal Mhs. Tek. Inform., Vol. 6, No. 1, pp. 186–195, 2022.

A. T. Nurani, A. Setiawan, and B. Susanto, “Perbandingan Kinerja Regresi Decision Tree dan Regresi Linear Berganda untuk Prediksi BMI pada Dataset Asthma,” J. Sains dan Edukasi Sains, Vol. 6, No. 1, pp. 34–43, 2023.

I. Amansyah, J. Indra, E. Nurlaelasari, and A. R. Juwita, “Prediksi Penjualan Kendaraan menggunakan Regresi Linear : Studi Kasus pada Industri Otomotif di Indonesia,” Innov. J. Soc. SCI. Res., Vol. 4, No. 4, pp. 1199–1216, 2024.

A. Supriyatna, A. I. Purnamasari, and I. Ali, “Analisis Penjualan Produk UMKM di Shopee pada Toko Agung0Na9 menggunakan Model Algoritma Regresi Linear,” JATI (Jurnal Mhs. Tek. Inform., Vol. 8, No. 2, pp. 1911–1915, 2024, DOI: 10.36040/jati.v8i2.8372.

M. K. Effendi, S. Sriyanto, G. Goesderilidar, H. Widi Nugroho, and J. Triloka, “Penerapan Data Mining untuk Prediksi Pendaftar PPDB di SMKN3 Metro menggunakan Machine Learning,” J. Jar. Sist. Inf. Robot., Vol. 9, No. 1, pp. 59–63, 2025, [Online]. Available: http://ojsamik.amikmitragama.ac.id

P. C. Hartono and A. D. Widiantoro, “Analisis Prediksi Harga Saham Unilever menggunakan Regresi Linier dengan RapidMiner,” J. Comput. Inf. Syst. Ampera, Vol. 5, No. 3, pp. 2775–2496, 2024, [Online]. Available: https://journal-computing.org/index.php/journal-cisa/index




DOI: https://doi.org/10.32520/stmsi.v15i2.6124

Article Metrics

Abstract view : 6 times
PDF - 1 times

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.