Sentiment Analysis using SVM-based SSO Intelligence Algorithm

Document Type : Original Article

Authors

1 Department of Computer, College of Science, University of Garmian, Kalar, Kurdistan Region, Iraq

2 Department of Computer Science, College of Science, University of Garmian, Kalar, Iraq.

Abstract

Facebook and Twitter, as two known social media become popular sources of big data that give the right to people to share and express their feedback about products, services, politicians, events, and every aspect of life in the form of short texts. The classification of sentiments could be automated through machine learning and enhanced using appropriate feature extraction methods. In this work, we collected the most recent tweets about (Biden, Benzema, Apple, and NASA) using Twitter-API and assigned sentiment scores using a rule-based lexicon approach; after pre-processing stage, each dataset is divided into 80% as a training set, and rest 20% as testing set. After that, the Distributed bag of words, Distributed memory mean, Distributed Memory Concatenation, and Term Frequency-Inverse Document Frequency models are used for feature extraction from pre-processed tweets. Depending on the Shark smell optimizer algorithm, the SVM technique was used to classify the extracted features. The SSO was used to tune and select the best value for SVM parameters to optimize the overall model performance. The results display that these optimizers have an essential impact on increasing the model accuracy. After optimization, the model accuracy reached 92.12%, while the highest accuracy without optimization was 88.69% for various feature extraction methods.

Keywords

Main Subjects

Volume 4, Special issue
This special issue is related to the 9th Scientific Conference of University of Garmian: Pure Sciences and Technology Applications (SCUG-PSTA-2022) October 26–27, 2022. (All the manuscripts have been peer-reviewed.)
November 2022
Pages 17-39