Pattern Recongnition Network: Class balancing
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
How do I consider class balancing in a patternnet similar to the following example?
댓글 수: 0
답변 (1개)
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
Nick Van Berckelaer
2018년 8월 20일
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';
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!