size of sequence input layer of LSTM

9 Ansichten (letzte 30 Tage)
Farkhanda Aziz
Farkhanda Aziz am 21 Aug. 2019
Beantwortet: Dario Walter am 25 Aug. 2020
I am working on bi LSTM.I have dataset comprises of 1720 samples with 6 features.When i set the size of sequence input layer (size of cell array) to 1, it gives me good accuracy but as i increases the size of input layer to 5 and 10, the accuracy decreases and training time also reduces. Kindly explain me why the size of input layer in LSTM has an affect on Accuracy?

Antworten (1)

Dario Walter
Dario Walter am 25 Aug. 2020
Because the inputSize is equal to the number of used features (6 in your case). See documentation https://de.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.sequenceinputlayer.html

Kategorien

Mehr zu Statistics and Machine Learning Toolbox 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!

Translated by