Sentiment Analysis for Film Reviews Based on Random Forest
DOI:
https://doi.org/10.61173/5t8epb44Keywords:
Sentiment analysis, Random forest algorithm, IMDb film reviewsAbstract
Sentiment analysis of film reviews has been a popular research topic, and previous researchers have investigated it on the IMDb dataset using a variety of machine learning models, however, the classification results are not satisfactory. Therefore this study aims to construct an effective sentiment analysis model and explore whether the Random Forest algorithm can be applied to the task of sentiment analysis on the IMDb dataset. In this study, after preprocessing the data, the Random Forest model was trained using a training set and evaluated using a test set to explore the accuracy and performance of the Random Forest model in film review sentiment analysis. The study also plotted word clouds to visualize the decision-making effect of the model. The Random Forest Model achieves an impressive 86% accuracy in sentiment analysis, while the word cloud plots provide a visually appealing depiction of its classification task. This indicates that the Random Forest model performs well in the film review sentiment analysis task with high accuracy and performance.
References
[1] Mahyarani M, Adiwijaya A, Al Faraby S, et al. Implementation of Sentiment Analysis Movie Review Based on Imdb with Naive Bayes using Information Gain on Feature Selection. IEEE, 2021: 99-103.
[2] Steinke I, Wier J, Simon L, et al. Sentiment Analysis of Online Movie Reviews using Machine Learning. Int. J. Adv. Comput. Sci. Appl, 2022, 13(9): 618-624.
[3] Dey L, Chakraborty S, Biswas A, et al. Sentiment Analysis of Review Datasets using Naive Bayes and K-NN Classifier. arXiv preprint arXiv:1610.09982, 2016.
[4] Dewi C, Chen R C. Complement Naive Bayes Classifier for Sentiment Analysis of Internet Movie Database. Cham: Springer International Publishing, 2022: 81-93.
[5] Ramadhan N G, Ramadhan T I. Analysis Sentiment Based on IMDB Aspects from Movie Reviews using SVM. Sinkron: jurnal dan penelitian teknik informatika, 2022, 7(1): 39-45.
[6] Genuer R, Poggi J M, Genuer R, et al. Random Forests. Springer International Publishing, 2020.
[7] Wu Shiqi, Zhao Xing-yu, Qiu Fenglin, et al. Analysis of JD Commodity Evaluation Word Cloud Based on Web Crawler. International Journal of Advanced Networking and Applications, 2021, 12(5): 4668-4676.
[8] Aufar M, Andreswari R, Pramesti D. Sentiment Analysis on Youtube Social Media using Decision Tree and Random Forest Algorithm: A Case Study. IEEE, 2020: 1-7.
[9] Maharana K, Mondal S, Nemade B. A review: Data Preprocessing and Aata Augmentation Techniques. Global Transitions Proceedings, 2022, 3(1): 91-99.
[10] Yan Dongyang, Li Keping, Gu Shuang, et al. Network-based Bag-of-words Model for Text Classification. IEEE Access, 2020, 8: 82641-82652.
[11] Han S, Kim H, Lee Y S. Double Random Forest. Machine Learning, 2020, 109: 1569-1586.
[12] Khomsah S. Sentiment Analysis on Youtube Comments using Word2vec and Random Forest. Telematika: Jurnal Informatika dan Teknologi Informasi, 2021, 18(1): 61-72.
[13] Belete D M, Huchaiah M D. Grid Search in Hyperparameter Optimization of Machine Learning Models for Prediction of HIV/AIDS Test Results. International Journal of Computers and Applications, 2022, 44(9): 875-886.
[14] Qaisar S M. Sentiment Analysis of IMDb Movie Reviews using Long Short-term Memory. IEEE, 2020: 1-4.
[15] Khrais L T. Role of Artificial Intelligence in Shaping Consumer Demand in E-commerce. Future Internet, 2020, 12(12): 226.
[16] Dubey A D. Twitter Sentiment Analysis During COVID-19 Outbreak. Available at SSRN 3572023, 2020.
[17] Wu Yingcai, Provan T, Wei Furu, et al. Semantic‐preserving Word Clouds by Seam Carving. Oxford, UK: Blackwell Publishing Ltd, 2011, 30(3): 741-750.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 by the authors.

This work is licensed under a Creative Commons Attribution 4.0 International License.
