Pattern Recongnition Network: Class balancing

1 次查看(过去 30 天)
Hi,
How do I consider class balancing in a patternnet similar to the following example?

回答(1 个)

Niraj Gadakari
Niraj Gadakari 2017-9-29
You can specify the performance function in patternnet as crossentropy, and specify the performance weights to perform class balancing in Pattern Recognition Network.
  3 个评论
Greg Heath
Greg Heath 2017-10-3
performance weights should be specified for training. greg
Nick Van Berckelaer
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';

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by