Plot Decision boundary and Support vectors in SVM

2 views (last 30 days)
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?

Answers (1)

Jalaj Gambhir
Jalaj Gambhir on 31 Jul 2020
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!

Products

Community Treasure Hunt

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

Start Hunting!