using LSTM nets for classification with multiple outputs
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using LSTM nets for classification.
I would like to have 3 outputs of 3 values (-1 0 +1)
Apparently the Matlab framework for that nets accepts only one output. In this case it should have 27 values (3^3), but it adds complications.
Any suggestion?
Giuseppe Menga
0 Kommentare
Antworten (1)
Shreeya
am 12 Dez. 2023
To build an LSTM based neural netowkr with three prediction classes, create a layer array containing a sequence input layer, an LSTM layer, a fully connected layer, a softmax layer, and a classification output layer. Further, set the size of the sequence input layer to the number of features of the input data and the size of the fully connected layer to the number of prediction classes classes.
Refer to the link below for more details:
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!