Comparative Analysis of Muslim Clothing Sales Predictions Using the C4.5 Method and Linear Regression
Abstract
This study aims to develop a sales data prediction model using the machine learning method. Sales are an important indicator in the business world because they can provide information about company performance, market trends, and support better decision-making. However, accurate and reliable prediction of sales data is often a complex challenge. In this study, the researchers collected historical sales data from Farhan Stores that included information about time, product, category, and price. This study also aims to apply data mining techniques to predict sales of Muslim clothes at Farhan stores using the C4.5 algorithm and the linear regression algorithm. The prediction method is used in this study and the calculations are performed using Google Collab. The results of the research that was conducted to predict sales of robes and shirts at Farhan Stores show that the best-selling item during the sales period from January to July 2022 was Sabiyan robes, which were the most sold item or can be said to be the Best Seller item at Farhan Stores. In this study, the parameters MAE (Mean Absolute Error), MSE (Mean Squared Error), and the R2 score are used to evaluate prediction performance. In the linear regression algorithm, the MAE value is 43,633.21, the MSE value is 4,005,924,352.66, and the R2 score is 0.94. Whereas in the C4.5 algorithm, the MAE value was 44,823.96, the MSE value was 50,233,775.14, and the R2 score was 0.94.
Downloads
References
G. Lukhayu Pritalia, “Penerapan Algoritma C4.5 untuk Penentuan Ketersediaan Barang E-commerce,”
Indonesian Journal of Information Systems, vol. 1, no. 1, pp. 47–56, 2018, doi: 10.24002/ijis.v1i1.1727.
R. Gunito, F. Junior, N. Hidayat, and A. A. Soebroto, “Prediksi Omzet Penjualan Jersey menggunakan Metode Regresi Linier ( Studi Kasus CV . Quattro Project Bululawang ),” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 10, pp. 4598–4603, 2022.
M. F. Naufal and V. Ayumi, “Komparasi Algoritma Regresi Linear dan Algoritma C4.5 Untuk Memprediksi Penjualan Sayur Mayur (PT. Kebun Sayur Segar),” vol. 6, no. 2, pp. 1–17, 2022.
G. Lukhayu Pritalia, “Penerapan Algoritma C4.5 untuk Penentuan Ketersediaan Barang E-commerce,”
Indonesian Journal of Information Systems, vol. 1, no. 1, pp. 47–56, 2018, doi: 10.24002/ijis.v1i1.1727.
G. N. Ayuni and D. Fitrianah, “Penerapan metode Regresi Linear untuk prediksi penjualan properti pada PT XYZ,” Jurnal Telematika, vol. 14, no. 2, pp. 79–86, 2019.
O. J. Ababil, S. A. Wibowo, and H. Zulfia Zahro’, “Penerapan Metode Regresi Linier Dalam Prediksi Penjualan Liquid Vape Di Toko Vapor Pandaan Berbasis Website,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 6, no. 1, pp. 186–195, 2022, doi: 10.36040/jati.v6i1.4537.
M. M. Effendi and D. Rahmawati, “PREDIKSI PENJUALAN PRODUK ROTIMENGGUNAKAN
ALGORITMA C4.5 PADA PT. PRIMA TOP BOGA,” SIGMA: Information Technology Journal, vol. 9, no. 1, pp. 51–66, 2018.
S. Badriah, M. F. E. Nugroho, N. Sanjaya, I. Rismawati, B. N. Sari, and C. Rozikin, “Klasifikasi Algoritma C4 . 5 dalam Menentukan Penerima Bantuan Covid-19 ( Studi Kasus : Desa di Karawang ),” JIP (Jurnal Informatika Polinema, vol. 7, no. 3, pp. 23–28, 2021.
M. Leonardi, R. Emilda, I. Katrin, and A. Yulianto, “Prediksi Penjualan Produk Rokok Pada PT. Indomarco Prismatama Menggunakan Algoritma C4.5,” Paradigma - Jurnal Komputer dan Informatika, vol. 23, no. 2, pp. 182–190, 2021, doi: 10.31294/p.v23i2.11151.
I. Djamaludin and A. Nursikuwagus, “Analisis Pola Pembelian Konsumen Pada Transaksi Penjualan Menggunakan Algoritma Apriori,” Simetris : Jurnal Teknik Mesin, Elektro dan Ilmu Komputer, vol. 8, no. 2, p. 671, 2017, doi: 10.24176/simet.v8i2.1566.
Copyright (c) 2024 Journal of Systems Engineering and Information Technology (JOSEIT)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).