Depression Detection of User in Media Social Twitter Using Random Forest
Abstract
One of the disorders of mental health that often occurs in individuals is depression. Identifying depression in the first place is important for the individual. But in fact, conducting an early examination of depression still has some drawbacks. If it continues to be ignored, this can have an impact on the health of the individual. Therefore, there is a need for other methods that can represent the level of depression in individuals, through other media such as social media such as Twitter. Twitter has become one of the media to tell what users of the application experience or feel. This is encouraging to detect of depression in Twitter users. The data used is data taken from the results of the distribution of forms based on DASS-42 with a total of 159 Twitter users for each username taken 100 tweets. This study uses the Word2Vec extraction feature, to convert data from text to vector by looking at the relationship of each word and Random Forest as a classification method, to maintain the balance of data in different classes, especially very large data sets. Based on the test results, the Random Forest model produces an accuracy of 68.75%.
Downloads
References
I. Fadila, “Mental Illness (Gangguan Mental): Gejala, Penyebab dan Pengobatan. Hello Sehat.,” [online] Available at: https://hellosehat.com/mental/penyakit-mental/. 2021.
J. Pieper and M. van Uden, Religion in Coping and Mental Health Care. New York.: Yord University Press, 2006.
L. Geggel, “Severe Stress and Depression Increase Risk of Early Death. Live Science.,” [online] Available at: https://www.livescience.com/50101-stress-depression-early-death-risk.html [Accessed 2 November 2021]. 2015.
World Health Organization, “Depression,” [online] Available at: https://www.who.int/health-topics/depression#tab=tab_1 [Accessed 2 November 2021]. 2021.
World Health Organization, “In Prevention of Mental Disorders: Effective Interventions and Policy Options : Summary Report (pp. 1-68),” Available at: https://www.who.int/mental_health/evidence/en/prevention_of_mental_disorders_sr.pdf [Accessed 2 November 2021]. 2004.
D. Bestari, “Efektivitas Kuesioner PHQ-9 Sebagai Skrining Deteksi Dini Depresi . Alomedika,” [online] Available at: https://www.alomedika.com/efektivitas-kuesioner-ph-9-sebagai-skrining-deteksi-dini-depresi [Accessed 6 November 2021]. Mar. 2020.
A. S. A. Maharani, “Sering Diabaikan, Kenali 3 Gejala Depresi pada Pria,” Kompas.com, Oct. 10, 2021. https://www.kompas.com/sains/read/2021/10/10/180300023/sering-diabaikan-kenali-3-gejala-depresi-pada-pria?page=all (accessed Nov. 06, 2021).
W. Santos, A. Funabashi, and I. Paraboni, “Searching Brazilian Twitter for Signs of Mental Health Issues,” vol. Proceeding, pp. 6111–6117, 2020, [Online]. Available: https://aclanthology.org/2020.lrec-1.750
T. R. RAMADAN, “MENDETEKSI GEJALA DEPRESI PENGGUNA TWITTER MENGGUNAKAN ALGORITMA NAÏVE BAYES CLASSIFIER,” Karya Ilmiah - Skripsi (S1) - Reference, 2020.
E. C. P. Witjaksana, “PERBANDINGAN AKURASI ALGORITMA RANDOM FOREST DAN ALGORITMA ARTIFICIAL NEURAL NETWORK UNTUK KLASIFIKASI PENYAKIT DIABETES,” Karya Ilmiah - Skripsi (S1), 2021.
A. H. Orabi, P. Buddhitha, M. H. Orabi, and D. Inkpen, “Deep Learning for Depression Detection of Twitter Users. Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic,” Proceedings of the Fifth Workshop on Computational Linguistics and Clinical Psychology: From Keyboard to Clinic, pp. 88–97, 2018, doi: 10.18653/v1/W18-0609.
M. Belgiu and L. Dragut, “Random forest in remote sensing: A review of applications and future directions,” ISPRS Journal of Photogrammetry and Remote Sensing, vol. 114, pp. 24–31, 2016, doi: https://doi.org/10.1016/j.isprsjprs.2016.01.011.
S. & K. Tsugawa Yusuke & Kishino Fumio & Nakajima Kosuke & Itoh Yuichi & Ohsaki Hiroyuki, “Recognizing Depression from Twitter Activity. 3187-3196. 10.1145/2702123.2702280.,” 2015.
F. M. Shah et al., “Early Depression Detection from Social Network Using Deep Learning Techniques,” IEEE, no. 2642–6102, 2020, [Online]. Available: 10.1109/TENSYMP50017.2020.9231008
S. R. Marsidi, “IDENTIFICATION OF STRESS, ANXIETY, AND DEPRESSION LEVELS OF STUDENTS IN PREPARATION FOR THE EXIT EXAM COMPETENCY TEST,” Journal of Vocational Health Studies, vol. 5, no. 2, p. 87, Nov. 2021, doi: 10.20473/jvhs.v5.i2.2021.87-93.
Novopsych, “Depression Anxiety Stress Scales – Long Form (DASS-42),” [online] Available at: https://novopsych.com.au/assessments/depression/depression-anxiety-stress-scales-long-form-dass-42/ [Accessed 2 December 2021].
S. Kusumadewi and H. Wahyuningsih, “Model Sistem Pendukung Keputusan Kelompok untuk Penilaian Gangguan Depresii, Kecemasan dan Stress Berdasarkan DASS-42,” vol. 7, no. 2, 2020, doi: http://dx.doi.org/10.25126/jtiik.2020721052.
T. Mikolov, K. Chen, G. Corrado, and J. Dean, “Efficient Estimation of Word Representations in Vector Space,” Proceedings of Workshop at ICLR, 2013, doi: https://doi.org/10.48550/arXiv.1301.3781 Focus to learn more.
G. Biau and E. Scornet, “A Random Forest Guided Tour,” TEST, 2015, doi: TEST. 25. 10.1007/s11749-016-0481-7.
A. Yanuar R, “Random Forest,” Universitas Gadjah Mada Menara Ilmu Machine Learning, Jul. 2018.
B. Sartono, “Random Forest. RPubs.,” [online] Available at: https://rpubs.com/bagusco/randomforest [Accessed 26 November 2021]., Apr. 2020. [Online]. Available: https://rpubs.com/bagusco/randomforest
J. Han, M. Kamber, and J. Pei, Data Mining: Concepts and Techniques (The Morgan Kaufmann Series in Data Management Systems), 3rd edition. Elsevier Science LtdPublication, 2011.
S. Narkhede, “Understanding Confusion Matrix.Towards Data Science,” [online] Available at: https://towardsdatascience.com/understanding-confusion-matrix-a9ad42dcfd62 [Accessed 3 December 2021], 2018.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Depression Detection of User in Media Social Twitter Using Random Forest
Pages: 410-416
Copyright (c) 2022 Aldy Renaldi, Warih Maharani

This work is licensed under a Creative Commons Attribution 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 Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment 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 acknowledgment 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 (Refer to The Effect of Open Access).






















