LSTM time series forecasting, predicting future values

36 views (last 30 days)
Stashu Kozlowski
Stashu Kozlowski on 4 Apr 2022
Answered: David Willingham on 5 Apr 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?

Answers (1)

David Willingham
David Willingham on 5 Apr 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.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by