How to use svmclassify() for RBF Kernel Function
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!