LSTMs for Time Series Forecasting in Matlab 2017b

3 次查看(过去 30 天)
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 个评论
nora mahmoud
nora mahmoud 2019-3-17
did you reach to solution , if you reached please help me , as i have the same problems..

请先登录,再进行评论。

回答(1 个)

Abolfazl Nejatian
Abolfazl Nejatian 2018-12-8
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

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by