Perbandingan Metode Random Forest dengan Decision Tree pada Sistem Rekomendasi Olahraga Berdasarkan Karakteristik Kepribadian
Abstract
Selecting sports that match individual characteristics is an important factor in increasing motivation, comfort, and consistency in performing physical activities. Each individual has different psychological characteristics, activity preferences, exercise intensity levels, and desired exercise goals. One approach that can be used to provide more personalized sports recommendations is by utilizing personality characteristics based on the Big Five Personality (OCEAN) model. This study aims to compare the performance of the Decision Tree and Random Forest algorithms in classifying sports categories based on personality characteristics, exercise intensity, social preferences, exercise location, and exercise goals. The novelty of this research lies in the implementation and comparative evaluation of these two algorithms in a Big Five Personality-based sports recommendation system, which has not been widely developed. The dataset used was obtained from sports experts, consisting of 603 records containing personality attributes and supporting factors related to sports activities. The dataset was divided using the train-test split method with a proportion of 67% training data and 33% testing data. The research stages included data validation, categorical attribute transformation using Ordinal Encoding, classification model development, and evaluation using accuracy, precision, recall, F1-score, and confusion matrix metrics. The results showed that the Random Forest algorithm achieved better performance than Decision Tree, with an accuracy of 82.91%, precision of 0.89, recall of 0.83, and F1-score of 0.81. Meanwhile, Decision Tree obtained an accuracy of 77.89%, precision of 0.65, recall of 0.78, and F1-score of 0.70. These results indicate that the ensemble approach in Random Forest is capable of capturing more complex data patterns and producing more accurate sports category classifications. This research is expected to serve as a foundation for developing a more adaptive and personalized sports recommendation system based on user characteristics.
Downloads
References
Adriansyah, I., Mahendra, M. D., Rasywir, E., & Pratama, Y. (2022). Perbandingan Metode Random Forest Classifier dan SVM Pada Klasifikasi Kemampuan Level Beradaptasi Pembelajaran Jarak Jauh Siswa. Bulletin of Informatic and Data Scince, 1(2), 98–103. https://doi.org/https://doi.org/10.61944/bids.v1i2.49
Astri, R., & Kamal, A. (2025). Pengembangan Sistem Rekomendasi Program Studi Multikelas Menggunakan Algoritma Random Forest TIN : Terapan Informatika Nusantara. 6(5), 567–577. https://doi.org/10.47065/tin.v6i5.8369
Azhari. (2024). Teori Big Five Personality Dalam Ilmu Psikologi Dan Relevansinya Dengan Konsep Kepribadian Manusia Perspektif Al-Qur’an. Jurnal An-Nur, 13(1), 50–59. https://doi.org/https://doi.org/10.24014/an-nur.v13i1.28258
Azmi, A. F., & Voutama, A. (2024). Prediksi Churn Nasabah Bank Menggunakan Klasifikasi Random Forest Dan Decision Tree Dengan Evaluasi Confusion Matrix Azel. KOMPUTA : Jurnal Ilmiah Komputer Dan Informatika, 13(1). https://doi.org/https://doi.org/10.34010/komputa.v13i1.12639
Bagas, M., Darmawan, A., Dewanta, F., & Astuti, S. (2023). Analisis Perbandingan Algoritma Decision Tree , Random Forest , dan Naïve Bayes untuk Prediksi Banjir di Desa Dayeuhkolot Comparative Analysis of Decision Tree , Random Forest , and Naïve Bayes Algorithm for Flood Prediction at Dayeuhkolot Village. TELKA - Telekomunikasi Elektronika Komputasi Dan Kontrol, 9(1), 52–61. https://doi.org/https://doi.org/10.15575/telka.v9n1.52-61
Bere, Y. R., Informatika, T., & Timur, M. J. (2026). Perbandingan Metode Decision Tree dan Logistic Regression dalam Klasifikasi Tingkat Obesitas Berdasarkan Gaya Hidup. Jutisi : Jurnal Ilmiah Teknik Informatika Dan Sistem Informasi, 5(2), 746–756. https://doi.org/http://dx.doi.org/10.35889/jutisi.v15i2.3591
Brons, A., Wang, S., Visser, B., Kr, B., & Bakkes, S. (2024). Machine Learning Methods to Personalize Persuasive Strategies in mHealth Interventions That Promote Physical Activity: Scoping Review and Categorization Overview. Journal Of Medical Internet Research, 26(5), 1–20. https://doi.org/10.2196/47774
Danny akhmad zulfikar, & Vivi aida fitria. (2025). Detecting Online Gambling Promotion on Social Media with Random Forest. International Conference on Business, Innovation, Technology & Science (IcoBits), 01(02), 410–421. https://doi.org/https://doi.org/10.32664/icobits.v1.50
Farihah, L., & Subekti, P. (2025). ObeCheck Sebagai Platform Penerapan Metode K-Nearest Neighbors untuk Klasifikasi Obesitas Berbasis Website. Building of Informatics, Technology and Science (BITS), 6(4), 2311–2321. https://doi.org/10.47065/bits.v6i4.6726
Guntara, M. (2025). Komparasi Kinerja Label-Encoding dengan One-Hot-Encoding pada Algoritma K-Nearest Neighbor menggunakan Himpunan Data Campuran Performance Comparison of Label-Encoding with One-Hot-Encoding Methode on K-Nearest Neighbor Algorithm with Mixed Type Data Set. JIKO (Jurnal Informatika Dan Komputer), 9(2), 352–360. https://doi.org/https://doi.org/10.26798/jiko.v9i2.1605
Hardinsyah, Sulistiyono, & Nugroho, S. (2024). Pengaruh Olahraga Dalam Pembentukan Karakter Remaja: Literature Review. JURNAL DUNIA PENDIDIKAN, 5(1), 244–255. https://doi.org/https://doi.org/10.55081/jurdip.v5i1.2609
jaenal arifin, titania dwiandini, styorini, abdulloh eizzi irsyada, rina dewi indahsari. (2023). Pelatihan Pemrograman Bahasa Python Pada Jurusan Perangkat Lunak Dan Gim. Jurnal Pengabdian Masyarakat - Teknologi Digital Indonesia, 2(2), 42–48. https://doi.org/10.26798/jpm.v2i2.880
Muningsih, E., Handayani, V. R., & Galuhwardani, C. (2026). Optimasi Metode Klasifikasi dengan Particle Swarm Optimization (PSO) dan Perbandingan Split Data untuk Prediksi Penyakit Diabetes. Journal of Artificial Intelligence and Technology Information, 4(2), 259–268. https://doi.org/https://doi.org/10.23917/khif.v4i2.6825
Nurmala Hindun, Wilyanti Agustin, S. (2022). Sosialisasi Pentingnya Aktivitas Fisik untuk Meningkatkan Kesehatan Mental Para Pekerja PT. Global Collection Malang. Anfatama: Jurnal Pengabdian Masyarakat, 1(3), 34–38. https://doi.org/https://doi.org/10.572349/anfatama.v1i3
Refindha, F., Harianto, A., Alawi, Z., & Aristia, I. (2025). Pengaruh Komposisi Split Data Pada Akurasi Klasifikasi Penderita Diabetes Menggunakan Algoritma Machine Learning. Jurnal Sistem Informasi Dan Informatika (Simika), 8(1), 36–44. https://doi.org/https://doi.org/10.47080/simika.v8i1.3663
Rian oktafiani, arief hermawan, donny avianto. (2026). Max Depth Impact on Heart Disease Classification: Decision Tree and Random Forest. Jurnal Resti (Rekayasa Sistem Dan Teknologi Informasi), 5(158), 160–168. https://doi.org/https://doi.org/10.29207/resti.v8i1.5574
Septhya, D., Rahayu, K., Rabbani, S., & Fitria, V. (2023). Implementasi Algoritma Decision Tree dan Support Vector Machine untuk Klasifikasi Penyakit Kanker Paru Dhini. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 3(1), 15–19. https://doi.org/https://doi.org/10.57152/malcom.v3i1.591
Setiadi, E., & Sulistyo, D. A. (2025). Analisis Sentimen Kebijakan Makan Bergizi Gratis Menggunakan IndoBERT dan Machine Learning. Jurnal Fasilkom, 15(3), 507–513. https://doi.org/https://doi.org/10.37859/jf.v15i3.10546
Utami, N., Baihaqi, K. A., Awal, E. E., & Wahiddin, D. (2024). Analisis Kinerja Algoritma Decision Tree Dan Random Forest Dalam Klasifikasi Penyakit Kardiovaskular. Building of Informatics, Technology and Science (BITS), 6(2), 970–980. https://doi.org/https://doi.org/10.47065/bits.v6i2.5722
Yaman, N. I., Juwita, A. R., Arum, S., Lestari, P., & Faisal, S. (2024). Perbandingan Kinerja Algoritma Decision Tree dan Random Forest untuk Klasifikasi Nutrisi pada Makanan Cepat Saji. Jurnal Algoritma, 21(2), 184–195. https://doi.org/10.33364/algoritma/v.21-2.1649
Zulkarnaen, M. I., & Novita, P. (2025). Analisis Pilihan Jenis Olahraga Favorit di Kalangan Siswa Kelas IX SMPN 23 Tangerang Selatan. Semnasfip, 2(2), 2539–2546. https://jurnal.umj.ac.id/index.php/SEMNASFIP/issue/view/1086
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Metode Random Forest dengan Decision Tree pada Sistem Rekomendasi Olahraga Berdasarkan Karakteristik Kepribadian
Pages: 813-822
Copyright (c) 2026 Galih Tri Ardiansyah, Titania Dwiandini

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).













