Comparison of SVM and Naive Bayes for Sentiment Classification using BERT data

被引:3
作者
Rana, Shivani [1 ]
Kanji, Rakesh [1 ]
Jain, Shruti [2 ]
机构
[1] Jaypee Univ Informat & Technol, Dept Comp Sci & Engn, Solan, HP, India
[2] Jaypee Univ Informat & Technol, Dept Elect & Commun Engn, Solan, HP, India
来源
2022 5TH INTERNATIONAL CONFERENCE ON MULTIMEDIA, SIGNAL PROCESSING AND COMMUNICATION TECHNOLOGIES (IMPACT) | 2022年
关键词
Machine Learning; Sentiment Analysis; BERT; Naive Bayes; SVM;
D O I
10.1109/IMPACT55510.2022.10029067
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 Naive 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 Naive Bayes.
引用
收藏
页数:5
相关论文
共 19 条
[1]   Detecting sentiment dynamics and clusters of Twitter users for trending topics in COVID-19 pandemic [J].
Ahmed, Md Shoaib ;
Aurpa, Tanjim Taharat ;
Anwar, Md Musfique .
PLOS ONE, 2021, 16 (08)
[2]  
Alammar J, The illustrated bert, elmo
[3]  
Batra Himanshu, 2021, AXXIV
[4]   COVID-19 sentiment analysis via deep learning during the rise of novel cases [J].
Chandra, Rohitash ;
Krishna, Aswin .
PLOS ONE, 2021, 16 (08)
[5]  
Devlin J, 2019, Arxiv, DOI [arXiv:1810.04805, 10.48550/arXiv.1810.04805]
[6]   The survey: Text generation models in deep learning [J].
Iqbal, Touseef ;
Qureshi, Shaima .
JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2022, 34 (06) :2515-2528
[7]  
Jain S., 2019, INT J EMERG TECHNOL, V10, P23
[8]  
Jain S, 2019, BIOMEDICAL ENGINEERING AND ITS APPLICATIONS IN HEALTHCARE, P399, DOI 10.1007/978-981-13-3705-5_17
[9]   An image feature selection approach for dimensionality reduction based on kNN and SVM for AkT proteins [J].
Jain, Shruti ;
Salau, Ayodeji Olalekan .
COGENT ENGINEERING, 2019, 6 (01)
[10]  
Kharde V.A., 2016, International Journal of Computer Applications, V139