How to implement LSTM Time-series prediction using multi-features?
古いコメントを表示
Hello everyone,
I have the attached code and the attached data file here. I want to modify that code to proceed time-series prediction for 1 output using 5 inputs.
When I the training finishes I get the following error:
The prediction sequences are of feature dimension 1 but the input layer expects sequences of feature dimension 4.
Error in multi_lstmOMNI_noStand (line 110)
[net,YPred] = predictAndUpdateState(net,YTrain);
Can you please tell me how to fix it?
I appreciate your help.
5 件のコメント
OLUWAFEMI AJAYI
2020 年 1 月 29 日
Hello,
I am also having the same challenge using that code for time-series prediction for two input/one output. Please have you been able to fix the error?
Mohamed Nedal
2020 年 4 月 7 日
Marcelo Olmedo
2020 年 5 月 6 日
Hello people; I found the problem; the key is in the correct loading of data as the published documents say. I attach my code and used tables so you don't have problems to run it; I upload data from excel to train and test. I do not use standardized data. The model fits quite well. Cheers
Mohamed Nedal
2020 年 5 月 9 日
Mohamed Nedal
2020 年 7 月 3 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Built-In Training についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!