Recurrent Neural Network with multiple time series
Mostrar comentarios más antiguos
Hi, I want to train a recurrent neural network with multiple time series. More specifically, I have M time series trajectories with a varying number of time steps in each trajectory. The documentation for layrecnet() only has examples for a single trajectory, M=1. In the examples, each column of the cell array represents a single time step and each row is a feature or an element. How should I structure the data to account for multiple trajectories? Or should I just retrain the NN for each trajectory in an online learning fashion?
Thanks,
Respuesta aceptada
Más respuestas (1)
Greg Heath
el 5 de Ag. de 2016
0 votos
You can only train for one trajectory at a time;
A multidimensional input just indicats a vector valued signal on a single trajectory.
Hope this helps.
Greg
3 comentarios
stephen
el 5 de Ag. de 2016
poonam
el 27 de Nov. de 2018
I have tried your suggestion. In my case I got new error
Error using preparets (line 105)
Feedback and inputs have different numbers of timesteps.
Following up with this link..
I used the con2seq(in) like in below code.
in = [v1.'; v2.' ; v3.'];
con2seq(in)
% size(v1) = 532326 1
% size(v2) = 532326 1
% size(v3) = 532326 1
% size(in) = 3 532326
Error using con2seq (line 35)
Data has more than one timestep.
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!