필터 지우기
필터 지우기

What does this error mean?

조회 수: 1 (최근 30일)
Nada Kadhim
Nada Kadhim 2015년 6월 8일
댓글: Nada Kadhim 2015년 6월 9일
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일
Many thanks.
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