What values should I put in my targets whenever they're "don't care" values?

5 ビュー (過去 30 日間)
renz
renz 2012 年 10 月 31 日
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!

採用された回答

Greg Heath
Greg Heath 2012 年 10 月 31 日
Make no changes to the net.
Just check outputs for round(y(6,j)) == 0 and act accordingly.
Hope this helps.
Thank you for formally accepting my answer.
Greg
  1 件のコメント
renz
renz 2012 年 11 月 1 日
I'm really sorry but I still couldn't grasp why it wouldn't matter.
Example: if my DONT CARE values are '11111', i.e. 111110, instead of '00000' or other values, shoudn't those affect the weight adjustments for those values, which are important if it is a success situation?
I want to remove the effects of those first five values whenever it's a fail situation.
Thanks a lot..

サインインしてコメントする。

その他の回答 (1 件)

Jason Ross
Jason Ross 2012 年 10 月 31 日
  3 件のコメント
Jason Ross
Jason Ross 2012 年 10 月 31 日
Ahh, yes -- I see the difference. Thanks for the clarification.
renz
renz 2012 年 10 月 31 日
The sixth binary target indicates a success(1) or fail(0) situation. If a fail, the first five(which determines some value related to a success) are insignificant.
If I remove the I/O pair having the 6th binary target as zero, will the network still be trained to predict a fail situation? From my understanding, it is still necessary. I think I just need to ignore the first five binary targets, not the whole column .
Will the ~ do it?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by