How to apply svmpredict in matlab using libsvm?

3 ビュー (過去 30 日間)
poonam mhetre
poonam mhetre 2015 年 7 月 24 日
回答済み: lã quang 2019 年 5 月 30 日
I am using Libsvm(3.17) software with MATLAB interface to classify my data which consist of 3 classes. i used code for traning , model = svmtrain(trainLabel, trainData, ' –s 0 –t 3 -c 1'); and for classification i used [predict_label, accuracy, dec_values] = svmpredict( testLabel,testData, model); but it is not working. I got error undefined function 'svmpredict' for input arguments of type 'struct'. So how to apply svmpredict for classification using Libsvm in matlab2012.?

回答 (1 件)

lã quang
lã quang 2019 年 5 月 30 日
probably because you have not installed libsvm library, for more information click here

カテゴリ

Help Center および File ExchangeStatistics 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