What values should I put in my targets whenever they're "don't care" values?
古いコメントを表示
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!
採用された回答
その他の回答 (1 件)
Jason Ross
2012 年 10 月 31 日
0 投票
You can use the tilde (~) for this.
3 件のコメント
Greg Heath
2012 年 10 月 31 日
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
2012 年 10 月 31 日
Ahh, yes -- I see the difference. Thanks for the clarification.
renz
2012 年 10 月 31 日
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!