What does this error mean?
2 views (last 30 days)
Show older comments
Nada Kadhim
on 8 Jun 2015
Commented: Nada Kadhim
on 9 Jun 2015
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);
0 Comments
Accepted Answer
Walter Roberson
on 8 Jun 2015
Don't ask to classify data of uint8() class. Classify double data.
classim(:,NN) = svmclassify(svmStruct{NN},double(TestSet));
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!