Implementation of Decision Tree with Best Subset Approach to Identify Suicide Cases in Central and East Java

Authors

  • Moh. Miftahul Choiri Universitas Nahdlatul Ulama Sunan Giri
  • Denny Nurdiansyah Universitas Nahdlatul Ulama Sunan Giri
  • Auliyaur Rokhim Universitas Nahdlatul Ulama Sunan Giri
  • Pebriana Putri Patmawati Universitas Nahdlatul Ulama Sunan Giri
  • Putri Vatria Pebriani Universitas Nahdlatul Ulama Sunan Giri

DOI:

https://doi.org/10.21512/comtech.v16i1.12265

Keywords:

Decision Tree method, Best Subset approach, suicide cases

Abstract

The research was conducted to determine the descriptive statistics of suicide cases and classify suicide cases based on the attributes of victims who made suicide attempts. The research design used was a quantitative method in the form of exploratory research using the Decision Tree method. The research novelty was applying the Decision Tree method with the Best Subset approach. The research data sources were obtained from online mass media news such as DetikJatim and DetikJateng for suicide attempt cases from January 2022 to July 2024. The research finds significant differences in the number of suicide attempts in East Java and Central Java, with Surabaya, Malang, Blitar, Semarang, and Klaten recording higher numbers. The findings show that males more often attempt suicide, while females more often experience failed attempts. Young adults (20−39 years) record the highest rate, and hanging is the most common method. Unknown mental disorders and depression are the main risk factors, with many attempts occurring without rescue. The implication is that improving emergency response systems and mental health services is essential. The research recommends strengthening mental health and social support for older adults and those under stress. Then, enhancing rapid rescue efforts with comprehensive psychological interventions is essential for suicide prevention. The originality of the research lies in the use of a Decision Tree with the Best Subset approach to identify suicide patterns based on risk factors and methods used.

Dimensions

Plum Analytics

Author Biographies

Moh. Miftahul Choiri, Universitas Nahdlatul Ulama Sunan Giri

Statistics Study Program, Faculty of Science and Technology

Denny Nurdiansyah, Universitas Nahdlatul Ulama Sunan Giri

Statistics Study Program, Faculty of Science and Technology

Auliyaur Rokhim, Universitas Nahdlatul Ulama Sunan Giri

Statistics Study Program, Faculty of Science and Technology

Pebriana Putri Patmawati, Universitas Nahdlatul Ulama Sunan Giri

Statistics Study Program, Faculty of Science and Technology

Putri Vatria Pebriani, Universitas Nahdlatul Ulama Sunan Giri

Statistics Study Program, Faculty of Science and Technology

References

Aminudin, M. (2024, January 9). Motif mahasiswa Malang bunuh diri gegara depresi skripsi tak selesai. Detikjatim. https://www.detik.com/jatim/berita/d-7132997/motif-mahasiswa-malang-bunuh-diri-gegara-depresi-skripsi-tak-selesai

Baihaqi, A. (2023, December 19). Tiga tragedi satu keluarga bunuh diri yang gemparkan Jatim. Detikjatim. https://www.detik.com/jatim/berita/d-7097707/tiga-tragedi-satu-keluarga-bunuh-diri-yang-gemparkan-jatim

Bertsimas, D., & Dunn, J. (2017). Optimal classification trees. Machine Learning, 106, 1039–1082. https://doi.org/10.1007/s10994-017-5633-9

Caruana, R., & Freitag, D. (1994). Greedy attribute selection. In Machine Learning Proceedings 1994 (pp. 28–36). Elsevier. https://doi.org/10.1016/B978-1-55860-335-6.50012-X

Draper, N. R., & Smith, H. (1998). Applied regression analysis. John Wiley & Sons, Inc.

Ghiasi, M. M., & Zendehboudi, S. (2021). Application of decision tree-based ensemble learning in the classification of breast cancer. Computers in Biology and Medicine, 128. https://doi.org/10.1016/j.compbiomed.2020.104089

Gkikas, D. C., Theodoridis, P. K., Theodoridis, & Gkikas, M. C. (2023). Finding good attribute subsets for improved decision trees using a genetic algorithm wrapper; a supervised learning application in the food business sector for wine type classification. Informatics, 10(3), 1–30. https://doi.org/10.3390/informatics10030063

Gunnell, D., Appleby, L., Arensman, E., Hawton, K., John, A., Kapur, N., ... & Yip, P. S. (2020). Suicide risk and prevention during the COVID-19 pandemic. The Lancet Psychiatry, 7(6), 468–471. https://doi.org/10.1016/S2215-0366(20)30171-1

Hamzah, V. D. S., & Triwahyuni, A. (2023). Kesepian sebagai faktor prediktif ide bunuh diri dikalangan mahasiswa: Studi pada mahasiswa Universitas Padjadjaran selama pandemi COVID-19. MEDIAPSI, 9(2), 85–97. https://doi.org/10.21776/ub.mps.2023.009.02.894

Jakaria, Nasution, H. H., Lubis, F. H., & Ramadi, B. (2023). Analisis hukum Islam tentang bunuh diri dan faktor-faktor pemicunya: Ditinjau dari psikologis, sosial, dan kesehatan mental serta kaitannya dalam pasal 345 KUHP. Triwikrama: Jurnal Ilmu Sosial, 2(3), 81–90.

Jawalkar, A. P., Swetcha, P., Manasvi, N., Sreekala, P., Aishwarya, S., Kanaka Durga Bhavani, P., & Anjani, P. (2023). Early prediction of heart disease with data analysis using supervised learning with stochastic gradient boosting. Journal of Engineering and Applied Science, 70, 1–18. https://doi.org/10.1186/s44147-023-00280-y

Jijo, B. T., & Abdulazeez, A. M. (2021). Classification based on decision tree algorithm for machine learning. Journal of Applied Science and Technology Trends, 2(1), 20–28. https://doi.org/10.38094/jastt20165

Krista, P. (2024, January 12). Pasutri ketua pecalang bunuh diri di Pantai Gunaksa diduga karena utang. Detikbali. https://www.detik.com/bali/hukum-dan-kriminal/d-7138841/pasutri-ketua-pecalang-bunuh-diri-di-pantai-gunaksa-diduga-karena-utang

Kuhn, M. (2024, December 10). caret: Classification and regression training. Comprehensive R Archive Network (CRAN). https://cran.r-project.org/package=caret

Lee, C. S., Cheang, P. Y. S., & Moslehpour, M. (2022). Predictive analytics in business analytics: Decision tree. Advances in Decision Sciences, 26(1), 1–29. https://doi.org/10.47654/v26y2022i1p1-30

Meyer, D., Dimitriadou, E., Hornik, K., Weingessel, A., & Leisch, F. (2024, September 16). E1071: Misc functions of the department of statistics, probability theory group (Formerly: E1071), TU Wien. Comprehensive R Archive Network (CRAN). https://cran.r-project.org/package=e1071

Milborrow, S. (2024, February 26). rpart.plot: Plot 'rpart' Models: An enhanced version of 'plot.rpart'. Comprehensive R Archive Network (CRAN). https://cran.r-project.org/package=rpart.plot

Miller, J. N., & Black, D. W. (2020). Bipolar disorder and suicide: A review. Current Psychiatry Reports, 22. https://doi.org/10.1007/s11920-020-1130-0

Murthy, S. K. (1998). Automatic construction of decision trees from data: A multi-disciplinary survey. Data Mining and Knowledge Discovery, 2, 345–389. https://doi.org/10.1023/A:1009744630224

Nurdiansyah, D. (2023). The investigation of the acceptance of students against Microsoft Teams learning with the SEM-PLS approach. Vygotsky: Jurnal Pendidikan Matematika Dan Matematika, 5(1), 13–28. https://doi.org/10.30736/voj.v5i1.686

Nurdiansyah, D., & Sulistiawan, A. (2023). Dasar pemrograman komputer dengan open source software R (Untuk bidang sains dan teknologi). CV. AA. Rizky.

Purbaya, A. A. (2023, October 13). Jateng tertinggi kasus bunuh diri, psikolog: Saatnya menyapa orang terdekat. Detikjateng. https://www.detik.com/jateng/berita/d-6980270/jateng-tertinggi-kasus-bunuh-diri-psikolog-saatnya-menyapa-orang-terdekat

Ruggieri, S. (2019). Complete search for feature selection in decision trees. Journal of Machine Learning Research, 20(104), 1–34.

Sianturi, R., & Zulaeha, A. (2022). Increasing of suicide in Pandemic COVID 19 by depression. Jurnal Ilmiah Keperawatan Altruistik, 5(1), 1–10.

Tangirala, S. (2020). Evaluating the impact of GINI index and information gain on classification using decision tree classifier algorithm*. International Journal of Advanced Computer Science and Applications (IJACSA), 11(2), 612–619. https://doi.org/10.14569/IJACSA.2020.0110277

Therneau, T., & Atkinson, B. (2025, January 7). rpart: Recursive partitioning and regression trees. Comprehensive R Archive Network (CRAN). https://cran.r-project.org/package=rpart

Wahyuningrum, T., Prasetyo, N. A., Bahtiar, A. R., Latifah, L., Ramadhani, I. D., & Yunitawati, D. (2022). Google Trends data about mental health during COVID-19 pandemic using time series regression. In 2022 5th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI) (pp. 125–129). IEEE. https://doi.org/10.1109/ISRITI56927.2022.10052965

Warnes, G. R., Bolker, B., Lumley, T., Magnusson, A., Venables, B., Ryodan, G., & Moeller, S. (2023, November 20). gtools: Various R programming tools. Comprehensive R Archive Network (CRAN). https://cran.r-project.org/package=gtools

Wasserman, D., Sokolowski, M., & Carli, V. (2020). Suicide. In E. Ryznar, A. B. Pederson, M. A. Reinecke, & J. G. Csernansky (Eds.), Landmark papers in psychiatry (pp. 363–380). Oxford University Press. https://doi.org/10.1093/med/9780198836506.003.0022

Zhao, L., Lee, S., & Jeong, S. P. (2021). Decision tree application to classification problems with boosting algorithm. Electronics, 10(16), 1–13. https://doi.org/10.3390/electronics10161903

Downloads

Published

2025-05-23

How to Cite

Choiri, M. M., Nurdiansyah, D., Rokhim, A., Patmawati, P. P., & Pebriani, P. V. (2025). Implementation of Decision Tree with Best Subset Approach to Identify Suicide Cases in Central and East Java. ComTech: Computer, Mathematics and Engineering Applications, 16(1), 35–49. https://doi.org/10.21512/comtech.v16i1.12265
Abstract 103  .
PDF downloaded 3  .