Multi-Class Sentiment Analysis of Social Media Data with Machine Learning Algorithms
Source abstract
Abstract
The volume of social media data on the Internet is constantly growing. This has created a substantial research field for data analysts. The diversity of articles, posts, and comments on news websites and social networks astonishes imagination. Nevertheless, most researchers focus on posts on Twitter that have a specific format and length restriction. The majority of them are written in the English language. As relatively few works have paid attention to sentiment analysis in the Russian and Kazakh languages, this article thoroughly analyzes news posts in the Kazakhstan media space. The amassed datasets include texts labeled according to three sentiment classes: positive, negative, and neutral. The datasets are highly imbalanced, with a significant predominance of the positive class. Three resampling techniques (undersampling, oversampling, and synthetic minority oversampling (SMOTE)) are used to resample the datasets to deal with this issue. Subsequently, the texts are vectorized with the TF-IDF metric and classified with seven machine learning (ML) algorithms: naïve Bayes, support vector machine, logistic regression, k-nearest neighbors, decision tree, random forest, and XGBoost. Experimental results reveal that oversampling and SMOTE with logistic regression, decision tree, and random forest achieve the best classification scores. These models are effectively employed in the developed social analytics platform.
Source: openalex_inverted_index · Quality: baseline
Research context
OpenAlex topics: Sentiment Analysis and Opinion Mining · Advanced Text Analysis Techniques · Web Data Mining and Analysis
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
References (49)
Show source-provided references
1. Mining the peanut gallery: Opinion extraction and semantic classification of product reviews
2. The evolution of sentiment analysis–a review of research topics, venue, and top cited papers10.1016/j.cosrev.2017.10.002 ↗
3. Good and bad events: Combining network-based event detection with sentiment analysis10.1007/s13278-020-00681-4 ↗
4. Sentiment analysis of political communication: Combining a dictionary approach with crowdcoding10.1007/s11135-016-0412-4 ↗
5. Prototype and analytics for discovery and exploitation of threat networks on social media
6. Machine learning-based technique for big data sentiments extraction
7. Sentiment analysis system in big data environment10.32604/csse.2018.33.187 ↗
8. A new methodology on sentiment analysis
9. Lexicon-based sentiment analysis
10. Solving the Twitter sentiment analysis problem based on a machine learning-based approach10.1007/s12065-019-00301-x ↗
11. Sentiment analysis based on deep learning: A comparative study10.3390/electronics9030483 ↗
12. Analyzing sentiment system to specify polarity by lexicon-based10.11591/eei.v10i1.2471 ↗
13. Contextual lexicon-based sentiment analysis in Myanmar text reviews
14. Sentiment analysis of reviews using an augmented dictionary approach
15. Sentiment analysis for airline tweets utilizing machine learning techniques
16. Unsupervised learning-based sentiment analysis with reviewer’s emotion
17. Machine learning approach to identifying depression related posts on social media
18. Twitter sentiment analysis with a deep neural network: An enhanced approach using user behavioral information10.1016/j.cogsys.2018.10.001 ↗
19. A novel deep learning architecture for sentiment classification
20. Deep learning-based sentiment classification in social network services datasets
21. Identifying political sentiments on YouTube: A systematic comparison regarding the accuracy of recurrent neural network and machine learning models
22. Parsing natural scenes and natural language with recursive neural networks
23. Convolutional recurrent deep learning model for sentence classification10.1109/ACCESS.2018.2814818 ↗
24. Sentiment analysis of product reviews in Russian using convolutional neural networks
25. Sentiment Analysis of News Articles: A lexicon based approach
26. Application of machine learning techniques to sentiment analysis
27. Comparison of text sentiment analysis based on machine learning
28. Sentiment analysis of twitter data using naive Bayes algorithm
29. Score prediction model for sentiment classification using machine learning algorithms
30. Sentiment analysis on twitter data using KNN and SVM
31. Twitter sentiment analysis using multiclass SVM
32. Twitter sentiment analysis using deep learning methods
33. Sentiment analysis using deep learning approach10.32604/jai.2020.010132 ↗
34. Investigation on the Chinese text sentiment analysis based on convolutional neural networks in deep learning10.32604/cmc.2019.05375 ↗
35. Deep learning CNN-LSTM framework for Arabic sentiment analysis using textual information shared in social networks10.1007/s13278-020-00668-1 ↗
36. ABCDM: An attention-based bidirectional CNN-RNN deep model for sentiment analysis10.1016/j.future.2020.08.005 ↗
37. A comparison of machine learning methods of sentiment analysis based on Russian language twitter data
38. Sentimental text processing tool for Russian language based on machine learning algorithms
39. Methods for analyzing polarity of the Kazakh texts related to the terrorist threats
40. Sentiment analysis of Kazakh text and their polarity10.3233/WEB-190396 ↗
41. The role of preprocessing in twitter sentiment analysis10.1007/978-3-319-09339-0_62 ↗
42. The role of text preprocessing in sentiment analysis10.1016/j.procs.2013.05.005 ↗
43. Utilization of oversampling for multiclass sentiment analysis on Amazon review dataset
44. Imbalanced data handling in multi-label aspect categorization using oversampling and ensemble learning
45. Efficacy of oversampling over machine learning algorithms in case of sentiment analysis
46. Sentiment analysis using product review data10.1186/s40537-015-0015-2 ↗
47. Converting text to numerical representation using modified Bayesian vectorization technique for multiclass classification10.30534/ijatcse/2020/211942020 ↗
48. An ensemble approach to stabilize the features for multi-domain sentiment analysis using supervised machine learning10.1186/s40537-018-0152-5 ↗
49. Text classification by aggregation of SVD eigenvectors