Analysis of Data Mining Implementation for Classifying Best-Selling Food Sale Using the Decision Tree (C4.5) Algorithm
DOI:
https://doi.org/10.51903/f2jegk76Keywords:
C4.5 decision tree algorithm, data mining, sales classification, RapidMinerAbstract
The culinary business sector continues to grow rapidly, creating a strong need for data-driven decision-making to support operational efficiency. This study aims to classify menu item sales performance at Warung Makan Lalapan Haris using the C4.5 decision tree algorithm and the KDD methodology. A total of 500 data records containing attributes such as menu type, number of customers, number of items sold, and sales status were processed through several stages, including data selection, preprocessing, transformation, data mining, and evaluation. The decision tree model was built in RapidMiner 2026.0.1 using a 70% training, 30% testing split. The results indicate that the C4.5 algorithm successfully formed a classification structure that categorizes menu items into Best Seller, Medium Seller, and Low Seller groups. Fried Chicken was consistently identified as the Best Seller, Grilled Chicken as the Medium Seller. At the same time, Fried Catfish and Grilled Catfish were classified as low-selling items with more complex splitting patterns primarily influenced by the number of customers. The evaluation results show an accuracy of 84%, with perfect precision and recall for Fried Chicken and Grilled Chicken, while the performance for Fried Catfish and Grilled Catfish varied. These findings demonstrate that the C4.5 decision tree algorithm is effective for analyzing sales patterns and can assist business owners in planning inventory and optimizing menu management strategies.
References
[1] M. Ferdyandi, N. Y. Setiawan, and F. A. Bachtiar, “Prediksi Potensi Penjualan Makanan Beku berdasarkan Ulasan Pengguna Shopee menggunakan Metode Decision Tree Algoritma C4.5 dan Random Forest (Studi Kasus Dapur Lilis),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 2, pp. 588–596, 2022, [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/10560
[2] H. Dhika et al., “Penerapan Algoritma Decision Tree Dalam Penjualan Handphone,” J. Rekayasa Komputasi Terap., vol. 1, no. 4, pp. 239–246, 2021, doi: 10.30998/jrkt.v1i04.6157.
[3] F. Rahmadayanti, A. Asminah, and D. T. Cahaya, “Penerapan Algoritma C4.5 pada Produk Penjualan Makanan Ringan,” J. Teknol. Inf. MURA, vol. 16, no. 1, pp. 62–69, 2024, doi: 10.32767/jti.v16i1.2294.
[4] M. H. S. Wibowo, M. D. Al Ayubi, and E. Rilvani, “Klasifikasi Volatilitas Harga Daging Ayam dan Cabe Rawit Merah dengan Decision Tree,” J. Komput. dan Teknol., vol. 4, no. 2, pp. 138–153, 2025, doi: 10.64626/jukomtek.v4i2.455.
[5] A. Ardhy, T. Maulana, and D. Arman, “Penerapan Metode Decision Tree C4.5 untuk Klasifikasi Data Kandidat Tenaga Kerja pada Perusahaan Outsourcing,” J. Apl. Sains, Informasi, Elektron. dan Komput., vol. 6, no. 1, pp. 41–48, 2024, doi: 10.26905/jasiek.v6i1.12670.
[6] Wirawan, D. Alan, Rohman, and Abdul, “Consumer Satisfaction Analysis at Inos Coffee & Kitchen Using the C4.5 Algorithm: Analisis Kepuasan Konsumen Pada Inos Coffee & Kitchen Menggunakan Algoritma C4.5,” J. Inovtek Polbeng, vol. 10, no. 1, pp. 526–537, 2025, doi: 10.35314/nbpz0h21.
[7] N. I. Yaman, A. R. Juwita, S. Arum, P. Lestari, and S. Faisal, “Perbandingan Kinerja Algoritma Decision Tree dan Random Forest untuk Klasifikasi Nutrisi pada Makanan Cepat Saji,” J. Algoritm., vol. 21, no. 2, pp. 184–195, 2024, doi: 10.33364/algoritma/v.21-2.1649.
[8] C. Supriadi, C. Sitinjak, D. Fujiama, N. D. Silalahi, S. Pertiwi, and A. Umar, “Enhancing Performance Using New Hybrid Intrusion Detection System,” J. Technol. Informatics Eng., vol. 1, no. 2, pp. 1–4, Jul. 2022, doi: 10.51903/jtie.v1i2.134.
[9] M. H. Haiedar and S. Kholifah, “The Impact of Occupational Safety, Workload, and Compensation on Employee Job Satisfaction in the Mining Industry: A Case Study of PT BCKA,” J. Manag. Informatics, vol. 4, no. 1, pp. 587–598, Jan. 2025, doi: 10.51903/jmi.v4i1.53.
[10] A. Ramdani, C. D. Sofyan, F. Ramdani, M. Fauzi, A. Tama, and M. A. Rachmatsyah, “Algoritma Klasifikasi Data Mining untuk Memprediksi Masyarakat dalam Menerima Bantuan Sosial,” J. Ilm. Sist. Inf., vol. 1, no. 2, pp. 39–47, Jul. 2022, doi: 10.51903/juisi.v1i2.363.
[11] R. Rasendriya, A. O. Marundrury, Y. L. Jumadi, and A. D. Kuswanto, “Komparasi Decision Tree, Random Forest, dan k‑NN Memprediksi Kelulusan Siswa Menggunakan Orange,” J. Komput. dan Teknol., vol. 4, no. 2, pp. 60–71, 2025, doi: 10.64626/jukomtek.v4i2.414.
[12] C. Aprianti, M. Faishal, and Y. Umaidah, “Penerapan Data Mining untuk Klasifikasi Penjualan Baju Muslim di Masa Pandemi Covid‑19 Menggunakan Metode Algoritma C4.5 (Studi Kasus: Garaya Collection),” J. Ilm. Wahana Pendidik., vol. 8, no. 1, pp. 104–112, 2022, doi: 10.5281/zenodo.5816231.
[13] R. yuninda Hutagalung and M. S. Rika Harman, S.Kom., “Analisis Kriteria Kamar Kos Layak Huni Menggunakan Algoritma C4.5 di Kota Batam,” J. Comasie (Computer Sci. Ind. Eng., vol. 8, no. 3, pp. 65–73, 2023, [Online]. Available: https://ejournal.upbatam.ac.id/index.php/comasiejournal/article/view/6935
[14] D. A. Pratama, I. R. Mutaqin, and K. R. Manuela, “Analisis Terjadinya Kanker Paru-Paru Pada Pasien Menggunakan Decision Tree: Penerapan Algoritma C4.5 Dan RapidMiner Untuk Menentukan Risiko Kanker Pada Gejala Pasien,” J. Tek. Mesin, Ind. Elektro dan Inform., vol. 2, no. 4, pp. 156–170, 2023, doi: 10.55606/jtmei.v2i4.3004.
[15] 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, doi: 10.24076/joism.2025v6i2.1928.
[16] N. N. Pradana, A. A. Subekti, and E. Rilvani, “Deteksi Transaksi Mencurigakan Menggunakan Decision Tree dan Logistic Regression dengan Mitigasi Ketidakseimbangan Kelas,” J. Media Akad., vol. 3, no. 8, pp. 3031–5220, 2025, doi: 10.62281/v3i8.2680.
[17] N. B. A. B. Arifin and A. Asmianto, “Sistem Prediksi Penjualan Menggunakan Kombinasi Metode Monte Carlo dan Decision Tree Berbasis Website,” MATHunesa J. Ilm. Mat., vol. 11, no. 2, pp. 274–286, 2023, doi: 10.26740/mathunesa.v11n2.p274-286.
[18] Z. Fatah and M. F. Wahid, “Penerapan Data Mining Menggunakan Algoritma C4.5 untuk Klasifikasi Penyakit Paru-Paru,” J. Ilm. Penelit. Mhs., vol. 3, no. 5, pp. 646–653, 2025, doi: 10.61722/jipm.v3i5.1513.
[19] R. P. Eshardiansyah, N. Sulistiyowati, and M. Jajuli, “Algoritma C4.5 Untuk Klasifikasi Jenis Kekerasan pada Anak (Kasus DP3A Kabupaten Karawang),” J. Sains Komput. Inform., vol. 5, no. 2, pp. 687–696, 2021, doi: 10.30645/j‑sakti.v5i2.368.
[20] M. Rafi, N. Akbar, and E. K. Suni, “Penerapan Data Mining Untuk Memprediksi Penjualan Makanan Pada Kopi Krintji Menggunakan Algoritma Regresi Linear dan C4.5,” J. Ilmu Tek. dan Komput., vol. 6, no. 2, pp. 122–128, 2022, doi: 10.22441/jitkom.v6i2.005.
[21] A. Arif and A. Yulianto, “Klasifikasi Penjualan Makanan Hewan Peliharaan di Muezza Petshop01 Bogor Menggunakan Metode Algoritma C4.5,” REMIK Ris. dan E-Jurnal Manaj. Inform. Komput., vol. 6, no. 4, pp. 840–854, 2022, doi: 10.33395/remik.v6i4.11859.
[22] N. A. Lestari, “Penerapan Data Mining menggunakan Metode Decision Tree C4 . 5 untuk Prediksi Tingkat Kelulusan Mahasiswa ( Studi Kasus : STMIK WIT ),” Sekolah Tinggi Manajemen Informatika dan Komputer LIKMI Bandung, 2017. [Online]. Available: https://library.likmi.ac.id/show/80/pdf
[23] F. Arzalega and N. N. Pusparini, “Implementasi Data Mining pada Penjualan Main Course Pizza Menggunakan Algoritma C4.5 (Studi Kasus Pizza Hut Delivery Muara Karang Raya),” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 2, pp. 2283–2290, 2024, doi: 10.36040/jati.v8i2.9469.
[24] A. Ristyawan, A. Nugroho, and T. K. Amarya, “Optimasi Preprocessing Model Random Forest Untuk Prediksi Stroke,” J. Tek. Inform. dan Sist. Inf., vol. 12, no. 1, pp. 29–44, 2025, doi: 10.35957/jatisi.v12i1.9587.
[25] A. B. Prasetyo and I. H. Ikasari, “Penerapan Data Mining untuk Memprediksi Penjualan Kue Brownis Menggunakan Algoritma C4.5 pada Toko Amanda Brownis,” Log. J. Ilmu Komput. dan Pendidik., vol. 2, no. 1, pp. 292–298, 2023, doi: 10.1017/cbo9781107415324.004elian.
[26] A. Haryadi, A. N. P. Haryadi, W. Setiawan, and D. A. Fatah, “Penerapan Data Mining untuk Klasifikasi Penyakit Diabetes Menggunakan Metode Decision Tree,” J. Nas. Komputasi dan Teknol. Inf., vol. 7, no. 6, pp. 1484–1495, 2024, doi: 10.32672/jnkti.v7i6.8145.
[27] S. O. Usnaat, Y. P. K. Kelen, and K. J. T. 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, doi: 10.31849/zn.v7i1.23868.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Falerina Gita Falentina; Gabriel Yohan Yoseph Wabdaron, Dwi Andiyani, Melki Sendoni Wondiwoi, Heru Sutejo

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in this journal are open access and licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license:
-
Authors retain copyright of their work.
-
Others are free to:
-
Share — copy and redistribute the material in any medium or format;
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially;
-
-
As long as they:
-
Give appropriate credit to the original author(s) and the source;
-
Provide a link to the license;
-
Indicate if changes were made;
-
Distribute their contributions under the same license as the original.
-
This ensures that derivative works will also remain free and open under the same terms.













.png)