Output probabilities of binary support vector machine classifier

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with 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