Error using svmpredict on libsvm

1 回表示 (過去 30 日間)
Raúl
Raúl 2014 年 7 月 3 日
Hi all,
Once I want to predict my following vectors of values in order to get the correct label, I get the following message.
"Length of label vector does not match # of instances.\n"
I have a multiclass SVM where labels goes from 1 to 9 so 9 rows of one column (9x1). I would like to examine this vector of labels with a single vector of row and n features. Is it possible? Why should I need the same number of rows from labels and vectors of testing? Can I modify the svmpredict.c file?
Thanks in advanced.
Raúl.

回答 (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