change the rbf in SVM
7 次查看(过去 30 天)
显示 更早的评论
Hello,
I am using the command
cl = fitcsvm(X,Y,'KernelFunction','rbf',...
'BoxConstraint',Inf,'ClassNames',[-1,1]);
in my program. How do I go about changing the 'rbf'?
0 个评论
采纳的回答
Walter Roberson
2016-10-23
Just change it to your desired value.
6 个评论
Walter Roberson
2016-10-24
Create your own RBF routine that has a sigma built in to it.
Or possibly the KernelScaling might be what is needed, but the documentation for how that all worked is long and it was not clear to me how the various aspects work together.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!