Prediksi Indikasi Depresi Mahasiswa Menggunakan Algoritma Decision Tree C4.5 Berdasarkan Kuesioner PHQ-9
Keywords:
C4.5 Decision Tree, Depression, College Students, PHQ-9, Data Mining, ClassificationAbstract
Depression is a mental health problem frequently experienced by students due to various academic, social, and economic demands. Early identification is necessary so that at-risk students can receive faster treatment. This study aims to develop a predictive model for depression indications in students at Bina Sarana Informatika University using the Decision Tree C4.5 algorithm based on data from the Patient Health Questionnaire-9 (PHQ-9) instrument. The study was conducted by following the Cross Industry Standard Process for Data Mining (CRISP-DM) stages, which include understanding the problem, preparing the dataset, building a classification model, and evaluating the model's performance. The research dataset was obtained from the results of filling out the Patient Health Questionnaire-9 (PHQ-9) questionnaire by Bina Sarana Informatika University students. The instrument consists of nine indicators used to measure depressive symptoms based on the frequency experienced by respondents. Respondents with a total score of at least 10 are classified as indicated as depressed, while respondents with a score below 10 are categorized as not indicated as depressed. The dataset was divided into 80% training data and 20% testing data, resulting in an accuracy of 81.40%. Validation was then performed using 10-Fold Cross Validation. Model evaluation was performed using a confusion matrix, precision, recall, F1-score, and Area Under the Curve (AUC). The results showed that the model achieved an average accuracy of 84.55%, indicating that the C4.5 Decision Tree demonstrated good ability to classify depression in college students. Furthermore, the attribute with the highest Information Gain value was the primary factor in the decision tree formation process, thus enabling it to be used as a basis for developing a data mining-based early detection system.
Downloads
References
[1] I. Setiawan, I. F. Yasin, Y. T. Desianti, and A. Surakarta, “Komparasi Kinerja Algoritma Random Forest , Decision Tree , Naïve Bayes , dan KNN dalam Prediksi Tingkat Depresi Mahasiswa Menggunakan Student Depression Dataset,” vol. 6, no. 1, pp. 47–58, 2025.
[2] A. Alfahrizi, P. Arifiansyah, M. Afandi, and D. D. Riskianto, “Prediksi Depresi Mahasiswa Menggunakan Algoritma Random Forest Berbasis Data Psikososial Depression Prediction Among University Students Using a Random Forest Algorithm Based on Psychosocial Data,” vol. 4, no. 1, pp. 12–21, 2026.
[3] M. I. Rosyadi, “MENTAL,” vol. 13, no. 3.
[4] M. Adhelia, G. R. Wiwenar, and H. S. Wafa, “Klasifikasi Tingkat Depresi Mahasiswa Menggunakan Algoritma Decision Tree C4 . 5,” vol. 5, no. 1, pp. 219–226, 2026.
[5] B. Phq- and T. Akademik, “MENGGUNAKAN MODEL HYBRID XGBOOST DAN SVM,” vol. 14, no. 2.
[6] M. Sadikin, D. Ridha, D. Putri, and A. Amanda, “Deteksi Dini Depresi Mahasiswa Tingkat Akhir Menggunakan Algoritma Naïve Bayes dan Instrumen PHQ-9,” vol. 7, no. 2, pp. 1252–1264, 2025.
[7] N. Renaningtias, T. E. Putri, and E. P. Purwandari, “Studi Komparasi Algoritma Decision Tree C4 . 5 dan K-Nearest Neighbor pada Klasifikasi Masa Studi dan Tingkat Stres Mahasiswa,” pp. 1776–1785, 2024.
[8] U. Budiyanto, T. Fatimah, and B. A. Pratama, “PREDIKSI TINGKAT DEPRESI ( KESEHATAN MENTAL ) MENGGUNAKAN PHQ-9 , NAÏVE BAYES , RANDOM FOREST DAN SUPPORT VECTOR MACHINE PREDICTING DEPRESSION LEVELS ( MENTAL HEALTH ) USING PHQ-9 , NAÏVE BAYES , RANDOM FOREST , AND SUPPORT VECTOR MACHINE,” vol. 13, no. 1, pp. 141–150, 2026.
[9] S. D. Tiara, A. Y. Pratama, F. K. Sari, I. Darmawan, and U. Madura, “Prediksi Risiko Depresi pada Mahasiswa Menggunakan Algoritma Random Forest Berdasarkan Data Akademik dan Gaya Hidup,” vol. 4, no. 1, pp. 1–10, 2025.
[10] R. Puspita, S. Putri, I. Waspada, D. Ilmu, K. Informatika, and F. Sains, “khazanah informatika Penerapan Algoritma C4 . 5 pada Aplikasi Prediksi Kelulusan Mahasiswa Prodi Informatika,” pp. 1–7.
[11] A. N. Husna and A. I. Pradana, “Penerapan Algoritma Decision Tree Untuk Prediksi Tingkat Risiko Jentik Nyamuk Berdasarkan Data Pemeriksaan Posyandu,” vol. 8, pp. 277–285, 2026.
[12] D. Science et al., “Estimasi Keberhasilan Siswa dalam Pemodelan Data Berbasis Learning Menggunakan Algoritma Support Vector Machine,” vol. 1, no. 2, pp. 81–88, 2022.
[13] K. Chandra and S. Prasetyo, “Prediksi Penyakit Jantung Koroner Menggunakan Metode K-NN dan Regresi Logistik Berdasarkan Kerangka Kerja CRISP-DM,” vol. 4, no. 2020, pp. 241–248, 2024.
[14] N. A. Sivi, R. Hartono, and P. Hanafi, “Penerapan Algoritma C4 . 5 untuk Prediksi Kelulusan Mahasiswa berdasarkan Data Akademik,” vol. 1, no. 5, 2023.
[15] R. Forest, D. Tree, and N. Bayes, “JOURNAL PHARMACY AND APPLICATION PREDIKSI DEPRESI : INOVASI TERKINI DALAM KESEHATAN MENTAL MELALUI METODE MACHINE LEARNING DEPRESSION PREDICTION : RECENT INNOVATIONS IN MENTAL HEALTH JOURNAL PHARMACY AND APPLICATION,” vol. 2, no. 1, pp. 9–14, 2024.
[16] P. Studi, T. Informatika, F. Sains, D. A. N. Teknologi, U. Islam, and N. Syarif, “KLASIFIKASI KESEHATAN MENTAL USIA REMAJA MENGGUNAKAN ALGORITMA DECISION,” 2024.
[1] I. Setiawan, I. F. Yasin, Y. T. Desianti, and A. Surakarta, “Komparasi Kinerja Algoritma Random Forest , Decision Tree , Naïve Bayes , dan KNN dalam Prediksi Tingkat Depresi Mahasiswa Menggunakan Student Depression Dataset,” vol. 6, no. 1, pp. 47–58, 2025.
[2] A. Alfahrizi, P. Arifiansyah, M. Afandi, and D. D. Riskianto, “Prediksi Depresi Mahasiswa Menggunakan Algoritma Random Forest Berbasis Data Psikososial Depression Prediction Among University Students Using a Random Forest Algorithm Based on Psychosocial Data,” vol. 4, no. 1, pp. 12–21, 2026.
[3] M. I. Rosyadi, “MENTAL,” vol. 13, no. 3.
[4] M. Adhelia, G. R. Wiwenar, and H. S. Wafa, “Klasifikasi Tingkat Depresi Mahasiswa Menggunakan Algoritma Decision Tree C4 . 5,” vol. 5, no. 1, pp. 219–226, 2026.
[5] B. Phq- and T. Akademik, “MENGGUNAKAN MODEL HYBRID XGBOOST DAN SVM,” vol. 14, no. 2.
[6] M. Sadikin, D. Ridha, D. Putri, and A. Amanda, “Deteksi Dini Depresi Mahasiswa Tingkat Akhir Menggunakan Algoritma Naïve Bayes dan Instrumen PHQ-9,” vol. 7, no. 2, pp. 1252–1264, 2025.
[7] N. Renaningtias, T. E. Putri, and E. P. Purwandari, “Studi Komparasi Algoritma Decision Tree C4 . 5 dan K-Nearest Neighbor pada Klasifikasi Masa Studi dan Tingkat Stres Mahasiswa,” pp. 1776–1785, 2024.
[8] U. Budiyanto, T. Fatimah, and B. A. Pratama, “PREDIKSI TINGKAT DEPRESI ( KESEHATAN MENTAL ) MENGGUNAKAN PHQ-9 , NAÏVE BAYES , RANDOM FOREST DAN SUPPORT VECTOR MACHINE PREDICTING DEPRESSION LEVELS ( MENTAL HEALTH ) USING PHQ-9 , NAÏVE BAYES , RANDOM FOREST , AND SUPPORT VECTOR MACHINE,” vol. 13, no. 1, pp. 141–150, 2026.
[9] S. D. Tiara, A. Y. Pratama, F. K. Sari, I. Darmawan, and U. Madura, “Prediksi Risiko Depresi pada Mahasiswa Menggunakan Algoritma Random Forest Berdasarkan Data Akademik dan Gaya Hidup,” vol. 4, no. 1, pp. 1–10, 2025.
[10] R. Puspita, S. Putri, I. Waspada, D. Ilmu, K. Informatika, and F. Sains, “khazanah informatika Penerapan Algoritma C4 . 5 pada Aplikasi Prediksi Kelulusan Mahasiswa Prodi Informatika,” pp. 1–7.
[11] A. N. Husna and A. I. Pradana, “Penerapan Algoritma Decision Tree Untuk Prediksi Tingkat Risiko Jentik Nyamuk Berdasarkan Data Pemeriksaan Posyandu,” vol. 8, pp. 277–285, 2026.
[12] D. Science et al., “Estimasi Keberhasilan Siswa dalam Pemodelan Data Berbasis Learning Menggunakan Algoritma Support Vector Machine,” vol. 1, no. 2, pp. 81–88, 2022.
[13] K. Chandra and S. Prasetyo, “Prediksi Penyakit Jantung Koroner Menggunakan Metode K-NN dan Regresi Logistik Berdasarkan Kerangka Kerja CRISP-DM,” vol. 4, no. 2020, pp. 241–248, 2024.
[14] N. A. Sivi, R. Hartono, and P. Hanafi, “Penerapan Algoritma C4 . 5 untuk Prediksi Kelulusan Mahasiswa berdasarkan Data Akademik,” vol. 1, no. 5, 2023.
[15] R. Forest, D. Tree, and N. Bayes, “JOURNAL PHARMACY AND APPLICATION PREDIKSI DEPRESI : INOVASI TERKINI DALAM KESEHATAN MENTAL MELALUI METODE MACHINE LEARNING DEPRESSION PREDICTION : RECENT INNOVATIONS IN MENTAL HEALTH JOURNAL PHARMACY AND APPLICATION,” vol. 2, no. 1, pp. 9–14, 2024.
[16] P. Studi, T. Informatika, F. Sains, D. A. N. Teknologi, U. Islam, and N. Syarif, “KLASIFIKASI KESEHATAN MENTAL USIA REMAJA MENGGUNAKAN ALGORITMA DECISION,” 2024.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Arnita Nonot, Nur Aulia Hasanah, Muhammad Sony Maulana, Sri Dewi Ayu Safitri

This work is licensed under a Creative Commons Attribution 4.0 International License.














