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 CenterFile Exchange에서 Sequence 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