Implementation of Naive Bayes classification algorithm for Twitter user sentiment analysis on ChatGPT using Python programming language

A. Erfina, Muhamad Rifki Nurul
{"title":"Implementation of Naive Bayes classification algorithm for Twitter user sentiment analysis on ChatGPT using Python programming language","authors":"A. Erfina, Muhamad Rifki Nurul","doi":"10.56294/dm202345","DOIUrl":null,"url":null,"abstract":"ChatGPT (Generative Pre-Trained Transformer) is a chatbot that is being widely used by the public. This technology is based on Artificial Intelligence and is capable of having conversational interactions with its users just like humans, but in the form of automated text. Because of this capability, online forums such as Brainly and the like can be overtaken by these smart chatbots. Therefore, this study was conducted to determine the positive and negative sentiments towards ChatGPT using Naive Bayes Classification algorithm on 5000 Twitter users. Data was collected by scraping technique and Python programming language was used in data analysis. The results showed that the majority of Twitter users had a positive sentiment of 57.6% towards ChatGPT, while the negative sentiment reached 42.4%. The resulting classification model had an accuracy of 80%, indicating a good classification model in determining sentiment probabilities. These findings provide a basis for the development of better AI chatbot technology that can meet user needs. The results of this study provide insights into user sentiment towards ChatGPT and can be used as a reference for future AI chatbot development.","PeriodicalId":388306,"journal":{"name":"Data & Metadata","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Data & Metadata","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.56294/dm202345","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

ChatGPT (Generative Pre-Trained Transformer) is a chatbot that is being widely used by the public. This technology is based on Artificial Intelligence and is capable of having conversational interactions with its users just like humans, but in the form of automated text. Because of this capability, online forums such as Brainly and the like can be overtaken by these smart chatbots. Therefore, this study was conducted to determine the positive and negative sentiments towards ChatGPT using Naive Bayes Classification algorithm on 5000 Twitter users. Data was collected by scraping technique and Python programming language was used in data analysis. The results showed that the majority of Twitter users had a positive sentiment of 57.6% towards ChatGPT, while the negative sentiment reached 42.4%. The resulting classification model had an accuracy of 80%, indicating a good classification model in determining sentiment probabilities. These findings provide a basis for the development of better AI chatbot technology that can meet user needs. The results of this study provide insights into user sentiment towards ChatGPT and can be used as a reference for future AI chatbot development.
使用Python编程语言在ChatGPT上实现Twitter用户情感分析的朴素贝叶斯分类算法
ChatGPT (Generative Pre-Trained Transformer)是一种被公众广泛使用的聊天机器人。这项技术基于人工智能,能够像人类一样与用户进行对话互动,但以自动文本的形式进行。由于这种能力,像Brainly这样的在线论坛可能会被这些智能聊天机器人所取代。因此,本研究对5000名Twitter用户使用朴素贝叶斯分类算法来确定对ChatGPT的正面和负面情绪。数据采集采用抓取技术,数据分析采用Python编程语言。结果显示,大多数Twitter用户对ChatGPT持积极态度的占57.6%,持消极态度的占42.4%。所得到的分类模型的准确率为80%,表明在确定情绪概率方面是一个很好的分类模型。这些发现为开发更好的人工智能聊天机器人技术,满足用户需求提供了基础。本研究的结果提供了用户对ChatGPT的看法,可以作为未来AI聊天机器人开发的参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信