How to define error weights in Neural Network?
Show older comments
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)
Accepted Answer
More Answers (1)
Greg Heath
on 28 Nov 2015
Edited: Greg Heath
on 28 Nov 2015
1 vote
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
1 Comment
Anderson
on 28 Nov 2015
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!