How to define error weights in Neural Network?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to minimize a mean squared weighted deviation in a neural network. The weights are different for each sample.
How can I specify this?
Is it perform(net,t,y,ew)?
ew = [a b c d ...] (weight for each sample)
0 件のコメント
採用された回答
Greg Heath
2015 年 12 月 16 日
The documentation commands
help train
doc train
yield
[NET,TR] = train(NET,X,T,Xi,Ai,EW)
Hope this helps.
Greg
0 件のコメント
その他の回答 (1 件)
Greg Heath
2015 年 11 月 28 日
編集済み: Greg Heath
2015 年 11 月 28 日
Yes.
However, I would scale the data so that the maximum weight is unity.
Hope this helps.
Thank you for formally accepting my answer
Greg
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!