How to use svmclassify() for RBF Kernel Function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!