Research Article

Chinese Microblog Sentiment Detection Based on CNN-BiGRU and Multihead Attention Mechanism

Table 4

Comparison of test results with various traditional machine learning methods.

ā€‰AccuracyPrecisionRecallF1

Decision tree0.72470.72770.71820.7229
KNN0.80480.82900.76790.7973
Naive Bayes0.81510.82520.79950.8122
Random forest0.84550.84340.84850.8459
GBDT0.86840.86400.87450.8692
SVM0.87580.86820.88610.8771
Logistic regression0.88900.88200.89810.8900
CNN-BiGRU-MAttention0.97650.99010.96060.9751