Plot Decision boundary and Support vectors in SVM

I did SVM with Cubic kernel for a particular dataset using classification learner app in MATLAB. But I did not get decision boundary and support vectors. How can I get those? Any suggestions?

Réponses (1)

Jalaj Gambhir
Jalaj Gambhir le 31 Juil 2020

0 votes

Hi,
You can export the model from the Classification Learner App, you will get a ClassificationSVM model. This object can be used to retrieve the required information.
Hope this helps!

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by