Output probabilities of binary support vector machine classifier
1 回表示 (過去 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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File 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!