Implementation of Naïve Bayes Algorithm for Classification of Mental Health of Social Media Users

  • Aditiya Hermawan Universitas Buddhi Dharma
Keywords: Naïve Bayes, Classification, Mental Health, Social Media


Social media has become a human need to interact in everyday life. Apart from being a means of communication, social media also has the additional function of exchanging information on the internet in various forms including writing, images and videos. One of the social media that has many users is Instagram, where Instagram offers information sharing features in the form of images, photos and short videos. The purpose of this feature is for users to express themselves and attract the attention of others, thereby creating feelings of happiness and increasing self-confidence. In addition to positive impacts, there are also negative impacts on users, for example excessive use that causes addiction so that it can cause mental health disorders. Mental health needs to be handled properly so that it does not continue to get worse, but there are several obstacles in seeing a psychiatrist in mental health, including limited access and also negative stigma if someone sees a psychiatrist. Therefore, a tool is needed that can be an early indication in knowing the level of mental agitation, especially in the use of Instagram. Classification in data mining can help provide initial information on a person's condition in his mental health. The Naïve Bayes algorithm provides an accuracy rate of 92.5% in classifying mental health on data sets that have been clustered. Good accuracy can help social media users know their mental health condition.


Download data is not yet available.
How to Cite
A. Hermawan, “Implementation of Naïve Bayes Algorithm for Classification of Mental Health of Social Media Users”, bt, vol. 4, no. 2, pp. 61-70, Dec. 2021.
Abstract viewed = 96 times
pdf downloaded = 80 times