How to set window size for LSTM in Matlab?
6 ビュー (過去 30 日間)
古いコメントを表示
I was wondering how I can set the window size in an LSTM network, but cant find it under the layer settings.
I'm using the LSTM for time series regression and simulation.
Thanks!
4 件のコメント
回答 (1 件)
Ameer Hamza
2020 年 9 月 22 日
You can use NumHiddenUnits option to specify the window size (if by window size, you mean the number of memory units).
lstmLayer(numHiddenUnits,'OutputMode','sequence', 'NumHiddenUnits', 100); % 100 units
5 件のコメント
Ameer Hamza
2020 年 9 月 23 日
Yes, window size defined in the researchgate link is the memory units in the lstm. It is the same as the hidden units in MATLAB.
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!