Perbandingan Random Forest dan Gradient Boosting pada Prediksi Hasil Belajar Siswa

Authors

  • Sopiyan Apandi Universitas Pamulang, Tangerang Selatan
  • Muhammad Bahrein Universitas Pamulang, Tangerang Selatan

DOI:

https://doi.org/10.30865/jurikom.v13i3.9776

Keywords:

Random Forest, Gradient Boosting, Educational Data Mining

Abstract

Student learning outcomes are important indicators for evaluating the success of the learning process and can be used to support data-driven academic decision-making. This study aims to compare the performance of the Random Forest and Gradient Boosting algorithms in predicting student learning outcomes. The study employed a quantitative approach with a comparative experimental design using the student dataset containing 500 student records and 11 attributes. The target variable was passed, while several attributes such as gender, age, study_hours_per_week, attendance_rate, parent_education, internet_access, extracurricular, and previous_score were used as predictors. The data preprocessing stage included data cleaning, missing value handling, categorical data transformation, feature selection, and train-test splitting with an 80:20 ratio. Model evaluation was conducted using confusion matrix, accuracy, precision, recall, F1-score, and ROC-AUC, supported by 10-fold cross validation. The results showed that Random Forest slightly outperformed Gradient Boosting on most evaluation metrics. On the test data, Random Forest achieved an accuracy of 87.00%, precision of 90.63%, recall of 89.23%, F1-score of 89.92%, and ROC-AUC of 93.27%, while Gradient Boosting obtained an accuracy of 86.00%, precision of 90.48%, recall of 87.69%, F1-score of 89.06%, and ROC-AUC of 93.10%. These findings indicate that both algorithms performed well in predicting student learning outcomes, with Random Forest showing more stable performance on the dataset used.

References

[1] C. Algorithm and N. F. Rahmadani, “Prediction of Burnout Syndrome Risk in University Students Using the,” vol. 13, no. 2, pp. 526–536, 2026, doi: 10.30865/jurikom.v13i2.9550.

[2] J. S. Tarigan, “Integration of ARIMA Models and Machine Learning for Academic Data Forecasting : A Case Study in Applied Mathematics Corresponding Author :,” vol. 9, no. 1, pp. 297–304, 2025, doi: 10.30829/zero.v9i1.24148.

[3] M. A. M. Setiawan, K. Kusrini, and A. D. Hartono, “Menggunakan Metode Machine Learning Untuk Memprediksi Nilai Mahasiswa Dengan Model Prediksi Multiclass,” J. Inform. J. Pengemb. IT, vol. 10, no. 1, pp. 190–204, 2025, doi: 10.30591/jpit.v10i1.8334.

[4] H. Sutanto and A. Puji, “Implementation of the Ensemble Machine Learning Algorithm for Student Dropout Prediction Analysis,” vol. 02, pp. 159–166, 2025, doi: 10.14710/vol15iss2pp159-166.

[5] F. Nugraha, W. Widowati, and A. Sugiharto, “Machine Learning Methods for Academic Achievement Prediction : A Bibliometric Review,” vol. 02, pp. 221–226, 2025.

[6] G. Akçap, M. N. Hasnine, R. Majumdar, B. Flanagan, and H. Ogata, “Developing an early-warning system for spotting at-risk students by using eBook interaction logs,” vol. 4, 2019.

[7] Y. Zhang, Y. Yun, R. An, J. Cui, H. Dai, and X. Shang, “Educational Data Mining Techniques for Student Performance Prediction : Method Review and Comparison Analysis,” vol. 12, no. December, pp. 1–19, 2021, doi: 10.3389/fpsyg.2021.698490.

[8] S. Apandi, “Pemodelan Klasifikasi Siswa Berprestasi dengan Random Forest: Studi Kasus pada Bimbingan Belajar,” vol. 18, no. 1, pp. 1979–276, 2025.

[9] M. H. bin Roslan and C. J. Chen, “Educational Data Mining for Student Performance Prediction: A Systematic Literature Review (2015-2021),” Int. J. Emerg. Technol. Learn., vol. 17, no. 5, pp. 147–179, 2022, doi: 10.3991/ijet.v17i05.27685.

[10] A. I. Pramesti, U. S. Dharma, C. E. Murwaningtyas, and U. S. Dharma, “Classification of Numeracy Achievement of Junior High School Educational Units Based on National Assessment Data using Random Forest,” vol. 9, no. 2, pp. 490–500, 2025, doi: 10.30829/zero.v9i2.26156.

[11] R. A. Putri and N. S. Fatonah, “Perbandingan Metode Klasifikasi serta Analisis Faktor Akademis Pola Kelulusan Mahasiswa di Perguruan Tinggi,” J. Inform. J. Pengemb. IT, vol. 7, no. 2, pp. 109–117, 2022, doi: 10.30591/jpit.v7i2.3082.

[12] M. Rahma, M. Fikry, and Y. Afrillia, “Prediksi Kesehatan Mental Remaja Berdasarkan Faktor Lingkungan Sekolah Menggunakan Machine Learning,” J. Inform. J. Pengemb. IT, vol. 10, no. 2, pp. 382–390, 2025, doi: 10.30591/jpit.v10i2.8556.

[13] M. N. Hibatulloh, G. D. Prakoso, A. D. Putri Yunus, and T. D. Putra, “Prediksi Harga Rumah di Bandung 2024 Menggunakan Ensemble Learning: Analisis Komparatif dan Interpretabilitas,” J. Inform. J. Pengemb. IT, vol. 10, no. 2, pp. 484–493, 2025, doi: 10.30591/jpit.v10i2.8200.

[14] G. Erutjahjo and A. Supriyanto, “Prediksi Tinggi Gelombang Laut di Perairan Semarang – Demak dengan Menggunakan Random Forest dan XGBoost,” J. Inform. J. Pengemb. IT, vol. 10, no. 4, pp. 869–881, 2025, doi: 10.30591/jpit.v10i4.9315.

Additional Files

Published

2026-06-30

How to Cite

Apandi, S., & Bahrein, M. (2026). Perbandingan Random Forest dan Gradient Boosting pada Prediksi Hasil Belajar Siswa . JURIKOM (Jurnal Riset Komputer), 13(3), 1011–1020. https://doi.org/10.30865/jurikom.v13i3.9776

Issue

Section

Articles