[Paper Review] Tweets Sentiment Analysis via Word Embeddings and Machine Learning Techniques
This paper proposes a sentiment analysis framework for real-time 2019 election Twitter data using word2vec for contextual feature representation and random forest for classification. The approach significantly improves accuracy over traditional methods like BOW and TF-IDF by capturing semantic relationships in text through distributed word embeddings.
Sentiment analysis of social media data consists of attitudes, assessments, and emotions which can be considered a way human think. Understanding and classifying the large collection of documents into positive and negative aspects are a very difficult task. Social networks such as Twitter, Facebook, and Instagram provide a platform in order to gather information about peoples sentiments and opinions. Considering the fact that people spend hours daily on social media and share their opinion on various different topics helps us analyze sentiments better. More and more companies are using social media tools to provide various services and interact with customers. Sentiment Analysis (SA) classifies the polarity of given tweets to positive and negative tweets in order to understand the sentiments of the public. This paper aims to perform sentiment analysis of real-time 2019 election twitter data using the feature selection model word2vec and the machine learning algorithm random forest for sentiment classification. Word2vec with Random Forest improves the accuracy of sentiment analysis significantly compared to traditional methods such as BOW and TF-IDF. Word2vec improves the quality of features by considering contextual semantics of words in a text hence improving the accuracy of machine learning and sentiment analysis.
Motivation & Objective
- To address the challenge of classifying public sentiment in large-scale, real-time social media data, particularly during the 2019 elections.
- To improve sentiment classification accuracy by replacing traditional feature extraction methods like BOW and TF-IDF with word2vec embeddings.
- To evaluate the effectiveness of combining word2vec with the random forest algorithm for sentiment polarity detection in tweets.
- To demonstrate that contextual semantic features from word2vec lead to better machine learning performance in sentiment analysis tasks.
Proposed method
- Word2vec is employed to generate dense, distributed vector representations of words that capture contextual semantics from the training corpus.
- The word2vec model is trained on a large collection of 2019 election-related tweets to learn meaningful word embeddings.
- Feature vectors derived from word2vec are used as input to a random forest classifier for sentiment polarity prediction.
- The random forest algorithm is applied to classify tweets into positive or negative sentiment based on the learned word embeddings.
- A feature selection model is integrated with word2vec to enhance the quality of input features and reduce dimensionality.
- The performance of the word2vec + random forest pipeline is compared against baseline methods such as BOW and TF-IDF.
Experimental results
Research questions
- RQ1How does word2vec-based feature representation improve sentiment classification accuracy compared to traditional methods like BOW and TF-IDF?
- RQ2To what extent does combining word2vec with random forest enhance the performance of sentiment analysis on Twitter data?
- RQ3Can contextual word embeddings effectively capture sentiment-relevant semantics in short, informal social media text?
- RQ4What is the impact of feature selection on the quality of word2vec embeddings and subsequent classification accuracy?
Key findings
- The proposed method using word2vec and random forest achieves significantly higher accuracy in sentiment classification than traditional approaches like BOW and TF-IDF.
- Word2vec improves feature quality by encoding contextual semantics, which enhances the discriminative power of the input to the machine learning model.
- The integration of word2vec with random forest leads to better generalization and robustness in classifying tweet sentiment.
- The use of contextual word embeddings reduces the reliance on bag-of-words assumptions, resulting in more nuanced sentiment detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.