MATLAB Answers

What do these Matlab LSTM parameters means and used for

6 views (last 30 days)
Ahmad Kamal Bin Mohd Nor
Ahmad Kamal Bin Mohd Nor on 10 Oct 2019
Answered: Divya Gaddipati on 22 Oct 2019
Hi there
Been trying to understand these parameter in LSTM (what are they used for);
numHiddenUnits
fullyConnectedLayers(Output Size) --> what is Output Size for a sequence to sequence regression?

  0 Comments

Sign in to comment.

Answers (1)

Divya Gaddipati
Divya Gaddipati on 22 Oct 2019
Hi,
numHiddenUnits -
  • This corresponds to the amount of information remembered between time steps (the hidden state). The hidden state can contain information from all previous time steps, regardless of the sequence length.
  • If the number of hidden units is too large, then the layer might overfit to the training data.
Output Size in fullyConnectedLayer -
  • In case of sequence to sequence regression, it refers to the length of the output sequence.
  • In case of sequence classification, it refers to the number of classes.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products


Release

R2018b