Sentiment analysis of movie reviews based on logistic regression model

Yichen Xiao, Guanwen Yan, Yushi Yan, Yuhao Xiang · 2024

Movie reviews can help viewers understand basic information about a movie in advance, and film ratings play a vital role in the audience's choice of which movie to watch. Due to the large number of comments left by viewers on movie ticketing websites, it is difficult for viewers to distinguish between good and bad movie reviews and cannot judge the quality of the movie. Therefore, it is necessary to perform sentiment analysis on movie reviews. This paper uses 104,215 movie reviews collected from web pages as experimental subjects, uses TF-IDF to extract text features, and performs sentiment analysis on each movie review through logistic regression algorithm and naive Bayes algorithm to determine the emotional state represented in it. Positive or negative. The results of the two algorithms were compared based on 5 evaluation metrics (accuracy, precision, recall, F1 measure, and area under the curve (AUC)). Experimental results show that logistic regression is better at predicting movie reviews than naive Bayes.

Read the paper · More papers on PaperTik