Professional Documents
Culture Documents
TEST GRAPH
CLASSIFICATION PROGRAM
>>
>>
>>
svmStruct=svmtrain(data(train,:),groups(train),'Kernel_Fu
nction','rbf','RBF_Sigma',0.5,'boxconstraint',0.03125,'show
plot',true);
func2str(svmStruct.KernelFunction)),...
'interpreter','none');
>>
classes=svmclassify(svmStruct,data(test,:),'showplot',true
); %Classify the test set using SVM.
ans =
0.9000