How to define error weights in Neural Network?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Greg Heath
2015년 12월 16일
The documentation commands
help train
doc train
yield
[NET,TR] = train(NET,X,T,Xi,Ai,EW)
Hope this helps.
Greg
댓글 수: 0
추가 답변 (1개)
Greg Heath
2015년 11월 28일
편집: Greg Heath
2015년 11월 28일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!