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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Hiro Yoshino
Hiro Yoshino il 24 Mag 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 Commento
Manoj Devaraju
Manoj Devaraju il 26 Mag 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Sequence and Numeric Feature Data Workflows in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by