With the millions of tweets per day, Twitter is a rich and large database of information on public sentiment on a wide range of issues, including events, products, politics, and social issues. The purpose of this research is to create an automated system that can analyze tweet sentiments to determine attitudes as positive or negative. Through Natural Language Processing (NLP) methods and machine learning algorithms, the system efficiently handles high quantities of unstructured data, making sentiment classification possible in real time. The model begins the analysis by gathering various tweets from various sources, such as hashtags, user mentions, and trends. The tweets are then subjected to preprocessing techniques like removing stop words and treating misspellings, emojis, and special characters. Various classification models, like Naive Bayes, Support Vector Machines (SVM), Logistic Regression (LR) were experimented with to see which was most efficient in sentiment classification. Of these, Logistic Regression (LR) showed the best performance with an F1 score of 0.833 and accuracy of 83%. The efficiency of various feature extraction methods, such as Term Frequency-Inverse Document Frequency (TF-IDF) and word embeddings, was also examined to try and improve model performance. This work emphasizes the increasing importance of Twitter Sentiment Analysis across different fields, such as market research, event tracking, and social research. Sentiment analysis is employed by companies to know customer views and enhance services, whereas policymakers utilize it for measuring public reaction. By combining NLP and machine learning, the suggested system provides better and scalable method for sentiment analysis [1].

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Sentiment Analysis of Textual Data: A Comparative Study of SVM, Logistic Regression, and Naive Bayes

  • Khushi Ingalalli,
  • Vanshika Kavi,
  • Sainath Walthati,
  • Satish Chikkamath,
  • Suneeta Budihal,
  • Sujata Kotabagi

摘要

With the millions of tweets per day, Twitter is a rich and large database of information on public sentiment on a wide range of issues, including events, products, politics, and social issues. The purpose of this research is to create an automated system that can analyze tweet sentiments to determine attitudes as positive or negative. Through Natural Language Processing (NLP) methods and machine learning algorithms, the system efficiently handles high quantities of unstructured data, making sentiment classification possible in real time. The model begins the analysis by gathering various tweets from various sources, such as hashtags, user mentions, and trends. The tweets are then subjected to preprocessing techniques like removing stop words and treating misspellings, emojis, and special characters. Various classification models, like Naive Bayes, Support Vector Machines (SVM), Logistic Regression (LR) were experimented with to see which was most efficient in sentiment classification. Of these, Logistic Regression (LR) showed the best performance with an F1 score of 0.833 and accuracy of 83%. The efficiency of various feature extraction methods, such as Term Frequency-Inverse Document Frequency (TF-IDF) and word embeddings, was also examined to try and improve model performance. This work emphasizes the increasing importance of Twitter Sentiment Analysis across different fields, such as market research, event tracking, and social research. Sentiment analysis is employed by companies to know customer views and enhance services, whereas policymakers utilize it for measuring public reaction. By combining NLP and machine learning, the suggested system provides better and scalable method for sentiment analysis [1].