How to improve the accuracy of LSTM network?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289986/comparison.png)
![test_prediction](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289987/test_prediction.png)
![forecasting](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289988/forecasting.png)
3 comentarios
Sinan Islam
el 9 de Mayo de 2021
Unfortunately, Matlab dont have a single example of optimizing LSTM.
Bhavick Singh
el 18 de Nov. de 2021
Hi Mohammed, Im having the same problem as well. Were you able to find the solution?
Respuestas (2)
Madderla Chiranjeevi
el 17 de En. de 2022
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
0 comentarios
yanqi liu
el 18 de Feb. de 2022
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
0 comentarios
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!