blitz-bayesian-deep-learning icon indicating copy to clipboard operation
blitz-bayesian-deep-learning copied to clipboard

stocks-blstm.ipynb

Open waudinio27 opened this issue 3 years ago • 4 comments

This program is amazing!

I am reproducing the stocks-blstm.ipynb example - as a beginner I would be interested to train and test a model with data up to now and then make predictions directly after this.

Or is there something that I got wrong and did not understand properly?

Could somebody show me how to do so? ..... I would appreciate it a lot.

Thanks a lot and keep up the good work :-D

waudinio27 avatar Sep 12 '21 02:09 waudinio27

You mean, you want to predict the next day's price? You can just modify the future_length = 7 to future_length = 1

TerenceLiu98 avatar Sep 24 '21 16:09 TerenceLiu98

Thank you, Terence! I think what is actually missing is a function for the prediction after training and fitting the model. I will try to write one and make a pull request once I am done :-D

Greetings

waudinio27 avatar Sep 26 '21 02:09 waudinio27

@waudinio27 I think the code block No.14 (in stocks-blstm.ipynb, def pred_stock_future) is the prediction function

TerenceLiu98 avatar Sep 30 '21 00:09 TerenceLiu98

Thank you so much Terence!

waudinio27 avatar Oct 04 '21 00:10 waudinio27