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 条
  • [31] A Text Mining and Multidimensional Sentiment Analysis of Online Restaurant Reviews
    Gan, Qiwei
    Ferns, Bo H.
    Yu, Yang
    Jin, Lei
    JOURNAL OF QUALITY ASSURANCE IN HOSPITALITY & TOURISM, 2017, 18 (04) : 465 - 492
  • [32] Sentiment Analysis Based on Multiple Reviews by using Machine learning approaches
    D'souza, Stephina Rodney
    Sonawane, Kavita
    PROCEEDINGS OF THE 2019 3RD INTERNATIONAL CONFERENCE ON COMPUTING METHODOLOGIES AND COMMUNICATION (ICCMC 2019), 2019, : 188 - 193
  • [33] Sentiment Analysis of Animated Film Reviews Using Intelligent Machine Learning
    Chen, Cheng
    Xu, Bin
    Yang, Jong-Hoon
    Liu, Mi
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [34] Sentiment Analysis for Arabic Reviews in Social Networks Using Machine Learning
    Hammad, Mustafa
    Al-awadi, Mouhammd
    INFORMATION TECHNOLOGY: NEW GENERATIONS, 2016, 448 : 131 - 139
  • [35] Analysis of sentiment based movie reviews using machine learning techniques
    Chirgaiya, Sachin
    Sukheja, Deepak
    Shrivastava, Niranjan
    Rawat, Romil
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2021, 41 (05) : 5449 - 5456
  • [36] Rating Predictor: Sentiment Analysis of Product Reviews in Arabic
    Harrage, Fouzi
    Alsalman, Abdulmalik
    Alqahtani, Alaa
    2018 INTERNATIONAL CONFERENCE ON ASIAN LANGUAGE PROCESSING (IALP), 2018, : 44 - 49
  • [37] Sentiment analysis on product reviews on twitter using Machine Learning Approaches
    Jayakody, J. P. U. S. D.
    Kumara, B. T. G. S.
    2021 INTERNATIONAL CONFERENCE ON DECISION AID SCIENCES AND APPLICATION (DASA), 2021,
  • [38] Sentiment analysis of emoji fused reviews using machine learning and Bert
    Khan, Amit
    Majumdar, Dipankar
    Mondal, Bikromadittya
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [39] Sentiment Analysis of Movie Reviews in Hindi Language using Machine Learning
    Nanda, Charu
    Dua, Mohit
    Nanda, Garima
    PROCEEDINGS OF THE 2018 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION AND SIGNAL PROCESSING (ICCSP), 2018, : 1069 - 1072
  • [40] Sentiment Analysis for Arabic Reviews using Machine Learning Classification Algorithms
    Sayed, Awny A.
    Elgeldawi, Enas
    Zaki, Alaa M.
    Galal, Ahmed R.
    PROCEEDINGS OF 2020 INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN COMMUNICATION AND COMPUTER ENGINEERING (ITCE), 2020, : 56 - 63