What values should I put in my targets whenever they're "don't care" values?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (1)
Jason Ross
el 31 de Oct. de 2012
0 votos
You can use the tilde (~) for this.
3 comentarios
Greg Heath
el 31 de Oct. de 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
el 31 de Oct. de 2012
Ahh, yes -- I see the difference. Thanks for the clarification.
renz
el 31 de Oct. de 2012
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!