Performance Evaluation of some Select Machine Learning Algorithm for Sentiment Analysis

Authors

  • Amos Bajeh
  • Mubarak Oluwadamilare Alabidun Department of Computer Science
  • Peter ogirima Sadiku

Keywords:

sentiment analysis, machine learning, text mining, social media

Abstract

Background: Sentiment analysis determines the class that opinions about an instance or object belongs to. This class can be positive, negative or neutral which reflects satisfaction, dissatisfaction and indecision respectively. Computer algorithms are being used to automatically perform sentiment analysis. Aim: This study presents a comparative analysis of the performance of Naïve Bayes, K-Nearest Neighbor and Support Vector Machine in sentiment analysis. Method: Two large text dataset describing the opinions of customers on airline services and the 2015 super bowl show collected from Tweeter. The Scikit-Learn machine learning package on the Python programming language is used for training the models and measuring their performances in terms of precision, recall and accuracy. Results: the study shows that K-Nearest Neighbor has the best performance in terms of accuracy with measures of74.5% and 60.3% in the airline and deflategate datasets respectively. Naïve Bayes has the best performance in terms of precision and recall with a measure of 92% and 100% respectively in the airline dataset, and 82% and 96% respectively in the deflategate dataset.

Published

26-03-2025

How to Cite

Bajeh, A., Alabidun, M. O., & Sadiku, P. ogirima. (2025). Performance Evaluation of some Select Machine Learning Algorithm for Sentiment Analysis. International Journal of Information Processing and Communication, 6(2). Retrieved from http://ijipc.net.ng/index.php/ijipc/article/view/27

Issue

Section

Computer Science

Most read articles by the same author(s)