Comparison of SVM and Naïve Bayes for Sentiment Classification using BERT data

Shivani Rana, Rakesh Kanji, Shruti Jain
{"title":"Comparison of SVM and Naïve Bayes for Sentiment Classification using BERT data","authors":"Shivani Rana, Rakesh Kanji, Shruti Jain","doi":"10.1109/IMPACT55510.2022.10029067","DOIUrl":null,"url":null,"abstract":"Expressing views related to any common interest of area is becoming very general due to the excessive use of internet on the handheld devices like mobiles. Everyone is free to share his opinions within his social network. Having some useful knowledge from those opinions is the challenge for text classification techniques. In this work, the movies related opinions in the form of long and more than one sentence are analyzed to categorize them as positive or negative sentiments towards the movie. In this paper, the machine learning approach using the supervised learning methods is used for the implementation of the model. The data is prepared using the BERT model where plain text is directly converted into a numerical data form. The experiments are conducted using the Support Vector Machine and Naïve Bayes algorithms. Accuracy, F1 score, and other metrics have been evaluated for the comparison of the results of both algorithms. The results show that the predictions by SVM have high accuracy than Naïve Bayes.","PeriodicalId":300301,"journal":{"name":"2022 5th International Conference on Multimedia, Signal Processing and Communication Technologies (IMPACT)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 5th International Conference on Multimedia, Signal Processing and Communication Technologies (IMPACT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMPACT55510.2022.10029067","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Expressing views related to any common interest of area is becoming very general due to the excessive use of internet on the handheld devices like mobiles. Everyone is free to share his opinions within his social network. Having some useful knowledge from those opinions is the challenge for text classification techniques. In this work, the movies related opinions in the form of long and more than one sentence are analyzed to categorize them as positive or negative sentiments towards the movie. In this paper, the machine learning approach using the supervised learning methods is used for the implementation of the model. The data is prepared using the BERT model where plain text is directly converted into a numerical data form. The experiments are conducted using the Support Vector Machine and Naïve Bayes algorithms. Accuracy, F1 score, and other metrics have been evaluated for the comparison of the results of both algorithms. The results show that the predictions by SVM have high accuracy than Naïve Bayes.
基于BERT数据的SVM与Naïve贝叶斯情感分类的比较
由于在手机等手持设备上过度使用互联网,表达与任何共同兴趣领域相关的观点变得非常普遍。每个人都可以在自己的社交网络中自由地分享自己的观点。从这些观点中获得一些有用的知识是文本分类技术面临的挑战。在这项工作中,以长而多句的形式分析电影相关意见,将其分类为对电影的积极或消极情绪。在本文中,使用监督学习方法的机器学习方法来实现模型。使用BERT模型准备数据,其中将纯文本直接转换为数字数据形式。实验采用支持向量机和Naïve贝叶斯算法。准确性、F1分数和其他指标已经被评估,以比较两种算法的结果。结果表明,SVM的预测精度高于Naïve贝叶斯。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信
小红书