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);

采纳的回答

Walter Roberson
Walter Roberson 2015-6-8
Don't ask to classify data of uint8() class. Classify double data.
classim(:,NN) = svmclassify(svmStruct{NN},double(TestSet));
  2 个评论
Nada Kadhim
Nada Kadhim 2015-6-9
Hi Walter,
Thank you very much for your help. Please, I've got another error, could you help me to solve it and understand what's going on. The error is:
FOR EACH CLASS COLLECT ABOUT 20-30 POIMNTS, BETTER IF YOU COLLECT MORE POINTS Error using checklatlon (line 26) Function GEOSHOW expected its first and second input arguments, LAT and LON, to match in size.
Error in geovecshow (line 38) checklatlon(lat, lon, 'GEOSHOW', 'LAT', 'LON', 1, 2);
Error in mapshow (line 231) h = showFcn(varargin{:});
Error in svm_matr_2015 (line 200) mapshow(resrgb,R)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by