Finding SVM hyperplane equation for 2nd order polynomial
Afficher commentaires plus anciens
Hello, I was using the Support Vector Machine model calculation for a 2nd order hyperplane to separate two classes:
SVMmodel = fitcsvm(predictors,response, ...
'KernelFunction', 'polynomial', ...
'PolynomialOrder', 2, ...
'KernelScale', kernelscale, ...
'BoxConstraint', boxconstraint, ...
'Standardize', true, ...
'ClassNames',[1; 2]);
But the resulting function has the Beta parameters (that indicate the hyperplane equation) completely empty.
How can I find the equation then for the 2nd order hyperplane, or have the function provide me with the beta values?
Is this a bug?
This is what the resulting struct looks like:

Thanks a lot.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!