Perbandingan Tingkat Akurasi Algoritma Decision Tree dan Random Forest dalam Klasifikasi pada Dataset Heterogen
Main Article Content
Abstract
Decision Tree and Random Forest are two widely used classification algorithms in data mining. However, most previous studies have evaluated these algorithms using a single dataset, making their findings potentially less generalizable across different data characteristics. This study compares the accuracy of Decision Tree and Random Forest using three datasets with distinct characteristics, namely Iris, which is relatively small and simple; Breast Cancer Wisconsin, which contains a larger number of attributes; and Telco Customer Churn, which has a larger data volume and an imbalanced class distribution. The results show that Random Forest achieves higher accuracy on the Breast Cancer Wisconsin dataset (96.49% compared to 92.40%) and the Telco Customer Churn dataset (79.79% compared to 75.77%), whereas Decision Tree performs better on the Iris dataset (93.33% compared to 91.11%). These findings indicate that the performance of the two algorithms is data-dependent, with the advantage of Random Forest becoming more evident when applied to datasets with greater complexity. The results of this study can serve as a reference for selecting an appropriate classification algorithm based on the characteristics of the dataset.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
How to Cite
References
Abdah Syakiroh Gustian and Fathoni Mahardika (2025) “Analisis Klasifikasi Risiko Dropout Mahasiswa Menggunakan Algoritma Decision Tree dan Random Forest,” Jupiter: Publikasi Ilmu Keteknikan Industri, Teknik Elektro dan Informatika, 3(4). Available at: https://doi.org/10.61132/jupiter.v3i4.980.
Alfajr, N.H. and Defiyanti, S. (2024) “Prediksi Penyakit Jantung Menggunakan Metode Random Forest Dan Penerapan Principal Component Analysis (PCA),” Jurnal Informatika dan Teknik Elektro Terapan, 12(3S1). Available at: https://doi.org/10.23960/jitet.v12i3s1.5055.
Fisher, R. (1936) Iris, UCI Machine Learning Repository. Available at: https://doi.org/10.24432/C56C76 (Accessed: August 11, 2026).
Hazizah, N., Sharipuddin and Feranika, A. (2025) “Implementasi Algoritma Random Forest Dalam Klasifikasi Risiko Gagal Bayar Kartu Kredit Pada Nasabah Bank,” Jurnal Manajemen Teknologi Dan Sistem Informasi (JMS), 5(1). Available at: https://doi.org/10.33998/jms.2025.5.1.2384.
IBM (2018) Telco Customer Churn, Kaggle. Available at: https://www.kaggle.com/datasets/blastchar/telco-customer-churn (Accessed: August 11, 2026).
Jayadi, J. et al. (2026) “Deteksi Dini Kesehatan Mental Mahasiswa Dengan Machine Learning: Perbandingan Algoritma Decision Tree Dan Random Forest,” Technologia : Jurnal Ilmiah, 17(1). Available at: https://doi.org/10.31602/tji.v17i1.21251.
Katriani, N. and Mailoa, E. (2022) “Klasifikasi Bahasa Daerah Menggunakan Decision Tree Dan Gradient Boots,” Jurnal Teknik Informatika dan Sistem Informasi, 9(2).
Muhammad Riansyah, Syaiful Bahri and Harry Pratama Fiqna (2025) “Perbandingan Akurasi Algoritma Decision Tree dan Random Forest dalam Diagnosa Penyakit Hepatitis,” Indonesian Journal of Science, Technology and Humanities, 2(3). Available at: https://doi.org/10.60076/ijstech.v2i3.1108.
Oktavianto, H. et al. (2024) “Analisis Komparasi Kinerja Metode Decision Tree dan Random Forest dalam Klasifikasi Teks Data Kesehatan,” Bina Insani ICT Journal, 11(1).
Putri Ayu Firnanda et al. (2025) “Analisis Perbandingan Decision Tree dan Random Forest dalam Klasifikasi Penjualan Produk pada Supermarket,” Emerging Statistics and Data Science Journal, 3(1). Available at: https://doi.org/10.20885/esds.vol3.iss.1.art2.
Sinambela, D.P. et al. (2023) “Implementasi Algoritma Decision Tree dan Random Forest dalam Prediksi Perdarahan Pascasalin,” Jurnal Informasi dan Teknologi, 5(3). Available at: https://doi.org/10.60083/jidt.v5i3.393.
Wicaksono, S.A. and Nuryana, I.K.D. (2024) “Perbandingan Klasifikasi Hasil Indeks Kepuasan Masyarakat Terhadap Upt Balai Latihan Kerja Surabaya Menggunakan Algoritma Decision Tree, Random Forest, K-Nearest Neighbor,” Journal of Informatics and Computer Science (JINACS), 5(04). Available at: https://doi.org/10.26740/jinacs.v5n04.p552-228.
William, W. et al. (1993) Breast Cancer Wisconsin (Diagnostic), UCI Machine Learning Repository. Available at: https://doi.org/10.24432/C5DW2B (Accessed: August 11, 2026).
Yaman, N.I. et al. (2024) “Perbandingan Kinerja Algoritma Decision Tree dan Random Forest untuk Klasifikasi Nutrisi pada Makanan Cepat Saji,” Jurnal Algoritma, 21(2). Available at: https://doi.org/10.33364/algoritma/v.21-2.1649.
Yuspita, Y.E., Okra, R. and Rezeki, M. (2025) “Penerapan Algoritma Klasifikasi Untuk Prediksi Tingkat Kelulusan Mahasiswa Menggunakan Rappidminer,” Djtechno: Jurnal Teknologi Informasi, 6(1). Available at: https://doi.org/10.46576/djtechno.v6i1.6169.