How to predict multi time-steps forecasting using lstm layer and "predict"?

4 visualizaciones (últimos 30 días)
Ismaeel
Ismaeel el 22 de Oct. de 2021
Comentada: Gordon el 7 de Ag. de 2023
The chickenpox example of lstm forecasting accepts only a single input array. It is suggested to use the function "predict" for the multi-input data. However, by using "predict", how can one loop over to forecast multi time-step forecasting? "predict" is used only to predict a one-time step ahead. I see the function "closeloop" was used for this purpose but not with "predict". How can I use "closeloop" to forecast multi time-steps in an example with "predict". My neural network is lstm.
Thanks.

Respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by