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 条
  • [41] Supervised machine learning models for depression sentiment analysis
    Obagbuwa, Ibidun Christiana
    Danster, Samantha
    Chibaya, Onil Colin
    FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2023, 6
  • [42] Sentiment analysis for Urdu online reviews using deep learning models
    Safder, Iqra
    Mehmood, Zainab
    Sarwar, Raheem
    Hassan, Saeed-Ul
    Zaman, Farooq
    Nawab, Rao Muhammad Adeel
    Bukhari, Faisal
    Abbasi, Rabeeh Ayaz
    Alelyani, Salem
    Aljohani, Naif Radi
    Nawaz, Raheel
    EXPERT SYSTEMS, 2021, 38 (08)
  • [43] Sentiment Analysis of Restaurant Customer Reviews on TripAdvisor using Naive Bayes
    Larsono, Rachmawan Adi
    Sungkono, Kelly Rossa
    Sarno, Riyanarto
    Wahyuni, Cahyaningtyas Sekar
    PROCEEDINGS OF 2019 12TH INTERNATIONAL CONFERENCE ON INFORMATION & COMMUNICATION TECHNOLOGY AND SYSTEM (ICTS), 2019, : 49 - 54
  • [44] Unsupervised Aspect-Based Sentiment Analysis on Indonesian Restaurant Reviews
    Sasmita, Dhanang Hadhi
    Wicaksono, Alfan F.
    Louvan, Samuel
    Adriani, Mirna
    2017 INTERNATIONAL CONFERENCE ON ASIAN LANGUAGE PROCESSING (IALP), 2017, : 383 - 386
  • [45] Discussion on Comparing Machine Learning Models for Health Outcome Prediction
    Wojtusiak, Janusz
    Asadzadehzanjani, Negin
    HEALTHINF: PROCEEDINGS OF THE 15TH INTERNATIONAL JOINT CONFERENCE ON BIOMEDICAL ENGINEERING SYSTEMS AND TECHNOLOGIES - VOL 5: HEALTHINF, 2021, : 711 - 718
  • [46] Hadith Authenticity Prediction using Sentiment Analysis and Machine Learning
    Haque, Farhana
    Orthy, Anika Hossain
    Siddique, Shahnewaz
    2020 IEEE 14TH INTERNATIONAL CONFERENCE ON APPLICATION OF INFORMATION AND COMMUNICATION TECHNOLOGIES (AICT2020), 2020,
  • [47] Airbnb Price Prediction Using Machine Learning and Sentiment Analysis
    Kalehbasti, Pouya Rezazadeh
    Nikolenko, Liubov
    Rezaei, Hoormazd
    MACHINE LEARNING AND KNOWLEDGE EXTRACTION (CD-MAKE 2021), 2021, 12844 : 173 - 184
  • [48] Sentiment Analysis on Reviews of Amazon Products Using Different Machine Learning Algorithms
    Tasci, Merve Esra
    Rasheed, Jawad
    Ozkul, Tarik
    FORTHCOMING NETWORKS AND SUSTAINABILITY IN THE AIOT ERA, VOL 2, FONES-AIOT 2024, 2024, 1036 : 318 - 327
  • [49] Sentiment Analysis Based Product Rating Using Textual Reviews
    Sindhu, C.
    Vyas, Dyawanapally Veda
    Pradyoth, Kommareddy
    2017 INTERNATIONAL CONFERENCE OF ELECTRONICS, COMMUNICATION AND AEROSPACE TECHNOLOGY (ICECA), VOL 2, 2017, : 727 - 731
  • [50] Data Representation in Machine Learning-Based Sentiment Analysis of Customer Reviews
    Shamshurin, Ivan
    PATTERN RECOGNITION AND MACHINE INTELLIGENCE, 2011, 6744 : 254 - 260