How to define error weights in Neural Network?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Anderson
le 27 Nov 2015
Réponse apportée : Greg Heath
le 16 Déc 2015
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 commentaires
Réponse acceptée
Greg Heath
le 16 Déc 2015
The documentation commands
help train
doc train
yield
[NET,TR] = train(NET,X,T,Xi,Ai,EW)
Hope this helps.
Greg
0 commentaires
Plus de réponses (1)
Greg Heath
le 28 Nov 2015
Modifié(e) : Greg Heath
le 28 Nov 2015
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
Voir également
Catégories
En savoir plus sur Image Data Workflows dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!