How to create a LSTM model for multivariate time dependent time series
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Venu
le 11 Jan 2024
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 commentaires
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!