LSTM time series forecasting, predicting future values

28 visualizaciones (últimos 30 días)
Stashu Kozlowski
Stashu Kozlowski el 4 de Abr. de 2022
Respondida: David Willingham el 5 de Abr. de 2022
Hello, I am currently trying to learn how to perform time series forecasting using Matlab. I have been following this MATLAB guide.
However, my goal to to use LSTM to predict future values rather then compare it to known values. This guide take in a data sample of 500 points, is trained and then predicts the points from 450 to 500. My goal is to have it predict points 501 to 550.
Does anyone know how I can alter the code given in the example to achieve this?

Respuestas (1)

David Willingham
David Willingham el 5 de Abr. de 2022
Hi Stashu,
Take a look at this updated example:
In it there is a section on "closed-loop forecasting" which should provide you with what you're looking for.

Categorías

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

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by