SVM: The maximum of posterior probabilities greater than the posterior probability of the label
조회 수: 1 (최근 30일)
이전 댓글 표시
I use fitcecoc to classify data and I calculate the posterior probabilities. I expect that the posterior probability of the predicted class label will be the maximum of the probabilities, but sometimes it doesn't.
classifier = fitcecoc(x, y, 'FitPosterior',1);
[pred,~,~,posterior] = predict(classifier, test);
For example if the labels goes from 0 to 9:
predictedClassLabel = 1;
postProb = [0.0000 0.3943 0.5000 0.0000 0.1029 0.0000 0.0001 0.0001 0.0004 0.0022];
Is it normal? What is the reason of it?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!