How to define error weights in Neural Network?
显示 更早的评论
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)
采纳的回答
更多回答(1 个)
Greg Heath
2015-11-28
编辑:Greg Heath
2015-11-28
1 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!