-
Notifications
You must be signed in to change notification settings - Fork 29
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
LSTM model for regression #12
Comments
LSTM is a way of organizing data in time windows, you can get similar results and more scalable in terms of the model by passing the data to 3d arrays. a 3d array. Example you can send a df pandas, this function will transform it into a 3d array (with its windows) https://github.com/Leci37/stocks-prediction-Machine-learning-RealTime-telegram/blob/develop/Data_multidimension.py#L122 with it you can work in LSTM, Dense, gru or any, for the ML mechanically it is like working with an image. |
Hello,
I would like to ask you when you use the LSTM algorithm , do you use timestep=1 in the input shape of LSTM? LSTM models shouldn't have a bigger timestep because of their memory state?
Secondly, for the n-th day prediction, this timestep shouldn't be n? For example when we predict the 7th day, shouldn't we use timestep=7? What is the difference timestep=1 for one day forecast and for 7-th day forecast?
Thanks in advance!
The text was updated successfully, but these errors were encountered: