Sheila Shevira, I. M. A. D. Suarjaya, Putu Wira Buana
{"title":"Lexicon and Naive Bayes Algorithms to Detect Mental Health Situations from Twitter Data","authors":"Sheila Shevira, I. M. A. D. Suarjaya, Putu Wira Buana","doi":"10.20473/jisebi.8.2.142-148","DOIUrl":null,"url":null,"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.\nObjective: This study aims to detect suicidal messages through tweets written by users with mental health issues.\nMethods: These tweets are analysed and classified using the lexicon-based and Naive Bayes algorithms to determine whether it contains suicidal messages.\nResults: 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.\nConclusion: 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.\n \nKeywords: Lexicon Based, Mental Disorder, Mental Health, Naïve Bayes, Twitter","PeriodicalId":16185,"journal":{"name":"Journal of Information Systems Engineering and Business Intelligence","volume":"59 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-10-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Information Systems Engineering and Business Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20473/jisebi.8.2.142-148","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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