Doubt about svmtrain and svmclassify function in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
load fisheriris
xdata = meas(51:end,3:4);
group = species(51:end);
svmStruct = svmtrain(xdata,group,'ShowPlot',true);
Group_svm=svmclassify(svmStruct,xdata)
Considering the hyperplane shown in figure, plot shows that 5 data are misclassified (2 'versicolor' and 3 'virginica') but 'Group_svm' shows 6 data are misclassified (3 'versicolor' and 3 'virginica'). Can anyone help me understand what am I missing?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Pulsed Waveforms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!