How can I use fitcsvm and pass parameters to a custom kernel?
Show older comments
How can I use fitcsvm and pass parameters to a custom kernel?
I currently use svmtrain and svmclassify with custom kernels that take parameters. However, I need to use fitcsvm for some of the new functionality it offers.
The fitcsvm example with a custom kernel hard codes the parameter, rather than passing it. This is insufficient for my requirements.
KernelParameters is a read-only structure that is output from fitcsvm, it is not an input.
The only parameter that can be passed into a kernel, is PolynomialOrder, which is only allowed for the polynomial kernel (otherwise fitcsvm returns an error).
Accepted Answer
More Answers (0)
Categories
Find more on Univariate Discrete Distributions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!