How to improve the accuracy of LSTM network?

6 ビュー (過去 30 日間)
Mohamed Nedal
Mohamed Nedal 2020 年 5 月 3 日
回答済み: yanqi liu 2022 年 2 月 18 日
Hello everyone, I hope you're fine and safe
I am working on forecasting time-series data using LSTM network, but the forecasting of the test data seems very inaccurate.
Kindly find the attached code with the dataset.
Any suggestions to improve the accuracy please?
Another question is how can I modify this code to forecast a variable based on multible variables (i.e., Multivariate Multi-Step LSTM Models; Multiple Input Multi-Step Output)?
Thanks in advance,
comparison
test_prediction
forecasting
  3 件のコメント
Sinan Islam
Sinan Islam 2021 年 5 月 9 日
Unfortunately, Matlab dont have a single example of optimizing LSTM.
Bhavick Singh
Bhavick Singh 2021 年 11 月 18 日
Hi Mohammed, Im having the same problem as well. Were you able to find the solution?

サインインしてコメントする。

回答 (2 件)

Madderla Chiranjeevi
Madderla Chiranjeevi 2022 年 1 月 17 日
Hi sirs, I am also strucking here, please help me in this regard if you solved this problem.you can mail me also over chiru.madderla@gmail.com
I am so thankful for you for this

yanqi liu
yanqi liu 2022 年 2 月 18 日
yes,sir,may be use bilstmLayer to replace lstmLayer,and not use predictAndUpdateState during test
set randperm to shuffle data before make numTimeStepsTrain to split data

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by