Multi-Class Sentiment Analysis of Social Media Data with Machine Learning Algorithms
Authors:
- Galimkair MutanovGMGalimkair Mutanov
- Vladislav KaryukinVKVladislav Karyukin
- Zhanl MamykovaZMZhanl Mamykova
Open Access
- 1 January 2021
- journal article
- research article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 69 (1) , 913-930
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.Keywords
This publication has 19 references indexed in Scilit:
- Twitter sentiment analysis with a deep neural network: An enhanced approach using user behavioral informationCognitive Systems Research, 2019
- Sentiment analysis of Kazakh text and their polarityWeb Intelligence, 2019
- Investigation on the Chinese Text Sentiment Analysis Based on Convolutional Neural Networks in Deep LearningComputers, Materials & Continua, 2019
- An ensemble approach to stabilize the features for multi-domain sentiment analysis using supervised machine learningJournal of Big Data, 2018
- Convolutional Recurrent Deep Learning Model for Sentence ClassificationIEEE Access, 2018
- The evolution of sentiment analysis—A review of research topics, venues, and top cited papersComputer Science Review, 2018
- Sentiment analysis of political communication: combining a dictionary approach with crowdcodingQuality & Quantity, 2016
- Sentiment analysis using product review dataJournal of Big Data, 2015
- The Role of Pre-processing in Twitter Sentiment Analysis2014
- The Role of Text Pre-processing in Sentiment AnalysisProcedia Computer Science, 2013