Journal of Information Systems Engineering and Business Intelligence
Vol. 8 No. 2 (2022): October

Lexicon and Naive Bayes Algorithms to Detect Mental Health Situations from Twitter Data

Sheila Shevira (Department of Information Technology, Faculty of Engineering, Udayana University, Indonesia)
I Made Agus Dwi Suarjaya (Department of Information Technology, Faculty of Engineering, Udayana University, Indonesia)
Putu Wira Buana (Department of Information Technology, Faculty of Engineering, Udayana University, Indonesia)



Article Info

Publish Date
29 Oct 2022

Abstract

Background: Twitter is a popular social media where users express emotions, thoughts, and opinions that cannot be channelled in the real world. They do this by tweeting short, concise, and clear messages. Since users often express themselves, Twitter data can detect mental health trends. Objective: This study aims to detect suicidal messages through tweets written by users with mental health issues. Methods: These tweets are analysed and classified using the lexicon-based and Naive Bayes algorithms to determine whether it contains suicidal messages. Results: The classification results show that the ‘normal’ classification is predominant at 52.3% of the total 3,034,826 tweets, which indicates an increase from September to December 2021. Conclusion: Most tweets are categorised as ‘normal’, therefore the mental health status appears secure. However, this finding needs to be re-examined in the future, especially in DKI Jakarta Province, which has the most cases of mental disorders. This study found that the Naive Bayes algorithm is more accurate (85.5%) than the lexicon-based algorithm. This can be improved in future studies by increasing performance at the pre-processing stage.   Keywords: Lexicon Based, Mental Disorder, Mental Health, Naïve Bayes, Twitter

Copyrights © 2022






Journal Info

Abbrev

JISEBI

Publisher

Subject

Computer Science & IT

Description

Jurnal ini menerima makalah ilmiah dengan fokus pada Rekayasa Sistem Informasi ( Information System Engineering) dan Sistem Bisnis Cerdas (Business Intelligence) Rekayasa Sistem Informasi ( Information System Engineering) adalah Pendekatan multidisiplin terhadap aktifitas yang berkaitan dengan ...