Sequence to Sequence Classification with Deep Learning CNN+LSTM
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mirko Job
il 22 Mar 2020
Commentato: Srivardhan Gadila
il 25 Mar 2020
I was looking through the possible implementation of sequence classification using deep-learning.
There are pllenty of example of LSTM/BILSTM implementations
and 1D-Convolutional implementations of the problem.
My question is there is a way to combine the two solutions?
If for the first one the building of the net seems pretty immediate by stacking series of custom layers:
layers = [ ...
sequenceInputLayer(numFeatures)
lstmLayer(numHiddenUnits,'OutputMode','sequence')
fullyConnectedLayer(numClasses)
softmaxLayer
classificationLayer];
The convolution implementation seems indeed more complex, as it directly defines the various computational blocks.
Can i use a pre-defined convolution2Dlayer in the layers structure like in A) or do i have to go deeply in coding as described in B)?
0 Commenti
Risposta accettata
Srivardhan Gadila
il 25 Mar 2020
I think you can use the convolution2Dlayer with appropriate input arguments but make sure you use the sequenceFoldingLayer, sequenceUnfoldingLayer wherever necessary. Also refer to List of Deep Learning Layers.
2 Commenti
Srivardhan Gadila
il 25 Mar 2020
Refer to the following MATLAB Answer: CNN code and Sequence Input Error
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Data Workflows in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!