Comparison of Naive Bayes and SVM Classification in Grid-Search Hyperparameter Tuned and Non-Hyperparameter Tuned Healthcare Stock Market Sentiment Analysis

被引:0
作者
Chong, KaiSiang [1 ]
Shah, Nathar [1 ]
机构
[1] Multimedia Univ, Fac Comp & Informat, Cyberjaya, Selangor, Malaysia
关键词
Machine learning; sentiment analysis; opinion mining; Naive Bayes; SVM Classifier; grid search technique; hyperparameter tuning;
D O I
10.14569/IJACSA.2022.0131213
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper compares the performance of Naive Bayes and SVM classifiers classification based on sentiment analysis of healthcare companies' stock comments in Bursa Malaysia. Differing from other studies which focus on the performance of the classifier models, this paper focuses on identifying the hyperparameters of the classifier models that are significant for sentiment analysis and the optimization potential of the models. Grid Search technique is used for the hyperparameters tuning process. The performance such as precision, recall, f1-score, and accuracy of Naive Bayes and SVM before and after hyperparameter tuning are compared. The results show that the important hyperparameters for Naive Bayes are alpha and fit_prior, while the important hyperparameters for SVM are C, kernel, and gamma. After performing hyperparameters tuning, SVM gave a better performance with an accuracy of 85.65% than Naive Bayes with an accuracy of 68.70%. It also proves that hyperparameter tuning is able to improve the performance of both models, and SVM has a better optimization potential than Naive Bayes.
引用
收藏
页码:90 / 94
页数:5
相关论文
共 9 条
[1]  
Ahmad M., 2017, Int. J. Comput. Appl, V177, P25, DOI DOI 10.5120/IJCA2017915758
[2]  
Ahmad M, 2018, INT J ADV COMPUT SC, V9, P393
[3]  
[Anonymous], 2004, P 10 ACM SIGKDD INT
[4]  
Ardianto Rian, 2020, Jurnal Ilmu Komputer Dan Informasi, V13, P109, DOI DOI 10.21609/JIKI.V13I2.885
[5]  
Bayhaqy A., 2018, INT CONF ORANGE TECH, P1
[6]  
Bursa Malaysia (KLSE) market summary, BURS MAL KLSE MARK S
[7]  
Dey L, 2016, Arxiv, DOI arXiv:1610.09982
[8]  
Dey Sanjay, 2020, 2020 International Conference on Contemporary Computing and Applications (IC3A), P217, DOI 10.1109/IC3A48958.2020.233300
[9]  
Rahat AM, 2019, PROCEEDINGS OF THE 2019 8TH INTERNATIONAL CONFERENCE ON SYSTEM MODELING & ADVANCEMENT IN RESEARCH TRENDS (SMART-2019), P266, DOI [10.1109/SMART46866.2019.9117512, 10.1109/smart46866.2019.9117512]