How to combine binary classifier's results to output multi-class classification adopting File Exchange example in Libsvm's precomputed svmtrain?
조회 수: 3 (최근 30일)
이전 댓글 표시
In File Exchange example: https://www.mathworks.com/matlabcentral/fileexchange/39352-multi-class-svm under %build model heading, author has the following line of code:
models(k) = svmtrain(TrainingSet,G1vAll);
How to use the same approach using above line of code with Libsvm's precomputed kernel? In particular, how to use it here:
model = svmtrain(TrainLabels, double(K), '-t 4');
Note that here svmtrain is a Libsvm function not to be confused with MATLAB's svmtrain function.
I have used Libsvm's precomputed kernel for binary classification using one-vs-one approach. Each one of these binary classification results give output accuracies. I will like to combine/ensemble all these accuracies to get one final output accuracy equivalent to that of multi-class classifier. For this reason, I looked for above File Exchange example which works fine for MATLAB's svmtrain function, but I am not sure how to use the same approach for LIBSVM's precomputed kernel function using their svmtrain function. Perhaps there is other way to obtain my desired result.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!