How to deal with Time Sequence Inputs for 1D Convolutional-LSTM networks.

10 visualizaciones (últimos 30 días)
Mirko Job
Mirko Job el 27 de Mzo. de 2020
Editada: Mirko Job el 21 de Jul. de 2020
I am trying to combine two approach for Time Sequence Classification using deep learning.
The first one implement LSTM networks and it is described here:
The seccond apply convolutional networks and it is described here:
Following previous advices on ANSWERS I used the Deep Network builder object to recreate the main convolutional block of 2) as
Now my doubt is how should i format the accelerometry data for the input of this network?
My data are 42 features signals from accelerometry represented as 42xN°observations.
I tried to format the data as a sequence of images as 1x1x42xN°observations, and it seemed work but still my doubt remains.
Is this data format correct ? and if so:
It is correct to define 1x3 as dimension of the filter?
Thank in advance,
  3 comentarios
krishna Chauhan
krishna Chauhan el 6 de Jul. de 2020
@Mirko Job
did you find your answers sir?
I am dealing with sequence classification using TCN.
Mirko Job
Mirko Job el 7 de Jul. de 2020
Editada: Mirko Job el 21 de Jul. de 2020
@krishna Chauhan Yes, the problem is that you have to write your own custom training loop routine using dlarrays. So first you train TCN using the approach described in the link. Then you extract the Features dlarrays from the net manually before the Fully Connected part. Then you train a lstm net (see lstm function) from the elaborated temporale features obtained through TCN.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by