Table 4. Optimized hyperparameters for the stock price prediction model.
Layer | Searching range | Optimal value |
---|---|---|
LSTM 1 | 32 ∼ 256 | 160 |
Dropout 1 | 0.1 ∼ 0.5 | 0.2 |
LSTM 2 | 32 ∼ 256 | 64 |
Dropout 2 | 0.1 ∼ 0.5 | 0.2 |
LSTM 3 | 32 ∼ 256 | 64 |
Dropout 3 | 0.1 ∼ 0.5 | 0.1 |
LSTM 4 | 32 ∼ 256 | 64 |
Dropout 4 | 0.1 ∼ 0.5 | 0.4 |