Pattern Recongnition Network: Class balancing

Respuestas (1)

Niraj Gadakari
Niraj Gadakari el 29 de Sept. de 2017

0 votos

You can specify the performance function in patternnet as crossentropy, and specify the performance weights to perform class balancing in Pattern Recognition Network.

3 comentarios

As far as I understand this, performance weights are not specified before the training step. But class balancing will affect the training, right?
Greg Heath
Greg Heath el 3 de Oct. de 2017
performance weights should be specified for training. greg
Can you provide instructions on or an example of how performance weights are to be specified during training? The parameter perfWeights is not a performParam as far as I see.
net = feedforwardnet(10);
net.performFcn = 'crossentropy';
net.performParam.regularization = 0.1;
net.performParam.normalization = 'none';

Iniciar sesión para comentar.

Preguntada:

el 26 de Sept. de 2017

Comentada:

el 20 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by