How to define error weights in Neural Network?

4 visualizaciones (últimos 30 días)
Anderson
Anderson el 27 de Nov. de 2015
Respondida: Greg Heath el 16 de Dic. de 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)

Respuesta aceptada

Greg Heath
Greg Heath el 16 de Dic. de 2015
The documentation commands
help train
doc train
yield
[NET,TR] = train(NET,X,T,Xi,Ai,EW)
Hope this helps.
Greg

Más respuestas (1)

Greg Heath
Greg Heath el 28 de Nov. de 2015
Editada: Greg Heath el 28 de Nov. de 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
  1 comentario
Anderson
Anderson el 28 de Nov. de 2015
Hi Greg,
When I do perform(net,t,y,ew), the training process does not consider the weights. How can I include the weights in the training?
If I scale the weights (wide range interval), it will not loose information?

Iniciar sesión para comentar.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by