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

被引:3
作者
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]   Analysis of sentiment based movie reviews using machine learning techniques [J].
Chirgaiya, Sachin ;
Sukheja, Deepak ;
Shrivastava, Niranjan ;
Rawat, Romil .
JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2021, 41 (05) :5449-5456
[22]   Sentiment analysis on product reviews on twitter using Machine Learning Approaches [J].
Jayakody, J. P. U. S. D. ;
Kumara, B. T. G. S. .
2021 INTERNATIONAL CONFERENCE ON DECISION AID SCIENCES AND APPLICATION (DASA), 2021,
[23]   Sentiment analysis of emoji fused reviews using machine learning and Bert [J].
Khan, Amit ;
Majumdar, Dipankar ;
Mondal, Bikromadittya .
SCIENTIFIC REPORTS, 2025, 15 (01)
[24]   Sentiment Analysis of Movie Reviews in Hindi Language using Machine Learning [J].
Nanda, Charu ;
Dua, Mohit ;
Nanda, Garima .
PROCEEDINGS OF THE 2018 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION AND SIGNAL PROCESSING (ICCSP), 2018, :1069-1072
[25]   Comparing deep learning architectures for sentiment analysis on drug reviews [J].
Colon-Ruiz, Cristobal ;
Segura-Bedmar, Isabel .
JOURNAL OF BIOMEDICAL INFORMATICS, 2020, 110
[26]   Supervised machine learning models for depression sentiment analysis [J].
Obagbuwa, Ibidun Christiana ;
Danster, Samantha ;
Chibaya, Onil Colin .
FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2023, 6
[27]   Incorporating Author Preference in Sentiment Rating Prediction of Reviews [J].
Mukherjee, Subhabrata ;
Basu, Gaurab ;
Joshi, Sachindra .
PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'13 COMPANION), 2013, :47-48
[28]   Understanding Customer Sentiment: Lexical Analysis of Restaurant Reviews [J].
Ara, Jinat ;
Hasan, Md Toufique ;
Al Omar, Abdullah ;
Bhuiyan, Lianif .
2020 IEEE REGION 10 SYMPOSIUM (TENSYMP) - TECHNOLOGY FOR IMPACTFUL SUSTAINABLE DEVELOPMENT, 2020, :295-299
[29]   Sentiment Analysis on Reviews of Amazon Products Using Different Machine Learning Algorithms [J].
Tasci, Merve Esra ;
Rasheed, Jawad ;
Ozkul, Tarik .
FORTHCOMING NETWORKS AND SUSTAINABILITY IN THE AIOT ERA, VOL 2, FONES-AIOT 2024, 2024, 1036 :318-327
[30]   Airbnb Price Prediction Using Machine Learning and Sentiment Analysis [J].
Kalehbasti, Pouya Rezazadeh ;
Nikolenko, Liubov ;
Rezaei, Hoormazd .
MACHINE LEARNING AND KNOWLEDGE EXTRACTION (CD-MAKE 2021), 2021, 12844 :173-184