English

Yelp Review Rating Prediction: Machine Learning and Deep Learning Models

Computation and Language 2020-12-15 v1 Information Retrieval Machine Learning

Abstract

We predict restaurant ratings from Yelp reviews based on Yelp Open Dataset. Data distribution is presented, and one balanced training dataset is built. Two vectorizers are experimented for feature engineering. Four machine learning models including Naive Bayes, Logistic Regression, Random Forest, and Linear Support Vector Machine are implemented. Four transformer-based models containing BERT, DistilBERT, RoBERTa, and XLNet are also applied. Accuracy, weighted F1 score, and confusion matrix are used for model evaluation. XLNet achieves 70% accuracy for 5-star classification compared with Logistic Regression with 64% accuracy.

Keywords

Cite

@article{arxiv.2012.06690,
  title  = {Yelp Review Rating Prediction: Machine Learning and Deep Learning Models},
  author = {Zefang Liu},
  journal= {arXiv preprint arXiv:2012.06690},
  year   = {2020}
}

Comments

8 pages, 13 figures

R2 v1 2026-06-23T20:54:58.633Z