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 条
  • [1] Sentiment Analysis of Restaurant Reviews Using Machine Learning Techniques
    Krishna, Akshay
    Akhilesh, V.
    Aich, Animikh
    Hegde, Chetana
    EMERGING RESEARCH IN ELECTRONICS, COMPUTER SCIENCE AND TECHNOLOGY, ICERECT 2018, 2019, 545 : 687 - 696
  • [2] Sentiment Analysis and Classification of Restaurant Reviews using Machine Learning
    Zahoor, Kanwal
    Bawany, Narmeen Zakaria
    Hamid, Soomaiya
    2020 21ST INTERNATIONAL ARAB CONFERENCE ON INFORMATION TECHNOLOGY (ACIT), 2020,
  • [3] An Effective Machine Learning Approach for Sentiment Analysis on Popular Restaurant Reviews in Bangladesh
    Huda, S. M. Asiful
    Shoikot, Md Mohiuddin
    Hossain, Md Anower
    Ila, Ishrat Jahan
    2019 1ST INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND DATA SCIENCES (AIDAS2019), 2019, : 170 - 173
  • [4] Sentiment Analysis for Restaurant Rating
    Kaviya, K.
    Roshini, C.
    Vaidhehi, V.
    Sweetlin, J. Dhalia
    2017 IEEE INTERNATIONAL CONFERENCE ON SMART TECHNOLOGIES AND MANAGEMENT FOR COMPUTING, COMMUNICATION, CONTROLS, ENERGY AND MATERIALS (ICSTM), 2017, : 140 - 145
  • [5] Sentiment Analysis of Restaurant Reviews on Yelp with Incremental Learning
    Doan, Tri
    Kalita, Jugal
    2016 15TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA 2016), 2016, : 697 - 700
  • [6] Predicting sentiment and rating of tourist reviews using machine learning
    Puh, Karlo
    Babac, Marina Bagic
    JOURNAL OF HOSPITALITY AND TOURISM INSIGHTS, 2023, 6 (03) : 1188 - 1204
  • [7] Sentiment Analysis of Amazon Product Reviews by Supervised Machine Learning Models
    bin Harunasir, Mohamad Faris
    Palanichamy, Naveen
    Haw, Su-Cheng
    Ng, Kok-Why
    JOURNAL OF ADVANCES IN INFORMATION TECHNOLOGY, 2023, 14 (04) : 857 - 862
  • [8] Sentiment Analysis on Movie Scripts and Reviews Utilizing Sentiment Scores in Rating Prediction
    Frangidis, Paschalis
    Georgiou, Konstantinos
    Papadopoulos, Stefanos
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, AIAI 2020, PT I, 2020, 583 : 430 - 438
  • [9] Machine Learning Based Class Level Prediction of Restaurant Reviews
    Hossain, F. M. Takbir
    Hossain, Md. Ismail
    Nawshin, Samia
    2017 IEEE REGION 10 HUMANITARIAN TECHNOLOGY CONFERENCE (R10-HTC), 2017, : 420 - 423
  • [10] Sentiment Analysis of Yelp Reviews by Machine Learning
    Hemalatha, S.
    Ramathmika
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 700 - 704