How to use svmclassify() for RBF Kernel Function
2 次查看(过去 30 天)
显示 更早的评论
I am using the svmtrain() and svmclassify() functions available in statistics toolbox in Matlab R2014a. When no kernel is specified, both functions perform satisfactorily.
When I apply RBF Kernel Function in SVMTRAIN() it draws correct diagram.
svmstruct = svmtrain(xdata, group,'ShowPlot',true, ...
'Kernel_Function', 'rbf', 'RBF_Sigma', .25)
species = svmclassify(svmStruct,Xnew,'ShowPlot',true);
When I give this model to SVMCLASSIFY(), following error is encountered:
Error: File: svmStruct.m Line: 1 Column: 148
The input character is not valid in MATLAB
statements or expressions.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!