필터 지우기
필터 지우기

how to transform output SVM into probability?

조회 수: 1 (최근 30일)
Sahar abdalah
Sahar abdalah 2015년 5월 26일
답변: Ilya 2015년 5월 27일
I worked on the problem of handwritten recognition images. For this, I use support vector machines as a classifier . the matrix score shows an example of the scores returned by svm for 5 samples. the number of classes is also 5. I want to transform this matrix into probabilities.
score=[ 0,2590 -0,6033 -1,1350 -1,2347 -0,9776
-1,4727 -0,2136 -0,9649 0,1480 -1,4761
-0,9637 -0,8662 0,0674 -1,0051 -1,1293
-2,1230 -0,8805 -0,9808 -0,0520 -0,0836
-1,6976 -1,1578 -0,9205 -1,1101 1,0796]
Please, I need help, there is any suggestion how to transform the output of this svm into probabilities? and if possible any implementation in matlab.
I await your answers and thank you in advance

답변 (1개)

Ilya
Ilya 2015년 5월 27일
If you have the Statistics and Machine Learning Toolbox in a sufficiently recent MATLAB release, use the fitcecoc function and pass 'FitPosterior' as true.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by