Skip to main content

Table 1 Result of experiment with various historical data and epoch (with epoch 100 in 1 year, the best accuracy 94.59% is reached)

From: Data science approach to stock prices forecasting in Indonesia during Covid-19 using Long Short-Term Memory (LSTM)

Historical data

OHLC value

High value

Epochs

5

20

50

20

50

100

Test RMSE value

 1 year

537.07

335,33

257.42

565.18

394.76

205.65

Prediction value (next day)

25,545.20

25,341.33

25,343.35

25,344.05

Accuracy

93.83%

94.57%

94.58%

94.59%

 3 years

1023.43

1022.43

1023.45

929.80

193.30

193.31

Prediction value (next day)

30,619.65

28,690.60

27,094.52

27,092.09

Accuracy

78.28%

83.54%

88.46%

88.47%