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

被引:1
作者
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 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,
  • [2] 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
  • [3] 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
  • [4] 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
  • [5] Food Review Analysis and Sentiment Prediction using Machine Learning Models
    Gupta, Dhruv
    Roup, Ausho
    Gupta, Diksha
    Ratre, Avinash
    2022 SECOND INTERNATIONAL CONFERENCE ON ADVANCES IN ELECTRICAL, COMPUTING, COMMUNICATION AND SUSTAINABLE TECHNOLOGIES (ICAECT), 2022,
  • [6] 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
  • [7] 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
  • [8] 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
  • [9] Context-based sentiment analysis on customer reviews using machine learning linear models
    Chinnalagu A.
    Durairaj A.K.
    PeerJ Computer Science, 2021, 7
  • [10] Context-based sentiment analysis on customer reviews using machine learning linear models
    Chinnalagu, Anandan
    Durairaj, Ashok Kumar
    PEERJ COMPUTER SCIENCE, 2021, 7