LSTM time series forecasting, predicting future values

14 次查看(过去 30 天)
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?

回答(1 个)

David Willingham
David Willingham 2022-4-5
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.

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by