Turkish Journal of Computer and Mathematics Education
Journal license

Journal

Turkish Journal of Computer and Mathematics Education


Volume
& Issue

Volume 12, Issue 3


Published
on

April 5, 2021


Pages

1738-1744


DOI

Article

A Comparison of Machine Learning Techniques for Sentiment Analysis


Authors

Shahzad Qaiser Affiliation:
Department of Computer Science, Capital University of Science and Technology (CUST), Islamabad Expressway, Kahuta Road Zone-V, Islamabad, Pakistan
, Nooraini Yusoff* Affiliation:
Institute for Artificial Intelligence and Big Data (AIBIG), Universiti Malaysia Kelantan, City Campus, 16100 Kota Bharu, Kelantan, Malaysia
, Ramsha Ali Affiliation:
School of Quantitative Sciences, UUM College of Arts and Sciences, Universiti Utara Malaysia, 06010 UUM Sintok, Kedah, Malaysia
, Muhammad Akmal Remli Affiliation:
Institute for Artificial Intelligence and Big Data (AIBIG), Universiti Malaysia Kelantan, City Campus, 16100 Kota Bharu, Kelantan, Malaysia
and Hasyiya Karimah Adli Affiliation:
Institute for Artificial Intelligence and Big Data (AIBIG), Universiti Malaysia Kelantan, City Campus, 16100 Kota Bharu, Kelantan, Malaysia


Abstract

The availability of the data has increased tremendously due to the excess usage of social media platforms like Twitter and Facebook. Due to the abundant availability of data, scientists, businesses, educationalists and other people working under different roles have started using Sentiment Analysis (SA) to get in-depth knowledge about the sentiments of the people regarding any topic of interest. There are many techniques to implement SA, and one of them is Machine Learning (ML). This study is focused on the comparison of ancient ML methods such as Naïve Bayes (NB), Decision Tree (DT), Support Vector Machine (SVM), and a modern method, i.e., Deep Learning (DL). The ML techniques are applied to a single dataset to compare their performance in terms of accuracy to understand how they perform against each other. The study found that DL performed the best with 96.41% accuracy followed by NB and SVM with 87.18% and 82.05% respectively. DT performed the poorest with 68.21% accuracy.


Keywords

facebook, twitter, sentiment analysis (SA), machine learning (ML), deep learning (DL), decision tree (DT), dataset


Citation

Qaiser, S., Yusoff, N., Ali, R., Remli, M. A., & Adli, H. K. (2021). A comparison of machine learning techniques for sentiment analysis. Turkish Journal of Computer and Mathematics Education, 12(3), 1738–1744.

Published by: Engineering Journals

Engineering Journals Logo