{% include 'header.html' %}

Tentang

Profil
Responsive image
Ringkasan
Social media serves as a platform for individuals to express themselves in response to widely discussed topics. Each expression on social media undoubtedly represents an opinion that typically cannot be channeled through conventional media such as newspapers or television. An example highlighted in this research is the public opinion regarding the ratification of the health bill into the Health Law on Tuesday, July 11, 2023, which contents are considered detrimental to healthcare workers in Indonesia. The aspects of the Health Law that have become the focus and controversy for some are the eased regulations for foreign doctors, concerns over the criminalization of healthcare workers, mandatory spending, and the medical council being accountable to the minister. The enactment of this Health Law has triggered responses and reactions from the public on social media to participate and contribute their opinions. Some people believe that the government's decision to ratify the law is good, while others think it is not beneficial for the healthcare sector. Therefore, the author conducted research related to the sentiment analysis of the public opinion on the ratification of the Health Law using the Naive Bayes method to determine whether the majority of opinions are pro, contra, or neutral. In this study, the author collected tweet data from social media X (Twitter) with a clean data yield of 1,182 entries. The obtained data were then preprocessed and labeled. Subsequently, the data were weighted using TF-IDF calculations. Based on the research results, with comparisons of 90:10, 80:20, 70:30, and 60:40, the highest accuracy was achieved with a training and testing data ratio of 70:30, yielding an accuracy and positive values for precision, recall, and F1-score of 58.87%, 57.53%, 98.45%, and 72.62%, respectively. Keywords: Classification, Sentiment Analysis, Health Law, Naive Bayes.
{% include 'footer.html' %}