Comparing Machine Learning Models for Sentiment Analysis and Rating Prediction of Vegan and Vegetarian Restaurant Reviews

被引:0
|
作者
Hanic, Sanja [1 ]
Babac, Marina Bagic [2 ]
Gledec, Gordan [2 ]
Horvat, Marko [2 ]
机构
[1] Univ Zagreb, Fac Elect Engn & Comp, Unska 3, HR-10000 Zagreb, Croatia
[2] Univ Zagreb, Fac Elect Engn & Comp, Dept Appl Comp, Unska 3, HR-10000 Zagreb, Croatia
关键词
sentiment analysis; machine learning; natural language processing;
D O I
10.3390/computers13100248
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The paper investigates the relationship between written reviews and numerical ratings of vegan and vegetarian restaurants, aiming to develop a predictive model that accurately determines numerical ratings based on review content. The dataset was obtained by scraping reviews from November 2022 until January 2023 from the TripAdvisor website. The study applies multidimensional scaling and clustering using the KNN algorithm to visually represent the textual data. Sentiment analysis and rating predictions are conducted using neural networks, support vector machines (SVM), random forest, Na & iuml;ve Bayes, and BERT models. Text vectorization is accomplished through term frequency-inverse document frequency (TF-IDF) and global vectors (GloVe). The analysis identified three main topics related to vegan and vegetarian restaurant experiences: (1) restaurant ambiance, (2) personal feelings towards the experience, and (3) the food itself. The study processed a total of 33,439 reviews, identifying key aspects of the dining experience and testing various machine learning methods for sentiment and rating predictions. Among the models tested, BERT outperformed the others, and TF-IDF proved slightly more effective than GloVe for word representation.
引用
收藏
页数:24
相关论文
共 50 条
  • [21] Sentiment Analysis of Online Movie Reviews using Machine Learning
    Steinke, Isaiah
    Wier, Justin
    Simon, Lindsay
    Seetan, Raed
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (09) : 618 - 624
  • [22] Sentiment Analysis on Amazon Food Reviews using Machine Learning
    Arnav, Ameye
    Pareek, Varda
    Jain, Tarun
    2024 2ND WORLD CONFERENCE ON COMMUNICATION & COMPUTING, WCONF 2024, 2024,
  • [23] An explainable machine learning model for sentiment analysis of online reviews
    Mrabti, Soufiane El
    EL-Mekkaoui, Jaouad
    Hachmoud, Adil
    Lazaar, Mohamed
    KNOWLEDGE-BASED SYSTEMS, 2024, 302
  • [24] Sentiment Analysis of Customer Product Reviews Using Machine Learning
    Singla, Zeenia
    Randhawa, Sukhchandan
    Jain, Sushma
    PROCEEDINGS OF 2017 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL (I2C2), 2017,
  • [25] Sentiment Analysis of Movie Reviews Based on Sentiment Dictionary and Deep Learning Models
    Liu, Caihong
    Liu, Changhui
    2023 THE 6TH INTERNATIONAL CONFERENCE ON ROBOT SYSTEMS AND APPLICATIONS, ICRSA 2023, 2023, : 144 - 148
  • [26] Rating Prediction Based on Social Sentiment From Textual Reviews
    Lei, Xiaojiang
    Qian, Xueming
    Zhao, Guoshuai
    IEEE TRANSACTIONS ON MULTIMEDIA, 2016, 18 (09) : 1910 - 1921
  • [27] ReviewModus: Text classification and sentiment prediction of unstructured reviews using a hybrid combination of machine learning and evaluation models
    Zablith, Fouad
    Osman, Ibrahim H.
    APPLIED MATHEMATICAL MODELLING, 2019, 71 : 569 - 583
  • [28] Hotel Rating Prediction System Based on Time Factors: Using Reviews and Sentiment Analysis
    Lee, Pei-Hua
    Sun, Yu-Kai
    Ke, Yin-Pei
    Lee, Pei-Ju
    JOURNAL OF ORGANIZATIONAL AND END USER COMPUTING, 2024, 36 (01)
  • [29] Aspect-based Sentiment Analysis for Indonesian Restaurant Reviews
    Ekawati, Devina
    Khodra, Masayu Leylia
    2017 4TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATICS, CONCEPTS, THEORY, AND APPLICATIONS (ICAICTA) PROCEEDINGS, 2017,
  • [30] A COMPARATIVE STUDY OF MACHINE LEARNING MODELS FOR SENTIMENT ANALYSIS: CUSTOMER REVIEWS OF E-COMMERCE PLATFORMS
    Davoodi, Laleh
    Mezei, Jozsef
    35TH BLED ECONFERENCE DIGITAL RESTRUCTURING AND HUMAN (RE)ACTION, BLED ECONFERENCE 2022, 2022, : 217 - 231