Timeseries multivariate forecasting example
9 views (last 30 days)
Show older comments
PEDRO MARTINS on 22 Jan 2021
Answered: Anmol Dhiman on 27 Jan 2021
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?
Anmol Dhiman on 27 Jan 2021
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!