LSTM with data sequence including NaN values
17 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using LSTM training network but the training progress is not working and a blank loss plot is coming.
The datasequence is corresponding to a signal in time and it includes NaN values, even the validation dataset.
How to overcome this issue ? is it becuse of the NaN values.
I have to use NaN values to make sure all signals are at the same length for the sequenceInputLayer(numFeatures)
regards,
Mohanad
0 件のコメント
回答 (1 件)
Dheeraj Singh
2019 年 11 月 5 日
Too much padding can have negative impact on the network performance. To prevent the training process from adding too much padding, you can sort the training data by sequence length, and choose a mini-batch size such that the sequences in a mini-batch have similar length.
For more information refer to the following link:
2 件のコメント
Dheeraj Singh
2019 年 12 月 4 日
If you have only one feature, your sequence length would be 3400, 5000, and 3200 for the above data, respectively. It is difficult to comment on the dataset without any description, so if you could provide the dataset or some description about it, it can be more helpful in understanding the issue.
参考
カテゴリ
Help Center および File Exchange で AI for Signals and Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!