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 CenterFile 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!

Translated by