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

4 次查看(过去 30 天)
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 个评论
krishna Chauhan
krishna Chauhan 2020-7-6
@Mirko Job
did you find your answers sir?
I am dealing with sequence classification using TCN.
Mirko Job
Mirko Job 2020-7-7
编辑:Mirko Job 2020-7-21
@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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by