Table 4.
Hyperparameter setting used for BiGRU model.
| Parameter name | Value | Description |
|---|---|---|
| Max features | 20,000 | Vocabulary size of the embedding layer. |
| Embedding dim | 300 | Embedding dimension. |
| Dropout | 0.2 | Dropout rate |
| Number of cells | 80 | Number of GRU cells in the BiGRU layer. |
| Activation function | Relu | Activation function of the convolution layer |
| Dense | 2 | Number of neurons in the output layer. |
| Loss function | Categorical cross entropy | Loss function of the output layer. |
| Optimizer | Adam | Optimization algorithm of the model. |