Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stocks-blstm.ipynb #93

Open
waudinio27 opened this issue Sep 12, 2021 · 4 comments
Open

stocks-blstm.ipynb #93

waudinio27 opened this issue Sep 12, 2021 · 4 comments

Comments

@waudinio27
Copy link

waudinio27 commented Sep 12, 2021

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

@TerenceLiu98
Copy link

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

@waudinio27
Copy link
Author

waudinio27 commented Sep 26, 2021

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

@TerenceLiu98
Copy link

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

@waudinio27
Copy link
Author

Thank you so much Terence!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants