MATLAB: What does this error mean

Image Processing Toolbox

Error using svmclassify (line 114)
An error was encountered during classification.
MTIMES is not fully supported for integer classes. At least one input must be scalar.
To compute elementwise TIMES, use TIMES (.*) instead.
Error in svm_matr_2015 (line 101)
classim(:,NN) = svmclassify(svmStruct{NN},TestSet);

Best Answer

  • Don't ask to classify data of uint8() class. Classify double data.
    classim(:,NN) = svmclassify(svmStruct{NN},double(TestSet));
  • Related Question