Logo

Using Machine Learning to Predict the Sentiment of Online Reviews: A New Framework for Comparative Analysis

Budhi, Gregorius Satia and Chiong, Raymond and Pranata, Ilung and Hu, Zhongyi (2021) Using Machine Learning to Predict the Sentiment of Online Reviews: A New Framework for Comparative Analysis. [UNSPECIFIED]

[img] PDF
Download (1176Kb)
    [img] PDF
    Download (5Mb)

      Abstract

      Online reviews are becoming increasingly important for decision-making. Consumers often refer to online reviews for opinions before making a purchase. Marketers also acknowledge the importance of online reviews and use them to improve product success. However, the massive amount of online review data, as well as its unstructured nature, is a challenge for anyone wanting to derive a conclusion quickly. In this paper, we propose a novel framework for gauging the ratings of online reviews using machine learning techniques. This framework uses a combination of text pre-processing and feature extraction methods. Here, we investigate four different aspects of the new framework. First, we assess the performance of single and ensemble classifiers in predicting sentiment—positive or negative—initially on a specific dataset (Yelp), but subsequently also on two other datasets (Amazons product reviews and a movie review dataset). Second, using the best identified classifiers, we improve the accuracy with which neutral polarity can be predicted, an ability largely overlooked in the literature. Third, we further improve the performance of these classifiers by testing different pre-processing and feature extraction methods. Finally, we measure how well our deep learning approach performs on the same task compared to the best previously identified classifiers. Our extensive testing shows that the linear-kernel support vector machine, logistic regression and multilayer perceptron are the three best single classifiers in terms of accuracy, precision, recall, and F-measure. Their performance could be further improved if they were used as base classifiers for ensemble models. We also observe that several text pre-processing techniques—negation word identification, word elongation correction, and part of speech lemmatisation (combined with Terms Frequency and N-gram words)—can increase accuracy. In addition, we demonstrate that the general sentiment of lexicons such as SentiWordNet 3.0 and SenticNet 4 can be used to generate features with good results, although deep learning models can perform equally well. Experiments with different datasets confirm that our framework provides consistent outcomes. In particular, we have focused on improving the accuracy of neutral sentiment, and we conclude by showing how this can be achieved without sacrificing the accuracy of positive or negative ratings.

      Item Type: UNSPECIFIED
      Additional Information: https://doi.org/10.1007/s11831-020-09464-8
      Uncontrolled Keywords: Online reviews and ratings, classification, machine learning, feature extraction, text mining
      Subjects: Q Science > QA Mathematics > QA76 Computer software
      Divisions: Faculty of Industrial Technology > Informatics Engineering Department
      Depositing User: Admin
      Date Deposited: 12 Jan 2021 03:27
      Last Modified: 23 Sep 2022 21:49
      URI: https://repository.petra.ac.id/id/eprint/20065

      Actions (login required)

      View Item