Timeseries multivariate forecasting example

19 ビュー (過去 30 日間)
PEDRO MARTINS 2021 年 1 月 22 日
回答済み: Anmol Dhiman 2021 年 1 月 27 日
I am learning how to do a simple timeseries forecast with more than one variable.
I have found this example from the official matlab website:
Its the chickenpox example, and it works very well.
My question is, is there an example similar to that, but with more than one variable?
Or what does it need to be changed in that example?
Thank you

回答 (1 件)

Anmol Dhiman
Anmol Dhiman 2021 年 1 月 27 日
Hi Pedro,
You can either change the above example or there are other method also for forecasting you can refer to them as well.
Here is the link of one such example.
If you desire to tweak the above example and make it work for you case, you can simply change the input of SequenceInputLayer according to number of variable. You may also need to change the LSTM layer input accordingly.
Hope it helps


Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by