Sentiment analysis on ChatGPT based on Twitter data: A comparison between different algorithms

Show simple item record

dc.contributor.author Kumarawadu, T.E.
dc.contributor.author Rupasingha, R.A.H.M.
dc.date.accessioned 2024-03-07T09:06:30Z
dc.date.available 2024-03-07T09:06:30Z
dc.date.issued 2024-01-24
dc.identifier.issn 1391-8796
dc.identifier.uri http://ir.lib.ruh.ac.lk/xmlui/handle/iruor/16363
dc.description.abstract Advanced generative Artificial Intelligence (AI) models have been built as a result of the rapid growth of AI and natural language processing. ChatGPT, developed by OpenAI, is one of them. It is designed for generating human-like text responses and engaging in natural language discussions. Analyzing sentiment about ChatGPT is important for improving ChatGPT interactions, addressing real-world applications across industries, advancing natural language understanding, strengthening system robustness, and addressing ethical concerns. Therefore, the main objective of this research is to apply sentiment analysis on ChatGPT using twitter data. Today, Twitter is the main place to share sentiment publically. A Twitter dataset with 217,622 records was collected for the proposed approach. After data pre-processing, different feature vector generations such as TF-IDF, Word2Vec, Doc2Vec, and GloVe were applied to extract features. Then algorithms such as Support Vector Machine (SVM), Artificial Neural Network (ANN) and Long Short Term Memory (LSTM) were applied to classify twitter data with 84% training and 16% testing data set. Throughout our research, we examined algorithm performance using key measures such as accuracy, precision, recall, F-measure, and error values. These measures allowed us to evaluate the algorithm's efficacy in classifying sentiment as positive, negative and neutral. According to the results, the LSTM algorithm with the TF-IDF feature extraction method was the most effective solution for sentiment analysis, with 77.7% accuracy, higher recall, precision, f-measure values, and lowest error values than other algorithms. This research advances practical applications and contributes valuable insights specially on the AI-powered language model ChatGPT. en_US
dc.language.iso en en_US
dc.publisher Faculty of Science, University of Ruhuna, Matara, Sri Lanka en_US
dc.subject ChatGPT en_US
dc.subject Deep Learning en_US
dc.subject Sentiment Analysis en_US
dc.subject Twitter en_US
dc.title Sentiment analysis on ChatGPT based on Twitter data: A comparison between different algorithms en_US
dc.type Article en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Browse

My Account