Implementasi Algoritma Support Vector Machine dalam Deteksi Depresi Pada Twitter

  • Vinna Setiawan Universitas Udayana
  • I Ketut Gede Suhartana


Mental health is an important part of human life. Over time, mental health is getting more attention along with the increasing number of people who experience mental health disorders. For example, in the U.S., 1 in 5 adults has a mental health disorder, with 8% experiencing depression[1]. Social media, one of which is Twitter as a place for opinions and voices, is often a place for people to convey what they feel. Therefore, writings posted on twitter can be an option to detect a person's mental health, namely depression. To classify between writings that have the characteristics of depression and not, the Support Vector Machine method is used. Based on testing on the Support Vector Machine method for depression classification, the highest accuracy value was obtained at 85,6%.


[1] “Mental Health Statistics Going into 2022 - PDG Rehabilitation Services.” (accessed Sep. 25, 2022).
[2] “Depression.” (accessed Sep. 26, 2022).
[3] Datareportal, “The Latest Instagram Statistics: Everything You Need to Know — DataReportal – Global Digital Insights,” Kepios, 2022. (accessed Sep. 29, 2022).
[4] P. Arsi and R. Waluyo, “Analisis Sentimen Wacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM),” J. Teknol. Inf. dan Ilmu Komput., vol. 8, no. 1, p. 147, 2021, doi: 10.25126/jtiik.0813944.
[5] N. Fitriyah, B. Warsito, and D. A. I. Maruddani, “Analisis Sentimen Gojek Pada Media Sosial Twitter Dengan Klasifikasi Support Vector Machine (Svm,” J. Gaussian, vol. 9, no. 3, pp. 376–390, 2020, doi: 10.14710/j.gauss.v9i3.28932.
[6] R. Kusumaningrum, I. Z. Nisa, R. P. Nawangsari, and A. Wibowo, “Sentiment analysis of Indonesian hotel reviews: from classical machine learning to deep learning,” Int. J. Adv. Intell. Informatics, vol. 7, no. 3, pp. 292–303, 2021, doi: 10.26555/ijain.v7i3.737.
[7] N. Giarsyani, “Komparasi Algoritma Machine Learning dan Deep Learning untuk Named Entity Recognition : Studi Kasus Data Kebencanaan,” Indones. J. Appl. Informatics, vol. 4, no. 2, p. 138, 2020, doi: 10.20961/ijai.v4i2.41317.
[8] H. Al Azies, D. Trishnanti, and E. M. P. H, “Comparison of Kernel Support Vector Machine ( SVM ) in Classification of Human Development Index ( HDI ),” vol. 6, no. 6, 2019.
[9] S. Awasthi, “Seven Most Popular SVM Kernels,” 2020. (accessed Sep. 29, 2022).
How to Cite
SETIAWAN, Vinna; SUHARTANA, I Ketut Gede. Implementasi Algoritma Support Vector Machine dalam Deteksi Depresi Pada Twitter. Jurnal Nasional Teknologi Informasi dan Aplikasinya (JNATIA), [S.l.], v. 1, n. 1, p. 285-290, nov. 2022. Available at: <>. Date accessed: 27 jan. 2023.

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.