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?

Answers (1)

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

Asked:

on 23 Jul 2020

Answered:

on 31 Jul 2020

Community Treasure Hunt

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

Start Hunting!