Research Article

An Efficient Sentiment Classification Method with the Help of Neighbors and a Hybrid of RNN Models

Table 4

The effect of neighborhood size.

Neighborhood sizeMetricsDataset
BGBISMVSA-SingleTwitterIMDB

0Accuracy98.2397.5380.7495.1787.01
Precision98.4198.3080.2295.1691.14
Recall98.1696.2180.7495.1583.29
F1-score98.1097.9580.1095.1187.00

2Accuracy98.7498.0582.2895.6587.15
Precision98.9598.7881.7195.6791.32
Recall98.6796.7382.2895.6683.78
F1-score98.6298.4681.6295.6387.12

4Accuracy99.2398.5382.7796.1588.25
Precision99.4499.2982.2096.1792.54
Recall99.1897.2482.7896.1684.34
F1-score99.1098.9782.1096.1388.31

8Accuracy99.3498.6582.8796.2488.36
Precision99.5599.3882.3196.2892.64
Recall99.2797.3382.8796.2484.47
F1-score99.2299.0682.2396.2288.40

16Accuracy99.3798.7282.9496.3188.40
Precision99.5899.4082.3796.3192.68
Recall99.3197.4082.9396.3284.50
F1-score99.2599.1082.2696.2788.44

32Accuracy99.4298.7382.9696.3388.45
Precision99.6399.4682.3996.3592.75
Recall99.3597.4182.9696.3484.12
F1-score99.3099.1482.3096.3188.12