Analysis of Sentiment Based on Opinions from the 2019 Presidential Election

Twitter is a popular social media platform where the public is free to comment and write about anything. It is common for people to post comments containing harsh words and even hate speech. The 2019 presidential election in Indonesia generated a significant amount of comments, with some users prais...

Full description

Saved in:
Bibliographic Details
Main Authors: Nurul Adha Oktarini, Saputri, Misinem, ., Khoirul, Zuhri
Format: Article
Language:English
Published: INTI International University 2024
Subjects:
Online Access:http://eprints.intimal.edu.my/1959/1/501
http://eprints.intimal.edu.my/1959/
http://ipublishing.intimal.edu.my/jods.html
Tags: Add Tag
No Tags, Be the first to tag this record!
id my-inti-eprints.1959
record_format eprints
spelling my-inti-eprints.19592024-07-30T01:46:31Z http://eprints.intimal.edu.my/1959/ Analysis of Sentiment Based on Opinions from the 2019 Presidential Election Nurul Adha Oktarini, Saputri Misinem, . Khoirul, Zuhri Q Science (General) QA75 Electronic computers. Computer science QA76 Computer software Twitter is a popular social media platform where the public is free to comment and write about anything. It is common for people to post comments containing harsh words and even hate speech. The 2019 presidential election in Indonesia generated a significant amount of comments, with some users praising the candidates, others criticizing them, and some even resorting to insults. To extract meaningful information from these comments and classify the text, sentiment analysis is essential. In this research, sentiment analysis involves the process of categorizing textual documents into two classes: negative and positive sentiment. The opinion data was collected from the Twitter social network in the form of tweets related to the 2019 presidential election. The dataset used in the study consisted of 3,337 tweets, which were divided into 70% training data and 30% test data. The training data comprised tweets whose sentiment was already known, serving as a foundation for the model to learn and make predictions. The primary objective of this research is to determine whether the tweets, written in Indonesian, express positive or negative sentiments. The Naive Bayes Classifier algorithm was employed to classify the tweet data. This algorithm is well-suited for text classification tasks due to its simplicity and efficiency in handling large datasets. The classification results on the test data demonstrated that the Naive Bayes Classifier algorithm achieved an overall accuracy of 71%. Specifically, the accuracy for negative sentiment classification was 71%, while the accuracy for positive sentiment classification was 70%. These results indicate that the Naive Bayes Classifier is effective in distinguishing between positive and negative sentiments in tweets related to the presidential election. INTI International University 2024-07 Article PeerReviewed text en cc_by_4 http://eprints.intimal.edu.my/1959/1/501 Nurul Adha Oktarini, Saputri and Misinem, . and Khoirul, Zuhri (2024) Analysis of Sentiment Based on Opinions from the 2019 Presidential Election. Journal of Data Science, 2024 (25). pp. 1-9. ISSN 2805-5160 http://ipublishing.intimal.edu.my/jods.html
institution INTI International University
building INTI Library
collection Institutional Repository
continent Asia
country Malaysia
content_provider INTI International University
content_source INTI Institutional Repository
url_provider http://eprints.intimal.edu.my
language English
topic Q Science (General)
QA75 Electronic computers. Computer science
QA76 Computer software
spellingShingle Q Science (General)
QA75 Electronic computers. Computer science
QA76 Computer software
Nurul Adha Oktarini, Saputri
Misinem, .
Khoirul, Zuhri
Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
description Twitter is a popular social media platform where the public is free to comment and write about anything. It is common for people to post comments containing harsh words and even hate speech. The 2019 presidential election in Indonesia generated a significant amount of comments, with some users praising the candidates, others criticizing them, and some even resorting to insults. To extract meaningful information from these comments and classify the text, sentiment analysis is essential. In this research, sentiment analysis involves the process of categorizing textual documents into two classes: negative and positive sentiment. The opinion data was collected from the Twitter social network in the form of tweets related to the 2019 presidential election. The dataset used in the study consisted of 3,337 tweets, which were divided into 70% training data and 30% test data. The training data comprised tweets whose sentiment was already known, serving as a foundation for the model to learn and make predictions. The primary objective of this research is to determine whether the tweets, written in Indonesian, express positive or negative sentiments. The Naive Bayes Classifier algorithm was employed to classify the tweet data. This algorithm is well-suited for text classification tasks due to its simplicity and efficiency in handling large datasets. The classification results on the test data demonstrated that the Naive Bayes Classifier algorithm achieved an overall accuracy of 71%. Specifically, the accuracy for negative sentiment classification was 71%, while the accuracy for positive sentiment classification was 70%. These results indicate that the Naive Bayes Classifier is effective in distinguishing between positive and negative sentiments in tweets related to the presidential election.
format Article
author Nurul Adha Oktarini, Saputri
Misinem, .
Khoirul, Zuhri
author_facet Nurul Adha Oktarini, Saputri
Misinem, .
Khoirul, Zuhri
author_sort Nurul Adha Oktarini, Saputri
title Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
title_short Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
title_full Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
title_fullStr Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
title_full_unstemmed Analysis of Sentiment Based on Opinions from the 2019 Presidential Election
title_sort analysis of sentiment based on opinions from the 2019 presidential election
publisher INTI International University
publishDate 2024
url http://eprints.intimal.edu.my/1959/1/501
http://eprints.intimal.edu.my/1959/
http://ipublishing.intimal.edu.my/jods.html
_version_ 1806436253844897792
score 13.189131