How can I use fitcsvm and pass parameters to a custom kernel?
Afficher commentaires plus anciens
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).
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!