What do these Matlab LSTM parameters means and used for

1 次查看(过去 30 天)
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?

回答(1 个)

Divya Gaddipati
Divya Gaddipati 2019-10-22
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.

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

标签

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by