Journal of Applied Computer Science and Technology (Feb 2024)

Analisis Sentimen: Pengaruh Jam Kerja Terhadap Kesehatan Mental Generasi Z

  • Muhammad Daffa Al Fahreza,
  • Ardytha Luthfiarta,
  • Muhammad Rafid,
  • Michael Indrawan

DOI
https://doi.org/10.52158/jacost.v5i1.715
Journal volume & issue
Vol. 5, no. 1
pp. 16 – 25

Abstract

Read online

Mental health is a significant concern in society today, particularly for Generation Z, who are vulnerable to experiencing mental health problems that can disrupt daily productivity. The influence of working hours also contributes to the mental health of this generation. To assess public opinion on this issue, sentiment analysis is needed on social media, especially twitter. This research uses the Gaussian Naïve Bayes algorithm and Support Vector Machine with various stemming algorithms such as Nazief-Adriani, Arifin Setiono, and Sastrawi. The sentiment analysis method is used to assess positive, negative, and neutral sentiment in related tweets. The research results show that the Sastrawi stemming algorithm on the Gaussian Naïve Bayes model achieves 84% precision, 84% recall, and 84% f1-score, with 84% accuracy. Meanwhile, Support Vector Machine achieved 91% precision, 90% recall, 90% f1-score, and 91% accuracy. The Nazief-Adriani stemming algorithm on the Gaussian Naïve Bayes model has 80% precision, 80% recall, and 80% f1-score, with 80% accuracy. Meanwhile, on the Support Vector Machine, precision is 87%, recall is 85%, f1-score is 86%, and accuracy is 85%. Arifin Setiono's stemming algorithm on the Gaussian Naïve Bayes model achieved 81% precision, 81% recall, 81% f1-score, with 82% accuracy, while on Support Vector Machine, 88% precision, 86% recall, 86% f1-score, with 86% accuracy. Public opinion was recorded as 33% positive, 9% neutral, and 58% negative. This research aims to increase public awareness of the importance of mental health, especially regarding the influence of working hours, to create a healthy work environment for Generation Z and society in general, as well as improving the quality of mental health.

Keywords