Sentiment Analysis for Film Reviews Based on Random Forest

Dongling Zheng
{"title":"Sentiment Analysis for Film Reviews Based on Random Forest","authors":"Dongling Zheng","doi":"10.61173/5t8epb44","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":438278,"journal":{"name":"Science and Technology of Engineering, Chemistry and Environmental Protection","volume":"108 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Science and Technology of Engineering, Chemistry and Environmental Protection","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.61173/5t8epb44","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
基于随机森林的电影评论情感分析
电影评论的情感分析一直是一个热门的研究课题,之前的研究人员已经使用多种机器学习模型在 IMDb 数据集上进行了研究,但是分类结果并不令人满意。因此,本研究旨在构建一个有效的情感分析模型,并探索随机森林算法是否能应用于 IMDb 数据集上的情感分析任务。本研究在对数据进行预处理后,使用训练集对随机森林模型进行了训练,并使用测试集对随机森林模型进行了评估,以探讨随机森林模型在影评情感分析中的准确性和性能。研究还绘制了词云图,以直观显示模型的决策效果。随机森林模型在情感分析中达到了令人印象深刻的 86% 的准确率,而词云图则对其分类任务进行了直观的描述。这表明,随机森林模型在影评情感分析任务中表现出色,具有较高的准确率和性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信