MATLAB: How to handle NaNs in neural network training data

Deep Learning Toolboxnanneural networkstraining 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!

Best Answer

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
Related Question