Patternnet for multi-dimensional classification

조회 수: 2 (최근 30일)
Leonardo Campos
Leonardo Campos 2018년 5월 13일
댓글: Leonardo Campos 2018년 5월 14일
Hello,
I'm trying to develop a neural network for classification of 2 non mutually exclusive outputs, based on 1 input.
Using the standard parameters for the patternnet, I had in the 2 outputs numbers between 0 and 1, summing up to 1. It looked like it was working as they were mutually exclusive, even thought I had in my training matrix cases with both outputs in state 1.
I changed the output transfer function to logsig and removed the default { -1, 1} mapminmax output transformation (after reading this in another topic), but with this I had a very poor training performance...
Any comments would be very appreciated! Thanks.

채택된 답변

Greg Heath
Greg Heath 2018년 5월 14일
The training target should have nonnegative entries that sum to 1 and can be interpreted as prior probabilities.
0 and 1 are only used if the classes are mutually exclusive.
The output target should also have nonnegative entries that sum to 1 (e.g., via SOFTMAX) and can be interpreted as posterior probabilities.
Hope this helps.
Thank you for formally accepting my answer
Greg
  댓글 수: 3
Greg Heath
Greg Heath 2018년 5월 14일
편집: Greg Heath 2018년 5월 14일
ERROR:
TARGETS AND OUTPUTS SHOULD BE NONNEGATIVE UNIT SUM COLUMNS!
1. Input targets with the correct format. Your targets above are NOT CORRECTLY FORMATTED!
2. Use the softmax output function
Hope this helps.
Greg
Leonardo Campos
Leonardo Campos 2018년 5월 14일
Thanks, Greg. I'll try this out!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by