26hzhang / StockPrediction

Plain Stock Close-Price Prediction via Graves LSTM RNNs
MIT License
193 stars 113 forks source link

repeatable predicts #5

Open albetriv opened 5 years ago

albetriv commented 5 years ago

Hello Isaac thanks for your project. I have one question: changing the method StockPricePrediction.predictPriceOneAhead by asking for two or more predicts for the same input test data

predicts[i] = net.rnnTimeStep(testData.get(i).getKey()).getDouble(exampleLength - 1) (max - min) + min;//predict#1 predicts[i] = net.rnnTimeStep(testData.get(i).getKey()).getDouble(exampleLength - 1) (max - min) + min;//predict#2 ...

you will see different values for the predict (predict#1 and predict#2) for the same input. Is it ok ? thanks