Penerapan Algoritma C4.5 untuk Klasifikasi Tingkat Pemahaman Mahasiswa pada Mata Kuliah Pemrograman Berdasarkan Hasil Evaluasi Akademik


  • Aldian A. Surbakti Institut Teknologi dan Bisnis Indonesia, Karo, Indonesia
  • Teuku Amanda Rivaldi Institut Teknologi dan Bisnis Indonesia, Medan, Indonesia
  • Seri Ninta Br Bangun Institut Teknologi dan Bisnis Indonesia, Karo, Indonesia
  • M. Agustian Institut Teknologi dan Bisnis Indonesia, Karo, Indonesia
  • David JM Sembiring * Mail Institut Teknologi dan Bisnis Indonesia, Medan, Indonesia
  • Raheliya Br Ginting Institut Teknologi dan Bisnis Indonesia, Medan, Indonesia
  • (*) Corresponding Author
Keywords: Data Mining; C4.5; Classification; Student Understanding; Programming

Abstract

The use of academic data through data mining techniques can help identify patterns in student learning outcomes systematically. This study aims to apply the C4.5 algorithm to classify students’ levels of understanding in a programming course based on academic evaluation results. The attributes include attendance percentage, assignment scores, practical scores, midterm examination scores, and final examination scores, with target classes categorized as low, medium, and high. The research employs a classification approach using the C4.5 algorithm through the calculation of Entropy, Information Gain, and Gain Ratio to construct a decision tree. A simulated dataset consisting of 250 records was divided into 200 training records (80%) and 50 testing records (20%). Model performance was evaluated using a confusion matrix, accuracy, precision, recall, and F1-score. The reported test results indicate an accuracy of 78.00%, a macro-average precision of 75.83%, a macro-average recall of 80.61%, and a macro-average F1-score of 77.50%. Of the 50 testing records, 39 were correctly classified, while 11 were misclassified. The low category achieved a recall of 87.50%, the medium category 73.08%, and the high category 81.25%. These findings indicate that C4.5 has the potential to produce an interpretable classification model through decision rules. However, because the study uses a simulated dataset and the target labels are derived from the same evaluation attributes used as predictors, the results cannot yet be generalized to measure students’ actual understanding. Further testing using real academic data and validated class definitions is required to strengthen the validity of the findings.

References

M. B. Alfayyadh, S. Assegaff, and Fachruddin, “Perbandingan Algoritma C4.5 dan Naive Bayes Dalam Machine Learning Untuk Klasifikasi Performa Pelajar,” J. Manaj. Teknol. dan Sist. Inf., vol. 5, no. 2, 2025, doi: 10.33998/jms.2025.5.2.2328.

Y. E. Yuspita, R. Okra, and M. Rezeki, “Penerapan Algoritma Klasifikasi Untuk Prediksi Tingkat Kelulusan Mahasiswa Menggunakan Rapidminer,” Djtechno J. Teknol. Inf., vol. 6, no. 1, pp. 376–388, 2025, doi: 10.46576/djtechno.v6i1.6169.

S. Tamriesfatno, M. I. Mardin, L. O. M. A. AM, M. N. Fuad, and M. As’ad, “Penerapan Algoritma C4.5 dalam Memprediksi Minat Siswa SMKS Unggulan Wakatobi untuk Melanjutkan Pendidikan Tinggi,” J. Publ. Ilmu Komput. dan Multimed., vol. 4, no. 1, pp. 11–18, 2025, doi: 10.55606/jupikom.v4i1.6776.

N. A. Sivi, I. Mualim, R. Fatikhin, and D. N. Ariskha, “Prediksi Kelulusan Mahasiswa UNU Lampung Menggunakan Algoritma Decision Tree Berbasis Data Akademik Menggunakan Rapidminer,” J. Penelit. Teknol. Inf. dan Sains, vol. 4, no. 1, pp. 29–40, 2026, doi: 10.54066/jptis.v3i1.3794.

M. Yağcı, “Educational data mining: prediction of students’ academic performance using machine learning algorithms,” Smart Learn. Environ., vol. 9, no. 11, 2022, doi: https://doi.org/10.1186/s40561-022-00192-z.

A. Astuti, D. Maryono, and F. Liantoni, “Prediction of PTIK students’ study success in the first year using the C4.5 algorithm,” J. Soft Comput. Explor., vol. 5, no. 1, 2024, doi: 10.52465/joscex.v5i1.237.

K. A. Putri, D. Febriawan, and F. N. Hasan, “Implementation of data mining to predict student study period with decision tree algorithm (C4.5),” J. Sisfokom (Sistem Inf. dan Komputer), vol. 13, no. 1, pp. 31–39, 2024, [Online]. Available: https://jurnal.atmaluhur.ac.id/index.php/sisfokom/article/view/1943

F. Aydın, “Educational data mining: Construction of a tree-based model to predict students’ performance,” Bartın Univ. J. Fac. Educ., vol. 14, no. 1, pp. 181–195, 2025, doi: 10.14686/buefad.1390209.

N. P. Alfyandri, H. A. Musril, and S. Derta, “Implementation of the C4.5 algorithm to build a prediction model for student success in database courses,” Knowbase Int. J. Knowl. Database, vol. 5, no. 2, pp. 132–144, 2025, doi: 10.30983/knowbase.v5i2.10083.

M. Hermanto and S. Sutedi, “Sistem prediksi prestasi akademik mahasiswa Program Studi Pendidikan Agama Islam menggunakan C4.5,” Dinamik, vol. 31, no. 1, pp. 95–103, 2026, doi: 10.35315/dinamik.v31i1.10323.

N. A. Sivi, R. Hartono, and P. Hanafi, “Penerapan Algoritma C4.5 untuk Prediksi Kelulusan Mahasiswa,” J. CoSciTech, vol. 4, no. 1, 2023, doi: 10.37859/coscitech.v4i1.4755.

E. Purwanto, Kusrini, and Sudarmawan, “Prediksi Kelulusan Tepat Waktu Menggunakan Metode C4.5 dan K-NN,” Techno, vol. 20, no. 2, pp. 107–114, 2019, doi: 10.30595/techno.v20i2.5160.

A. Wahyudi, Kusrini, and F. W. Wibowo, “Prediksi Kelulusan Mahasiswa Tepat Waktu Menggunakan Metode Decision Tree dan Naïve Bayes,” J. Permata Indones., vol. 14, no. 2, pp. 132–138, 2023.

A. Hudawi, K. Anam, and M. Rahman, “Penerapan Data Mining untuk Menemukan Pola Asosiasi Aktivitas Belajar dan Prestasi Santri Menggunakan Algoritma Apriori,” TRILOGI J. Ilmu Teknol. Kesehatan, dan Hum., vol. 5, no. 4, 2024, doi: 10.33650/trilogi.v5i4.9919.

M. C. Afandi, U. Indahyanti, H. Setiawan, and I. A. Kautsar, “Prediksi Kelulusan Mahasiswa Menggunakan Algoritma Machine Learning,” Semantik, vol. 11, no. 2, 2025, doi: 10.55679/semantik.v11i2.154.

M. Syahrizal, S. Aripin, D. P. Utomo, Mesran, Sarwandi, and N. A. Hasibuan, “The application of the K-NN imputation method for handling missing values in a dataset,” AIP Conf. Proc., vol. 2048, no. 1, 2024.

Mesran, M. Syahrizal, Sarwandi, S. Aripin, D. P. Utomo, and A. Karim, “A comparison of the performance of data mining classification algorithms on medical datasets with the application of data normalization,” 2ND Int. Semin. Sci. Technol., vol. 3048, no. 1, 2024, doi: https://doi.org/10.1063/5.0207994.

D. P. Utomo, S. Sarwandi, S. Aripin, M. Syahrizal, and P. Pristiwanto, “A Comparative Analysis of Data Normalization on Data,” vol. 020046, 2024.

R. M. Ubaidilah, “Prediksi Kelulusan Mahasiswa Berdasarkan Data Kunjung dan Peminjaman Buku menggunakan Rapid Miner dengan Metode C.45 dan Random Forest,” Int. Res. Big-Data Comput. Technol. I-Robot, vol. 7, no. 2, 2024, doi: 10.53514/ir.v7i2.410.

S. Maulana, A. Premana, and B. Irawan, “Optimasi Algoritma Decision Tree Dengan Seleksi Fitur Dalam Klasifikasi Prestasi Akademik Siswa Sekolah,” JELIKU, vol. 13, no. 4, pp. 787–798, 2025, doi: 10.24843/JLK.2025.v13.i04.p06.

M. A. F. Firmansyah, “Perbandingan Algoritma C 4.5 dan Naïve Bayes Dalam Memprediksi Kelulusan Mahasiswa,” J. Syst. Inf. Technol. Electron. Eng., vol. 3, no. 1, pp. 20–26, 2024, doi: 10.31331/jsitee.v3i1.2703.

S. A. H. Putri and Ekastini, “Analisis Komparasi Algoritma C4.5, Naive Bayes dan K-Nearest Neighbor untuk Memprediksi Ketepatan Waktu Lulus Mahasiswa,” J. Teknol. dan Ilmu Komput. Prima, vol. 7, no. 2, 2024, doi: 10.34012/jutikomp.v7i2.5575.

D. Indahsari, I. Maulana, and A. Primajaya, “Klasifikasi Tingkat Pemahaman Mahasiswa mengenai Teori Kepribadian Gustav Jung Menggunakan Algoritma C4.5,” JUSTINDO (Jurnal Sist. dan Teknol. Inf. Indones., vol. 7, no. 1, pp. 1–8, 2022, doi: 10.32528/justindo.v7i1.5465.

T. Widiastuti, K. Karsa, and C. Juliane, “Evaluasi Tingkat Kepuasan Mahasiswa Terhadap Pelayanan Akademik Menggunakan Metode Klasifikasi Algoritma C4.5,” Technomedia J., vol. 7, no. 3, pp. 364–380, 2022, doi: 10.33050/tmj.v7i3.1932.

M. Z. Ansyari and M. Yasin, “Pengaplikasian Algoritma C4.5 untuk Menganalisis Hubungan Kebiasaan Harian Siswa terhadap Prestasi Akademik,” J. Tek. Inform. dan Teknol. Inf., vol. 5, no. 3, pp. 385–400, 2025, doi: 10.55606/jutiti.v5i3.6364.

S. Widaningsih, “Penerapan Data Mining untuk Memprediksi Siswa Berprestasi dengan Menggunakan Algoritma K Nearest Neighbor,” JATISI J. Tek. Inform. dan Sist. Inf., vol. 9, no. 3, pp. 2598–2611, 2022, doi: 10.35957/jatisi.v9i3.859.

U. Halimatussa’diyah and A. Rohman, “Prediksi Prestasi Siswa Menggunakan Algoritma Decision Tree C4.5,” J. Algoritm., 2026, doi: 10.33364/algoritma/v.23-1.3111.

M. Solehuddin, W. A. Syafei, and R. Gernowo, “Metode Decision Tree untuk Meningkatkan Kualitas Rencana Pelaksanaan Pembelajaran dengan Algoritma C4.5,” J. Penelit. dan Pengemb. Pendidik., vol. 6, no. 3, pp. 510–519, 2022, doi: 10.23887/jppp.v6i3.52840.

R. Osviarni, S. Assegaff, and J. Jasmir, “Enhancement Of The C4.5 Decision Tree Algorithm With Anova For Predicting Academic Achievement Of Students At SMPN.16 Kota Jambi,” J. Tek. Inform., vol. 7, no. 2, pp. 1116–1126, 2026, doi: 10.52436/1.jutif.2026.7.2.5431.

A. Yulianto and F. Firmansyah, “Prediksi Hasil Belajar Peserta Didik Menggunakan Model Multiple Linier Regression,” Remik, vol. 6, no. 4, pp. 654–663, 2022, doi: 10.33395/remik.v6i4.11763.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Penerapan Algoritma C4.5 untuk Klasifikasi Tingkat Pemahaman Mahasiswa pada Mata Kuliah Pemrograman Berdasarkan Hasil Evaluasi Akademik

Dimensions Badge
Article History
Published: 2026-09-30
Abstract View: 42 times
PDF Download: 43 times
Section
Articles