- Gaussian or Radial Basis Function (RBF) kernel, the default for one-class learning
- Linear kernel, the default for two-class learning
What is The default kernel in fitcsvm(X,Y) function?
7 次查看(过去 30 天)
显示 更早的评论
hello everyone,
i read matlab documentation of fitcsvm but i coundn't find what is the defualt value of the kernal function if i used fitcsvm(X,Y)
best regards,
0 个评论
回答(1 个)
Abhishek Gupta
2021-2-19
Hi,
As per my understanding, you want to know the default value of 'KernelFunction' in the 'fitcsvm()' function. It's as follows:-
The above information is also present in the documentation. See the table under 'KernelFunction' in 'SVM Options' section.
You can also access the 'KernelFunction' value of your model as follows: -
SVMModel = fitcsvm(x,y);
SVMModel.KernelParameters.Function
0 个评论
另请参阅
类别
在 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!