How to use svmclassify() for RBF Kernel Function

11 ビュー (過去 30 日間)
abu
abu 2015 年 7 月 28 日
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 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by