Sentiment Analysis of ChatGPT Exploration Based on Opinions on Platform X Using Naïve Bayes Algorithm

Authors

  • Denisha Trihapningsari Universitas Terbuka, Information System Study Program, South Tangerang, Banten, Indonesia, 15437
  • Armita Widyasuri National Research and Inovation Agency, Research Center for Data and Sciences, Bandung, East Java, Indonesia, 40135
  • Mayang Anglingsari Putri Universitas Terbuka, Information System Study Program, South Tangerang, Banten, Indonesia, 15437
  • Ahmad Fatihin Ministry of Manpower, Labor Market Center, Jakarta, Indonesia, 12710

DOI:

https://doi.org/10.33830/isst.v4i1.5235

Keywords:

Sentiment analysis, exploring chatGPT, naïve bayes, platform X

Abstract

ChatGPT (chat generative pretrained transformer) developed by OpenAI and launched in 2021, quickly gained widespread attention for its ability to understand and generate human-like text responses. ChatGPT can handle a variety of tasks, including answering questions, solving maths problems, coding, and creating scientific articles or journals. Despite its versatility, concerns about the accuracy of responses to exploratory results of using chatGPT to perform various tasks have arisen, prompting the need for further evaluation. This research uses sentiment analysis to assess public opinion towards ChatGPT, using data from posts on the X app (formerly Twitter), accessed through the X developer API using Naive Bayes classification. Naïve Bayes classification algorithm was applied to categorise the sentiment. Findings showed that of the 3,001 posts analysed, 59.24% expressed positive sentiment, 17.56% negative, and 23.2% neutral. The Naïve Bayes algorithm achieved 79.84% accuracy in this classification task. The results indicate a generally positive public perception of ChatGPT, despite the concerns.

Downloads

Published

04/17/2025