Output probabilities of binary support vector machine classifier

2 visualizaciones (últimos 30 días)
Jack
Jack el 7 de Mayo de 2014
Editada: Jack el 10 de Mayo de 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.

Respuestas (0)

Categorías

Más información sobre Get Started with Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by