Sentiment Analysis: Comparative Study between GSVM and KNN
Hany Mohamed, Ayman Atia and Mostafa-Sami M. Mostafa
DOI : 10.3844/ajassp.2018.339.345
American Journal of Applied Sciences
Volume 15, Issue 6
Sentiment classification aims detecting general opinion of users in social media towards business products or daily life events. The classification tells whether sentiment is positive or negative. Techniques of sentiment classification are categorized into lexical analysis and machine learning techniques. In this paper, we propose a comparative study between SVM applied genetics (GSVM) against KNN algorithm in terms of speed and accuracy. We present also an experimental study of sentiment classification on different domains movie reviews, financial and amazon toys products. The experimental results shows that GSVM achieves a classification accuracy of 92% and KNN achieves 87% on movie reviews dataset. For classification speed, KNN shows a remarkable improvement (above 10% improvement) in comparison with GSVM.
© 2018 Hany Mohamed, Ayman Atia and Mostafa-Sami M. Mostafa. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.