Research Article
Deep Learning Structure for Cross-Domain Sentiment Classification Based on Improved Cross Entropy and Weight
Table 5
Model superparameter settings.
| | LSTM | LSTM-BO | CNN | CNN-BO | W-RNN |
| Hidden_dam | 256 | 256 | 256 | 256 | 256 | Batch_size | 32 | 32 | 32 | 32 | 32 | Embedding_dam | 50 | 50 | 50 | 50 | 50 | Filters | — | — | 250 | 250 | — | Kernel_size | — | — | 3 | 3 | — | Max_features | 5000 | 5000 | 5000 | 5000 | 5000 | Epoch | 10 | 10 | 10 | 10 | 10 | Min_count | 10 | 10 | 10 | 10 | 10 | Dropout | 0.2 | 0.2 | 0.2 | 0.2 | 0.5 | Activation function | Sigmoid | Sigmoid | Relu | Relu | Sigmoid |
|
|