What values should I put in my targets whenever they're "don't care" values?
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Jason Ross
am 31 Okt. 2012
0 Stimmen
You can use the tilde (~) for this.
3 Kommentare
Greg Heath
am 31 Okt. 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
am 31 Okt. 2012
Ahh, yes -- I see the difference. Thanks for the clarification.
renz
am 31 Okt. 2012
Kategorien
Mehr zu Interpolation of 2-D Selections in 3-D Grids finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!