What values should I put in my targets whenever they're "don't care" values?
Show older comments
Good day!
I have to train a feedforward net: 6-5-6 I-H-O topology, tansig and logsig activation functions, binary values as targets.
When the value of the SIXTH target is 1, the first five values matter.
However, when the value of the SIXTH target is 0, the first five values are "DON'T CARE" values, or insignificant.
Example: 101111, 100001, 001101, 00000 0, 11111 0, 01110 0
What values should I put in these "don't care" values? Nan? 0's? 1's? Or it wouldn't matter any way? I want to remove the effect of these values in the weight adjustments during training and I'm not sure how to do that in Matlab.
How does the network process inputs with Nan values (I disabled the 'fixunknowns' proccessParam) ?
Thank you!
Accepted Answer
More Answers (1)
Jason Ross
on 31 Oct 2012
0 votes
You can use the tilde (~) for this.
3 Comments
Greg Heath
on 31 Oct 2012
As I understand it, that ignores certain input matrices.
I think the goal here is to ignore certain columns in those matrices.
I would just search for the 6th zero in the target matrix and remove that I/O pair from training.
Can you give some indication of what the outputs are supposed to represent and why some are to be ignored?
Jason Ross
on 31 Oct 2012
Ahh, yes -- I see the difference. Thanks for the clarification.
renz
on 31 Oct 2012
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!