Analisis Penyakit Mental Menggunakan Algoritma XGBoost
Downloads
Kesehatan mental merupakan bagian penting dalam kesejahteraan individu, dengan gangguan mental seperti skizofrenia, bipolar, dan depresi yang dapat memengaruhi kualitas hidup. Namun, diagnosa yang akurat untuk membedakan jenis gangguan ini seringkali menjadi tantangan karena gejala yang saling tumpang tindih. Penelitian ini bertujuan untuk mengklasifikasikan tiga jenis gangguan mental menggunakan algoritma XGBoost dan mengidentifikasi fitur penting yang berpengaruh dalam proses klasifikasi. Metode yang digunakan mencakup pengumpulan data dari dataset Kaggle yang berisi 3753 data pasien dengan 53 atribut dan 3 kelas gangguan mental. Proses pre-processing dilakukan untuk menormalkan data, yang kemudian digunakan untuk melatih model XGBoost. Hasil penelitian menunjukkan akurasi model sebesar 98,67% dengan nilai precision, recall, dan F1-score yang sangat tinggi, menunjukkan bahwa XGBoost efektif dalam mengklasifikasikan gangguan mental. Fitur utama yang berpengaruh dalam klasifikasi antara lain halusinasi, pikiran atau ucapan yang tidak teratur, dan delusi. Penelitian ini menyarankan penelitian lebih lanjut untuk pengembangan fitur dan validasi klinis model ini dalam konteks dunia medis.
Association, A. P. (2022). Diagnostic and Statistical Manual of Mental Disorders (DSM-5-TR) (5th ed.). APA.
Budholiya, A., Shrivastava, R., & Sharma, V. (2022). XGBoost-Based Expert System for Heart Disease Prediction Optimized with Bayesian Optimization. Journal of Healthcare Engineering, 2022, 1–10. https://doi.org/10.1155/2022/5642185
Budholiya, K., Shrivastava, S. K., & Sharma, V. (2022). An optimized XGBoost based diagnostic system for effective prediction of heart disease. Journal of King Saud University - Computer and Information Sciences, 34(7), 4514–4523. https://doi.org/10.1016/j.jksuci.2021.01.012
Cohen, T. R., Fronk, G. E., Kiehl, K. A., Curtin, J. J., & Koenigs, M. (2024). Clarifying the relationship between mental illness and recidivism using machine learning: A retrospective study. PLoS ONE, 19(2), 1–19. https://doi.org/10.1371/journal.pone.0297515
Haryaji, B. P. (2018). Penerapan Algoritma K-Means Untuk Memetakan Garis Kemiskinan Menurut Provinsi Di Indonesia. Universitas Indonesia.
Inoue, T., Ichikawa, D., Ueno, T., Cheong, M., Inoue, T., Whetstone, W. D., Endo, T., Nizuma, K., & Tominaga, T. (2020). XGBoost, a Machine Learning Method, Predicts Neurological Recovery in Patients with Cervical Spinal Cord Injury. Neurotrauma Reports, 1(1), 8–16. https://doi.org/10.1089/neur.2020.0009
Le, T. T. H., Oktian, Y. E., & Kim, H. (2022). XGBoost for Imbalanced Multiclass Classification-Based Industrial Internet of Things Intrusion Detection Systems. Sustainability, 14(14), 1–21. https://doi.org/10.3390/su14148707
Lee, S., & Kim, J. (2022). Feature Importance Analysis in Mental Health Prediction Using Machine Learning. Applied Sciences, 12(18), 9312–9325. https://doi.org/10.3390/app12189312
Nguyen, T., Pham, L., & Doan, H. (2020). Depression Detection Using XGBoost: A Machine Learning Approach. Procedia Computer Science, 176, 3330–3339. https://doi.org/10.1016/j.procs.2020.09.038
Organization, W. H. (2021). Depression and Other Common Mental Disorders: Global Health Estimates. WHO.
Patel, R., Mehta, K., & Shah, N. (2021). Classification of Bipolar and Schizophrenia Disorders Using XGBoost Algorithm. International Journal of Artificial Intelligence Research, 5(4), 45–53.
Rahman, A., Alam, M., & Hasan, R. (2023). Comparative Study of Machine Learning Models for Mental Disorder Classification. IEEE Access, 11, 57289–57298. https://doi.org/10.1109/ACCESS.2023.3281234
Setiawan, D., & Nuraini, L. (2024). Evaluasi Sistem Pencatatan Kasus Kesehatan Mental di Rumah Sakit Umum Daerah. Jurnal Sistem Informasi Kesehatan, 8(1), 12–20.
Shwartz, S. (2021). The Role of Model Selection in Real-World Classification Tasks. IEEE Transactions on Artificial Intelligence, 2(3), 245–256. https://doi.org/10.1109/TAI.2021.3091494
Singh, P., & Garg, R. (2021). Application of XGBoost Algorithm in Medical Diagnosis: A Review. Procedia Computer Science, 190, 341–348. https://doi.org/10.1016/j.procs.2021.06.040
Undata, R. (2025a). Laporan Kunjungan Pasien Poliklinik Jiwa Tahun 2021–2025. RSUD Undata.
Undata, R. (2025b). Laporan Tahunan Poliklinik Jiwa RSUD Undata Palu 2021–2025. RSUD Undata.
Vigo, D., Thornicroft, G., & Atun, R. (2022). Estimating the true global burden of mental illness. The Lancet Psychiatry, 9(6), 446–455. https://doi.org/10.1016/S2215-0366(21)00505-2
Yang, Y., Liu, Q., & Zhang, H. (2022). Overlapping Clinical and Genetic Features in Schizophrenia, Bipolar Disorder, and Major Depression. Nature Reviews Psychiatry, 19(4), 210–222. https://doi.org/10.1038/s41537-022-00240-4
Yuliana, R., Sari, M., & Gunawan, T. (2023). Tren Kasus Gangguan Mental di Rumah Sakit Umum Daerah: Analisis Lima Tahun. Jurnal Kesehatan Jiwa Indonesia, 10(2), 87–95.
Zhang, Y., Li, J., & Wang, H. (2022). Challenges in Diagnosing Overlapping Psychiatric Disorders. Frontiers in Psychiatry, 13, 1–10. https://doi.org/10.3389/fpsyt.2022.876979
Zhao, L., Wang, K., & Sun, Y. (2022). Interpretability of Machine Learning Models for Healthcare Data. BMC Medical Informatics and Decision Making, 22(8), 101–113. https://doi.org/10.1186/s12911-022-01745-x
Copyright (c) 2026 Natalia Anastasya Landusa, Rizka Ardiansyah, Deny Wiria Nugraha, Chairunnisa Lamasitudju, Dwi Shinta Angreni

This work is licensed under a Creative Commons Attribution-ShareAlike 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 a Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA). that allows others to share the work with an acknowledgement 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 acknowledgement 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.





