My input features for LSTM are different dimension, Is it possible to combine and train the network

4 visualizaciones (últimos 30 días)
I have 6 input features for trining the LSTM network, but 1st coloumn has 2x28(contain 2 feature of 28 length) cells by 100 and all four are 1x100 each, Is it possible to combine all the feature and give it to network. since for LSTM we are using (sequenceInputLayer(N)) as input layer. Is there any alternate solution to this.

Respuesta aceptada

Hiro Yoshino
Hiro Yoshino el 24 de Mayo de 2022
No, you cannot do that I think.
Why don't you conver the singular values into series data by using remat and put them under the 2x28 series data so you can use LSTM?
Another way to do this is creating a network with multi-inputs.
  1 comentario
Manoj Devaraju
Manoj Devaraju el 26 de Mayo de 2022
Thank you so much for your response. I have tried first approach you mentioned worked well.
but creating a network with multi input, I tried to create but failed.
Can you please show me how to create multi-inputs network for my problem.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by