Output probabilities of binary support vector machine classifier

2 Ansichten (letzte 30 Tage)
Jack
Jack am 7 Mai 2014
Bearbeitet: Jack am 10 Mai 2014
Hi.
I’m using SVM for classification of my binary output problem. I want probability of belonging to every class. How can I obtain it? For instance suppose this is our structure:
X = [1 4 1 5 3 ; 4 5 4 3 1 ; 6 7 5 5 5];
%%(Every row is a sample and every column is a feature)
Y=[1 ; 0 ; 0 ; 1 ; 1];
After designing SVM model I want check an outsample data with it. For example:
Out_sample_data = [3 3 4 0 3 ; 7 5 7 1 2 ; 6 7 3 3 4];
Besides out sample data classes, I want find probability of belonging to every class. How can I do this with MATLAB R2014a ?
Thanks.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by