フィルターのクリア

error using ovr for multi class svm

5 ビュー (過去 30 日間)
Fateme Jalali
Fateme Jalali 2016 年 8 月 15 日
編集済み: Walter Roberson 2016 年 8 月 15 日
Hello,I am using libsvm to classify data into 60 classes.size of my train matrix is 360*200.360 is the number of observstion and 200 is the number of features. I use libsvm from here: https://www.researchgate.net/post/How_can_I_use_Libsvm_in_matlab_for_multi-class_SVM. I recieve this error:
Index exceeds matrix dimensions.
Error in OVR (line 48)
trainData = data(trainIndex,:);
Error in sample (line 99)
[predictedLabel, decisValueWinner, totalAccuracy, confusionMatrix, order] = OVR(label,
ndata, runCVIndex, Ncv_classif, optionClassif);
can any one help me solve this problem.

回答 (0 件)

カテゴリ

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