LSTM time series forecasting, predicting future values

27 vues (au cours des 30 derniers jours)
Stashu Kozlowski
Stashu Kozlowski le 4 Avr 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?

Réponses (1)

David Willingham
David Willingham le 5 Avr 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.

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by