Implementation of Data Mining using the Random Forest Algorithm to Predict the Academic Performance ff SMPIT Hj. Fauziah Students

Authors

  • Arya Fahru Rizki STMIK Kaputama
  • Novriyenni
  • Ratih Puspadini

DOI:

https://doi.org/10.59934/jaiea.v6i1.2971

Keywords:

Data mining, Classification, Machine learning, Student performance, Random Forest

Abstract

This study aims to apply the Random Forest algorithm to classify and predict the academic performance of students at SMP Hj. Fauziah based on average grades, attendance, discipline, and learning engagement. The dataset comprises 500 student records, split into 80% for training and 20% for testing. Performance categories are defined as "High-Achieving" and "Not High-Achieving," determined by a performance score calculated from the four academic attributes. The Random Forest model was constructed using 200 decision trees and evaluated using a confusion matrix, accuracy, precision, recall, and F1-score. Test results demonstrate that the model successfully classified the testing data with an accuracy of 94%, precision of 94.46%, recall of 94%, and an F1-score of 93.74%. Subsequently, the model was implemented in a web-based application using Flask and MySQL to support student data management, academic data handling, the prediction process, result storage, and reporting. The findings indicate that Random Forest can effectively classify student performance based on academic attributes and be integrated into a system to support student performance evaluation.

Downloads

Download data is not yet available.

References

I. H. Witten, E. Frank, M. A. Hall, and C. J. Pal, Data Mining: Practical Machine Learning Tools and Techniques, 4th ed. Morgan Kaufmann, 2016.

J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques, 3rd ed. Morgan Kaufmann, 2011.

R. S. J. d. Baker and K. Yacef, “The state of educational data mining in 2009: A review and future visions,” Journal of Educational Data Mining, vol. 1, no. 1, pp. 3–17, 2009.

C. Romero and S. Ventura, “Educational data mining and learning analytics: An updated survey,” WIREs Data Mining and Knowledge Discovery, vol. 10, no. 3, e1355, 2020, doi: 10.1002/widm.1355.

A. M. Shahiri, W. Husain, and N. A. Rashid, “A review on predicting student's performance using data mining techniques,” Procedia Computer Science, vol. 72, pp. 414–422, 2015.

M. Yağcı, “Educational data mining: Prediction of students' academic performance using machine learning algorithms,” Smart Learning Environments, vol. 9, art. no. 11, 2022, doi: 10.1186/s40561-022-00192-z.

E. Alyahyan and D. Düştegör, “Predicting academic success in higher education: Literature review and best practices,” International Journal of Educational Technology in Higher Education, vol. 17, art. no. 3, 2020, doi: 10.1186/s41239-020-0177-7.

S. Helal, J. Li, L. Liu, E. Ebrahimie, S. Dawson, D. J. Murray, and Q. Long, “Predicting academic performance by considering student heterogeneity,” Knowledge-Based Systems, vol. 161, pp. 134–146, 2018, doi: 10.1016/j.knosys.2018.07.042.

L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.

T. G. Dietterich, “Ensemble methods in machine learning,” in Multiple Classifier Systems, Lecture Notes in Computer Science, vol. 1857, Springer, 2000, pp. 1–15.

F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” Journal of Machine Learning Research, vol. 12, no. 85, pp. 2825–2830, 2011.

T. M. Mitchell, Machine Learning. New York: McGraw-Hill, 1997.

M. Sokolova and G. Lapalme, “A systematic analysis of performance measures for classification tasks,” Information Processing & Management, vol. 45, no. 4, pp. 427–437, 2009, doi: 10.1016/j.ipm.2009.03.002.

Hidayat, R., Gultom, H., & Samudra, Y. (2025). Predicting Student Academic Performance Using Learning Activity Data: A Comparative Study of Random Forest and Decision Tree Models. 4(3), 2829–2529. https://doi.org/10.52158/rjti.v4i3.4032.

Wantos, D. O. E., & Bahri, D. B. (2026). Analysis and Prediction of Student Academic Performance Using the Random Forest Algorithm. Jurnal Inotera, 11(1), 232–239. https://doi.org/10.31572/inotera.Vol11.Iss1.2026.ID657.

Rahayu, N. D., Anshor, A. H., Afriantoro, I., & Halim Anshor, A. (2024). Penerapan Data Mining untuk Pemetaan Siswa Berprestasi menggunakan Metode Clustering K-Means Oleh : Penerapan Data Mining untuk Pemetaan Siswa Berprestasi menggunakan Metode Clustering K-Means. JUKI : Jurnal Komputer Dan Informatika, 6.

Kusworo, S., Nugroho Adhi Santoso, & Rifki Dwi Kurniawan. (2024). Prediksi Nilai Akhir Semester Siswa Menggunakan Algoritma Random Forest. Jurnal Sains Dan Ilmu Terapan, 7(2), 246–256. https://doi.org/10.59061/jsit.v7i2.918.

Downloads

Published

2026-10-15

How to Cite

Rizki, A. F., Novriyenni, & Ratih Puspadini. (2026). Implementation of Data Mining using the Random Forest Algorithm to Predict the Academic Performance ff SMPIT Hj. Fauziah Students. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1323–1330. https://doi.org/10.59934/jaiea.v6i1.2971