How to create a LSTM model for multivariate time dependent time series
30 ビュー (過去 30 日間)
古いコメントを表示
I want to forecast a time series using two dependent time series. How can I do this task with Matlab Deep Learning Toolbox? I used the following architecture:
Sequence Input Layer(2) LSTM Layer(100) Fully Connected Layer(1) Regression Layer
I shifted my training output by one time step and standardized the data. When I run my code I get the following error:
Invalid training data. For cell array input, responses must be a an N-by-1 array of sequences, where N is the number of sequences. …
0 件のコメント
回答 (1 件)
Venu
2024 年 1 月 11 日
You can refer to this example to train a multi-output LSTM network using a custom training loop:
This example shows multi-step ahead (closed loop) predictions:
This MATLAB answer can be relevant regarding your error:
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File 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!