size of sequence input layer of LSTM

조회 수: 1 (최근 30일)
Farkhanda Aziz
Farkhanda Aziz 2019년 8월 21일
답변: Dario Walter 2020년 8월 25일
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?

답변 (1개)

Dario Walter
Dario Walter 2020년 8월 25일
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

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by