What does this error mean?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2015-6-8
Don't ask to classify data of uint8() class. Classify double data.
classim(:,NN) = svmclassify(svmStruct{NN},double(TestSet));
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!