LSTMs for Time Series Forecasting in Matlab 2017b

4 visualizzazioni (ultimi 30 giorni)
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 Commento
nora mahmoud
nora mahmoud il 17 Mar 2019
did you reach to solution , if you reached please help me , as i have the same problems..

Accedi per commentare.

Risposte (1)

Abolfazl Nejatian
Abolfazl Nejatian il 8 Dic 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

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by