Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to solve the error "some observation could not be classified" in using multi svm?
1 次查看(过去 30 天)
显示 更早的评论
Here,the error lines
% code
Error using svmclassify (line 156)
Some observations in TEST could not be classified. This is probably caused by NaN values in the data. Logical
response can't contain missing values. You can convert the logical response into NOMINAL or double.
Error in multisvm (line 29)
classes = svmclassify(svmStruct,tst);
Error in Main>pushbutton7_Callback (line 382)
result = multisvm(Features_Four,labels,FeatureVector);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in Main (line 42)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)Main('pushbutton7_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!