LSTMs for Time Series Forecasting in Matlab 2017b

3 views (last 30 days)
I have a series of queries:- 1] How can I perform time series forecasting i.e. given a time series of lets say 'x' time steps and predicting the next 'y' time steps (consecutively). Can I use the regression layer after the last layer or will I have to convert my time series problem as a classification problem?
2] What is the significance of padding?
3]How do I prepare a dataset from a time series to be put into use for training the LSTM network?
4]Within the documentation for LSTM layers, under the sub-topic: 'list parameters' what Output Mode (sequence/ last) should I select and when?
  1 Comment
nora mahmoud
nora mahmoud on 17 Mar 2019
did you reach to solution , if you reached please help me , as i have the same problems..

Sign in to comment.

Answers (1)

Abolfazl Nejatian
Abolfazl Nejatian on 8 Dec 2018
here is my code,
this piece of code predicts time series data by use of deep learning and shallow learning algorithm.
best wishes
Abolfazl Nejatian

Categories

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!