How to handle NaNs in neural network training data?

6 views (last 30 days)
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!

Accepted Answer

Greg Heath
Greg Heath on 17 Jul 2014
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

More Answers (1)

Nipun
Nipun on 17 Jul 2014
I will try that and report back, thank you!

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!