필터 지우기
필터 지우기

LSTM with data sequence including NaN values

조회 수: 4 (최근 30일)
Mohanad Alkhodari
Mohanad Alkhodari 2019년 10월 31일
댓글: Dheeraj Singh 2019년 12월 4일
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

답변 (1개)

Dheeraj Singh
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
Mohanad Alkhodari
Mohanad Alkhodari 2019년 11월 6일
I have 1 dimension of feature using this. like 1x3400, 1x5000, 1x3200, these are my data.
The sequence length will be 1 in this case right?
I have tried this and it shows an pattern in the training with very bad validation accuracy.,
Dheeraj Singh
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 CenterFile 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!

Translated by