Penerapan Metode K-Nearest Neighbor untuk Mengetahui Tipe Gangguan Kecemasan Berdasarkan Faktor yang Mempengaruhi

Authors

  • Zehy Fadia STMIK Kaputama Binjai
  • Yani Maulita STMIK Kaputama Binjai
  • Husnul Khair STMIK Kaputama Binjai

DOI:

https://doi.org/10.61132/merkurius.v3i6.1137

Keywords:

Anxiety Disorder, K-Nearest Neighbor, Classification, MATLAB, Mental Health

Abstract

Anxiety disorders are common mental health problems in society, often unrecognized by the sufferer. Identifying the type of anxiety disorder and its influencing factors is crucial for proper treatment. This research aims to apply the K-Nearest Neighbor (K-NN) method in identifying types of anxiety disorders based on influencing factors, focusing on patient data from Sylvani Hospital, Binjai. The K-NN method was chosen because of its ability to classify based on data proximity. This study used medical record data of patients with anxiety disorders, which were processed using MATLAB and Microsoft Excel software. The results show that the K-NN method is effective in identifying types of anxiety disorders, with a high level of accuracy, especially in the identification of Panic Disorder (K05) and Social Anxiety Disorder (K03). The use of MATLAB simplified the identification process by automating results, while data processing in Excel improved classification accuracy. This study concludes that the K-NN method can be an effective alternative in identifying anxiety disorder types based on the factors that influence them. It is recommended for future research to involve more variables and mental health experts for a more comprehensive validation of the results.

References

Akbarollah, M. F., Wiyanto, W., Ardiatma, D., & Zy, A. T. (2023). Penerapan algoritma K-Nearest Neighbor dalam klasifikasi penyakit jantung. Journal of Computer System and Informatics (JoSYC), 4(4), 850–860. https://doi.org/10.47065/josyc.v4i4.4071

Anwar, S. N., Amin, F., & Nugroho, S. (2014). Desain UML aplikasi navigasi layanan kesehatan berbasis Android. Seminar Nasional Sistem Informasi Indonesia, (September), 250–254.

Aryati, K., & FR, C. (2020). Seorang laki-laki usia 27 tahun dengan gangguan panik. Medula, 9(4), 749–753.

Asmarani, A., Permana, I., Putri, A., Wijaya, M. R., Rasywir, E., Meisak, D., & Pratama, Y. (2022). Implementasi algoritma K-Nearest Neighbor untuk memprediksi penyakit diabetes. Jurnal Informatika dan Rekayasa Komputer (JAKAKOM), 2(2), 231–239. https://doi.org/10.33998/jakakom.2022.2.2.110

Bahri, S., & Lubis, A. (2020). Metode klasifikasi Decision Tree untuk memprediksi juara English Premier League. Jurnal Sintaksis, 2(1), 63–70.

Cholil, S. R., Handayani, T., Prathivi, R., & Ardianita, T. (2021). Implementasi algoritma klasifikasi K-Nearest Neighbor (KNN) untuk klasifikasi seleksi penerima beasiswa. IJCIT (Indonesian Journal on Computer and Information Technology), 6(2), 118–127. https://doi.org/10.31294/ijcit.v6i2.10438

Dwi Fasnuari, H. A., Yuana, H., & Chulkamdi, M. T. (2022). Penerapan algoritma K-Nearest Neighbor untuk klasifikasi penyakit diabetes melitus. Antivirus: Jurnal Ilmiah Teknik Informatika, 16(2), 133–142. https://doi.org/10.35457/antivirus.v16i2.2445

Jasmir, Abidin, D. Z., Nurmaini, S., & Malik, R. F. (2017). Penerapan metode K-Nearest Neighbor dalam memprediksi masa studi mahasiswa (studi kasus: Mahasiswa STIKOM Dinamika Bangsa). Prosiding Annual Research Seminar, 3(1), 133–138.

Kristanti, D. W., & Shanti, L. P. K. (2022). Hubungan antara konsep diri dengan kecemasan sosial pada remaja di SMA N 1 Purwodadi. Konstelasi Ilmiah Mahasiswa Unissula (KIMU), 7(000), 56–63.

Nahjan, R., Heryana, N., & Voutama, A. (2023). Implementasi RapidMiner dengan metode clustering K-Means untuk analisa penjualan pada Toko Oj Cell. JATI (Jurnal Mahasiswa Teknik Informatika), 7(1), 101–104. https://doi.org/10.36040/jati.v7i1.6094

National Institute of Mental Health. (n.d.). Agoraphobia. Retrieved September 24, 2024, from https://www.nimh.nih.gov/health/statistics/agoraphobia

National Institute of Mental Health. (n.d.). Post-traumatic stress disorder (PTSD). Retrieved September 24, 2024, from https://www.nimh.nih.gov/health/trials/post-traumatic-stress-disorder-ptsd

National Institute of Mental Health. (n.d.). Social anxiety disorder: More than just shyness. Retrieved September 24, 2024, from https://www.nimh.nih.gov/health/publications/social-anxiety-disorder-more-than-just-shyness

National Institute of Mental Health. (n.d.). Specific phobia. Retrieved September 24, 2024, from https://www.nimh.nih.gov/health/statistics/specific-phobia

Nevid, J. S., Rathus, S. A., & Greene, B. (2005). Psikologi abnormal (Edisi ke-5, Jilid 1, hlm. 96–101). Jakarta: Erlangga.

Nugraha, A. D. (2020). Memahami kecemasan: Perspektif psikologi Islam. IJIP: Indonesian Journal of Islamic Psychology, 2(1), 1–22. https://doi.org/10.18326/ijip.v2i1.1-22

Öhman, A. (2008). Fear and anxiety. In M. Lewis, J. M. Haviland-Jones, & L. F. Barrett (Eds.), Handbook of emotions (pp. 709–729). New York: Guilford Press.

Raharjo, J. S. D., Damiyana, D., & Hidayatullah, M. (2016). Sistem pakar diagnosa penyakit lambung dengan metode forward chaining berbasis Android. Sisfotek Global, 6(2), 1–8. https://doi.org/10.51544/jurnalmi.v6i2.2257

Ramadhon, R. N., Ogi, A., Agung, A. P., Putra, R., Febrihartina, S. S., & Firdaus, U. (2024). Implementasi algoritma Decision Tree untuk klasifikasi pelanggan aktif atau tidak aktif pada data bank. Karimah Tauhid, 3(2), 1860–1874. https://doi.org/10.30997/karimahtauhid.v3i2.11952

Reza, D. A. M., Siregar, A. M., & Rahmat. (2022). Penerapan algoritma K-Nearest Neighbor untuk prediksi kematian akibat penyakit gagal jantung. Scientific Student Journal for Information, Technology and Science, 3(1), 105–112.

Rizal, R., Martanto, M., & Wijaya, Y. A. (2022). Analisa dataset software defined network intrusion menggunakan algoritma deep learning H2O. JATI (Jurnal Mahasiswa Teknik Informatika), 6(2), 747–757. https://doi.org/10.36040/jati.v6i2.5724

Suryasari, C., & Sari, J. (2012). Rancangan aplikasi customer service pada PT Lancar Makmur Bersama. Jurnal Sistem Informasi (JSI), 4(2), 468–476.

Tjolleng, A. (2018). Buku pengantar pemrograman MATLAB: Panduan praktis belajar MATLAB. ResearchGate.

World Health Organization. (2019). Anxiety disorders. https://www.who.int/news-room/fact-sheets/detail/anxiety-disorders

Yulia, E. R. (2017). Perancangan program penjualan perhiasan emas pada Toko Mas dan Permata Renny Medan. Evolusi: Jurnal Sains dan Manajemen, 5(2). https://doi.org/10.31294/evolusi.v5i2.2595

Yulianeu, A., & Oktamala, R. (2022). Sistem informasi geografis trayek angkutan umum di Kota Tasikmalaya berbasis web. JUTEKIN (Jurnal Teknik Informatika), 10(2). https://doi.org/10.51530/jutekin.v10i2.669

Yunus, M., Ramadhan, H., Aji, D. R., & Yulianto, A. (2021). Penerapan metode data mining C4.5 untuk pemilihan penerima Kartu Indonesia Pintar (KIP). Paradigma: Jurnal Komputer dan Informatika, 23(2). https://doi.org/10.31294/p.v23i2.11395

Downloads

Published

2025-10-30

How to Cite

Zehy Fadia, Yani Maulita, & Husnul Khair. (2025). Penerapan Metode K-Nearest Neighbor untuk Mengetahui Tipe Gangguan Kecemasan Berdasarkan Faktor yang Mempengaruhi. Merkurius : Jurnal Riset Sistem Informasi Dan Teknik Informatika, 3(6), 41–58. https://doi.org/10.61132/merkurius.v3i6.1137