How to handle NaNs in neural network training data?

I have NaNs in my neural network training data, and I was wondering if there was any way to deal with them when training? As of now, the network refuses to train. I found the following old links that say that there is not a whole lot to do, is that still true?
Thanks in advance for any help!

 채택된 답변

Greg Heath
Greg Heath 2014년 7월 17일

0 개 추천

Do input and target NaNs match up?
Are the NaNs isolated or do they occur in batches?
If they are isolated you can look at the statistics of the diff function between NaNs
I am not experienced with this. However, I would try to interpolate the missing values. I would think this is better than replacing with average values.
First, however, why don't you experiment with a small data set to see how the processing function "fixunknowns' works
Hope this helps.
Thank you for formally accepting my answer
Greg

추가 답변 (1개)

Nipun
Nipun 2014년 7월 17일

0 개 추천

I will try that and report back, thank you!

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2014년 7월 15일

답변:

2014년 7월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by